Reputation
4,587
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
9 24
Newest
 python
Impact
~117k people reached

1d
comment arcpy.mapping.MapDocument(“CURRENT”) fails when running python script in background as tool
Technically speaking, it's a separate process, not a separate thread.
1d
comment Copy shapefile to SDE feature class using arcpy
try CopyFeatures
1d
comment Map Package or Relative Paths for ArcMap MXD export
I realize my comments above may not provide a "solution", hopefully it provides at least a starting point to help you chose a direction. You'll probably end up writing some script to help merge multiple MXDs OR create multiple packages. Based on what you want today and what you already have, theres no simple way to get to the end.
1d
comment How do you enable HTTP GET for submitJob for a GPService?
You say "submit a job", so the task is ASYNC? Theres no check box to enable GET | POST. Both are viable options.404 is not found, I dont know why you'd get that when GETing vs POSTing. Maybe your input parameters are extremely long and you need to be POSTing?
Aug
24
comment Access ArcGIS Server directories in geoprocessing service
By simply having the output of the GP Service be of type "file", the service and the server framework return the URL to the client for them to download. You dont need to do any hacks inside the script and return a string path.
Aug
19
comment Export Feature Class with attachments to Google Earth
possible duplicate of Error Exporting ArcMap Feature to KML, Retain Attached Photo
Aug
14
comment GPX to line doesn't work properly in ArcMap?
QGIS must add in a trackID as there isn't any in the GPX file. Curious, each of those segments, are they in order? OID=0 is first, and next record, OID=1 is the segment immediately after?
Aug
14
comment GPX to line doesn't work properly in ArcMap?
The problem with that GPX is its lack of attributes. Inside it has a bunch of segments, which is fine. However theres nothing that defines a segment from another segment with an attribute. So the GPX to Features tool just converts the items, as they find them (which isn't in a continuous order). So the points inside arcgis dont follow the order you'd expect, thus the Points to Line tool creates the lines from one segment to the next. You'll either need to hack the GPX or the points before converting to lines.
Aug
11
comment ArcGIS server 10.3 fails to add machines to the cluster “Unable to access the config store”
Looks like you didn't setup your config store pointing to a UNC path. Machine 2 can't resolve "c:\arcgisserver.....". The config store and directories in the initial setup need to be UNC \\gisserver\arcgisserver\...."
Aug
10
comment Geoprocessing a mapservice?
No blog, but slides and data for this available here arcgis.com/home/item.html?id=49dce11d6038426f881ed28568311c75
Aug
10
comment “df.zoom To Selected Features ()” is not near enough
do your df.ZoomToSelectedFeatures(), then do the df.scale.
Aug
10
comment “df.zoom To Selected Features ()” is not near enough
Errr... you want to zoom in more? Try dividing by a little bit.
Aug
10
comment “df.zoom To Selected Features ()” is not near enough
Have you tried multiplying your scale by a little bit? df.scale *= 1.1
Aug
6
comment From .shp to .kml to .shp Without Losing Attributes
Hey - I take personal offence to your answer. If you're going to copy and paste my comments and put them in quotes, certainty DO NOT add your own commentary about buying an extension.
Jul
31
comment How to save Result File from command line arcpy?
@EokN. answer is correct to save a result to a file. But the only way to get a result is to have it run as a tool. You wont/cant see a py script execution in the results window. You could wrap your script as a script tool and execute it from inside ArcGIS. That would give you a result
Jul
10
comment Is there a way to position parameters in a Python script tool dialog box?
Style sheet can't position elements like that
Jul
10
comment Geoprocessing on REST service
Give this a read blogs.esri.com/esri/arcgis/2013/10/10/…
Jul
9
comment How can I reproduce the ArcMap “Select Layer By Attribute” tool as a Web Service Geoprocessing Tool?
So again, I go back to the Query Widget as it provides a "pretty interface" for constructing a SQL Query.
Jul
9
comment How can I reproduce the ArcMap “Select Layer By Attribute” tool as a Web Service Geoprocessing Tool?
Once you get SLBA published as a GP Service, you need to make the nice interface as a web app developer to use it. The UI you see where you get to pick and design a SQL query like in ArcMap doesn't just happen out of the box. The SQL Expression SLBA requires gets turned into a simple string when published. Pretty sure the WAB has no logic to automatically pretty up that string into a SQL clause, thus leaving it on you.
Jul
8
comment Fail to publish GP as a service
What version of AGS? Based on this: Data: \,, my best guess is the SDE data. There is no where else in your script with a " \ ". However its strange it is just the slash and not the full path to the dataset.