POST
|
That 0001730 error should be solved by copying the runtime database to the computer you are running ArcCatalog/ArcMap from. Once you run the tool, you will see your normal attachments table. You can then use a script provided by Esri to export the attachments out if you need. How To: Batch export attachments from a feature class in ArcGIS Pro I run into sync problems that seem like different problems and we just manually import the data. Hope this helps.
... View more
06-15-2020
07:48 AM
|
0
|
0
|
1172
|
POST
|
Forgot to mention. I find the IP by going to <server>/server/admin/system/webadaptors/nameofadaptor or by going to <portal>/portal/portaladmin/system/webadaptors/nameofadaptor
... View more
09-14-2018
11:33 AM
|
1
|
0
|
1131
|
POST
|
ArcGIS Server / Portal 10.4.1 I am using a federated Portal/Server site. I installed a VPN server on the machine to be able to remote in. When I restarted the server, ArcGIS Portal and Server pull the IP address from the VPN server instead of the local machine. Is there a way to manually force the web adaptor to use the local IP? I already tried going through IIS and setting the website binding IP and host name instead of using all available IPs. I disabled the VPN adaptor as well but it still pulled the IP from it. I made sure the service was off. I restarted ArcGIS Server and Portal after each. Do I need to reboot the machine instead?
... View more
09-14-2018
11:21 AM
|
0
|
2
|
1393
|
POST
|
My basic workflow is Create a toolbox in pro. Create a new script tool in the toolbox. Import my script in. Set the parameters since I am using the GetParametersAsText variables in my script. It seems random. Some tools work. Some just simply won't open in a newer or older versions of Pro. I will continue to investigate. It's possible I am using some desktop arcpy instead of going to the Pro arcpy help.
... View more
04-18-2018
02:05 PM
|
0
|
7
|
2078
|
POST
|
Is there a document somewhere that describes ArcGIS Pro version compatibility for toolboxes. I created a toolbox in Pro 2.1.2 and I can't use it in previous versions of Pro. I have also created a toolbox in an earlier release of Pro and could not use it in a later release. These are all python scripts imported into a toolbox.
... View more
04-18-2018
12:55 PM
|
0
|
11
|
4405
|
POST
|
I had to strip the extension and re-add the file path for it to work. Final script is below. # import system modules
import os
import arcpy
arcpy.env.workspace = r"C:\Locators\Test_LocatorRebuild\\"
for loc in arcpy.ListFiles("*.loc"):
locator = os.path.splitext(os.path.basename(loc))[0]
print("Rebuilding " + locator)
arcpy.RebuildAddressLocator_geocoding(arcpy.env.workspace + "\\" + locator)
... View more
12-05-2017
03:29 PM
|
1
|
1
|
676
|
POST
|
I'd like to loop through a file folder and rebuild all the locators in it. Unfortunately, I can't find anything that returns the locator name. I have been able to loop through using arcpy.ListFiles and find all *.loc files but arcpy.RebuildAddressLocator_geocoding doesn't allow you to use this because of the .loc. It says it cannot open the locator. The Esri technical article doesn't apply here because I can rebuild it fine as long as I don't include the .loc. Throws the error 000005 Could not open address locator # import system modules
import os
import arcpy
# Set environment settings
arcpy.env.workspace = "C:/Locators/Test_LocatorRebuild/"
for loc in arcpy.ListFiles("*.loc"):
print(loc)
arcpy.RebuildAddressLocator_geocoding(loc)
Anyone have any suggestions. I am currently just adding all locators into the python array and looping through them that way. It's not ideal but works for now. # import system modules
import os
import arcpy
#Set my_workspace to the folder location of the locators
my_workspace = r'C:\Locators\Test_LocatorRebuild\\'
#Set my_locators array to include the names of each locator to be rebuilt
my_locators = [my_workspace + "Streets_Test",
my_workspace + "Structures_Test"]
#Loop through the array and rebuild the address locators
for loc in my_locators:
print("Rebuilding " + loc)
arcpy.RebuildAddressLocator_geocoding(loc)
print(loc + " rebuild complete")
... View more
12-05-2017
01:30 PM
|
0
|
2
|
922
|
POST
|
Instead of doing it that way, I just manually created an MXD with the locator in it. The locator gets rebuilt then the runtime content gets created using the same MXD over and over.
... View more
06-22-2017
05:35 PM
|
1
|
0
|
293
|
POST
|
How do I programmatically add a locator to an unopened mxd? I can't find any esri pages that reference adding a locator using python. Everything just mentions adding layers to a map document using arcpy.mapping.AddLayer. Basically what I'm trying to do is script the building of a runtime locator. I have all the other pieces in place except for adding the locator to the mxd. -Steven
... View more
06-22-2017
03:29 PM
|
0
|
1
|
697
|
POST
|
I just had this same issue. To solve it I added a hosting server. It allowed me to delete the items after that.
... View more
03-01-2017
07:27 AM
|
0
|
0
|
5456
|
POST
|
Hey James, I switched jobs not too long after that post and kind of forgot about it. I don't have access to an MSAG of Street Centerline file any more. I would definitely be willing to see what I could come up with if I had some test data to work with. I'll see if I can find anything online. I'll try to get something up here in the next couple weeks. -Steven
... View more
07-28-2016
05:07 PM
|
0
|
1
|
1780
|
POST
|
Here's my script. I converted it to a toolbox. To import to a toolbox, save it as a file (example: AdvanceClip.py [make sure the .py is on the file name]) Right click a toolbox and Add Script, then set 3 parameters 1) Input GRIDs 2) Input Polygons 3) Output Directory. Set them all as workspaces. This script assumes your polygons are named exactly the same as the grid files you will be clipping. If your output directory is a folder, your file names can't be longer than 13 characters. It's best to output to a geodatabase. import arcpy
# Set the current workspace
arcpy.env.workspace = arcpy.GetParameterAsText(0) #"D:\\Test2\\Grids.gdb"
#Polygon Shapefiles Workspace
clipFeatures = arcpy.GetParameterAsText(1) #"D:\\Test2\\Shps\\"
#Output Directory
outDirectory = arcpy.GetParameterAsText(2) #"C:\\Users\\sgraf\\Documents\\ArcGISData\\Test2\\Outs.gdb\\"
# Get and print a list of GRIDs from the workspace
rasters = arcpy.ListRasters("*", "GRID")
for raster in rasters:
arcpy.AddMessage("Clipping " + raster + " with " + raster + ".shp")
desc = arcpy.Describe(clipFeatures + "\\" + raster + ".shp")
extent = desc.extent
arcpy.Clip_management(
raster, str(extent), outDirectory + "\\" + raster, clipFeatures + "\\" + raster + ".shp", "#", "ClippingGeometry", "NO_MAINTAIN_EXTENT")
-Steven
... View more
07-19-2016
05:46 AM
|
0
|
2
|
654
|
Title | Kudos | Posted |
---|---|---|
1 | 02-18-2015 12:38 PM | |
1 | 09-12-2014 08:32 AM | |
1 | 08-28-2015 09:13 AM | |
1 | 02-25-2016 03:51 PM | |
1 | 05-22-2015 02:56 PM |
Online Status |
Offline
|
Date Last Visited |
09-03-2021
11:21 AM
|