|
POST
|
Hello Jason Yes, you can (for example) use the service's REST endpoint from within a Python script. Here is an example request from a tool I'm working on that batch geocodes recordset objects (what the GP service is expecting as an input parameter): response = urllib2.urlopen(serviceEndpoint + "/submitJob?&f=json","&Record_Set="+b).read() "b" is a RecordSet created earlier in the script. JSON responses are easy to handle with Python, here is how I catch my GP service result: response = urllib2.urlopen(u).read() fDict = json.loads(response)["value"]["features"] #Yields a dictionary of JSON encoded features "u" is a URL to each job result I loop through. The details of your sent and received objects will be specific to your GP service, but easily determined from the REST endpoint. Regards
... View more
04-01-2011
07:07 AM
|
0
|
0
|
306
|
|
POST
|
ConCAVE hull Joe! 🙂 At some point we should make a system tool for this, the dental LIDAR community will be ecstatic (all one of them). Cheers
... View more
03-28-2011
07:24 AM
|
0
|
0
|
742
|
|
POST
|
Hi Please also see this tool: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=E51354B2-1422-2418-A0F6-8E4F8975BDAD The comment re. the tool getting some circles wrong appears to be a bug in the Buffer function, this is still being investigated. Regards
... View more
03-25-2011
06:42 AM
|
0
|
0
|
487
|
|
POST
|
Hi Brad Can you supply sample data and/or a technical description of it? Regards
... View more
03-23-2011
07:17 AM
|
0
|
0
|
4211
|
|
POST
|
Hi Please download this technical paper: http://resources.arcgis.com/gallery/file/geocoding/details?entryID=51EE55F8-1422-2418-7F8B-FD82DE958878 Regards
... View more
03-21-2011
07:11 AM
|
0
|
0
|
1445
|
|
POST
|
Sally Please try the Data Interoperability extension to read your GPX data. You may obtain an evaluation license if you do not already have the extension. Regards
... View more
03-18-2011
07:11 AM
|
0
|
0
|
2512
|
|
POST
|
Hi Please try this tool: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=E780BB87-1422-2418-7FD8-A1A0D8167AAF Regards
... View more
03-02-2011
05:36 AM
|
0
|
1
|
663
|
|
POST
|
Hello Jun If you implement a process which maintains the copy of the address table in your GIS database (say by nightly update), and you have a locator in the same workspace as the table, then you can re-geocode automatically on update by using the option shown in the attached dialog (also available in the Geocode Addresses geoprocessing tool) to create a dynamic feature class related to the table. Regards
... View more
02-11-2011
06:33 AM
|
0
|
0
|
1556
|
|
POST
|
Hi Jun The input to the Geocode Addresses geoprocessing tool must be a table object, not a table view such as Make Query Table outputs. Add a step to write the view into a workspace and geocode from that. Regards
... View more
01-27-2011
06:51 AM
|
0
|
0
|
906
|
|
POST
|
All Please also see: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=AA23C5C6-1422-2418-8811-1365253A756A There is a model variable (not exposed as a parameter) that will let you play with the number of nearest neighbours for the hull boundary, controlling smoothness. Regards
... View more
01-21-2011
09:58 AM
|
0
|
0
|
1516
|
|
POST
|
Hi Only ESRI applications or SDK's will understand the CPG file, you may have to handle the Unicode encoding yourself in another environment. Regards
... View more
01-20-2011
11:54 AM
|
0
|
0
|
1030
|
|
POST
|
Hi If your DBF file is part of a shapefile, then you will need a codepage file to correctly interpret any Unicode strings. If your shapefile root name is "xyz" then create a text file xyz.cpg with the contents "UTF-8" (not quoted) and hopefully that will work for you. Regards
... View more
01-19-2011
05:55 AM
|
0
|
0
|
1030
|
|
POST
|
Hi You can do this with a model using iterators. I attach an example working with contour features. Regards
... View more
01-14-2011
06:07 AM
|
0
|
0
|
2997
|
|
POST
|
Hi John The Python snippet below (requires ArcInfo 10) finds parcels that have neighbouring parcels greater than a certain area in size. I'm not sure from your post your exact requirement for selecting parcels, but you should be able to monkey with the logic to get there. Regards import arcpy arcpy.env.overwriteOutput = True parcels = r"C:\Temp\Parcels.shp" lines = r"C:\Temp\Lines.shp" arcpy.PolygonToLine_management(parcels,lines,"IDENTIFY_NEIGHBORS") bigParcelList = [p.fid for p in arcpy.SearchCursor(parcels,"shape_area > 12000")] hasBigNeighbourSet = set([l.right_fid for l in arcpy.SearchCursor(lines) if l.left_fid in bigParcelList] + \ [l.left_fid for l in arcpy.SearchCursor(lines) if l.right_fid in bigParcelList]) hasBigNeighbourSet.remove(-1) #any parcels on the edge of the world bigneighbours = r"C:\Temp\BigNeighbours.shp" expression = "fid in " + repr(list(hasBigNeighbourSet)).replace("[","(").replace("]",")") arcpy.FeatureClassToFeatureClass_conversion(parcels, r"C:\Temp", "BigNeighbours.shp", expression)
... View more
01-11-2011
08:56 AM
|
0
|
0
|
683
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-06-2025 05:36 AM | |
| 1 | 11-03-2025 05:14 AM | |
| 3 | 11-04-2025 08:41 AM | |
| 1 | 10-23-2025 01:24 PM | |
| 2 | 10-22-2025 09:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|