3,644 reputation
921
bio website esri.com
location
age
visits member for 4 years, 4 months
seen 34 mins ago

Geoprocessing team @ Esri. Tools, Models, Python, Services, Server, GPX and KML.


5h
comment Script runs in ArcMap Python window but not in stand alone Python win or IDLE
AddJoin works on layers. Your "Group_Out" variable is pointing to a layer name and that layer doesn't exist when you run this outside of ArcMap. You'll need to create layers. See the 2nd code snippet for AddJoin here and notice how it does MakeFeatureLayer first: pro.arcgis.com/en/pro-app/tool-reference/data-management/…
1d
revised Automate testing of web app based on ArcGIS JS API
missed a return in the code.
1d
answered Automate testing of web app based on ArcGIS JS API
Apr
2
answered Drag and Drop Custom Tools into Modelbuilder using ArcGIS Pro 1.0
Apr
2
revised Drag and Drop Custom Tools into Modelbuilder using ArcGIS Pro 1.0
edited tags
Mar
31
revised Avoiding Python version confusion when using IDLE with ArcGIS Pro and rest of ArcGIS for Desktop?
added 89 characters in body
Mar
31
answered Avoiding Python version confusion when using IDLE with ArcGIS Pro and rest of ArcGIS for Desktop?
Mar
27
comment How do I enumerate the messages in arcpy.GetMessages()?
Why not use arcpy.GetMessageCount and arcpy.GetMessage and get them 1 by 1 by index? resources.arcgis.com/en/help/main/10.1/index.html#/GetMessage/…
Mar
26
awarded  python
Mar
25
comment ArcGIS JS API: parse GP Service messages
You dont even need to go that far. Just pass your CSV, TXT, PDF? output into the SetParameter. The GP Framework will handle sending the URL to the JavaScript client. This code uses the output param name 'Output_Text_File': gp.getResultData(jobInfo.jobId,"Output_Text_File", downloadFile); and gets the value from it. (which .valee.url that the framework supplied)
Mar
25
comment ArcGIS JS API: parse GP Service messages
Cool, if you understand parsing, I'll point this out. The GP Framework returns a URL to a file to download (http ://yourserver). The tool itself, through execution can only provide you the location on disk that the file gets saved to. You (tool author) would have to have knowledge of server virtual dirs and server paths to return that path in a message. On top of that, you (tool author) are now responsible for making sure if 2 people run the service at the same time, that files arent trying to overwrite each other and return wrong paths to the consumer.
Mar
25
answered ArcGIS JS API: parse GP Service messages
Mar
24
comment Referencing layer in Table of Contents using ArcPy?
What exactly is it you want to do? Are you doing arcpy.Mapping commands or do you want to run GP tools against layers in the ToC?
Mar
24
comment How to add 3D buildings in tourism map with ArcGIS?
That feature looks like its a multipatch, which should show up nicely in 3D. Open up your data in ArcGlobe or ArcScene and move the camera position to get your desired view point.
Mar
23
comment SaveToLayerFile failed - “value is not a layer”
You can save a lyr file that references a map service - its just a reference. You can also call SAVE right off the lyr object. You dont need to use the tool. But I'd suspect its the path you're using (unescaped backslashes) in the output as Erica points out.
Mar
18
revised Handling user password input in ArcPy scripts?
added more relevant info
Mar
17
answered GPRecordSet in python toolBox
Mar
17
comment Map To KML does not work with mxds that contain service layer
I added a map service from an AGS connection I made to here: sampleserver6.arcgisonline.com/arcgis/services , saved the MXD and ran the tool.
Mar
17
answered Map To KML does not work with mxds that contain service layer
Mar
17
comment GPRecordSet in python toolBox
Using a GPFeatureSet or GPRecordSet as output is pretty uncommon. Can you explain the output of your tool (or will it be a service?) Typically you'd just use FeatureClass or Table as an output.