938 reputation
39
bio website
location Mankato, MN
age 27
visits member for 2 years, 2 months
seen yesterday

1d
comment Converting personal geodatabase .mdb file to .gdb
You should be able to do this without any scripting. Just create a new file geodatabase, and by using ArcCatalog you can select all the feature data sets/feature classes in the personal gdb and copy and paste them into the new file gdb.
Nov
18
comment Why is the result of a raster calculation integer when it should be decimal?
It would help if you posted your Raster Calculator expression.
Nov
14
comment Measuring distance between two points?
if you have ArcInfo, you can use the Near tool. Otherwise, some basic geometry with the coordinates works too.
Nov
14
comment findAndReplaceWorkspacePaths does not work for sde files so as to change datasouce (geodatabase)
Hmm, maybe try using the path r"Database Connections\DB1.sde". This is an alias for the exact same path you are using, but maybe some stuff under the hood will validate it properly.
Nov
13
comment Is there a Python script to identify which database features are in Map/Feature Services?
I don't have any examples using xml.tree readily available, but I do know that module is pretty straightforward to use. I did edit my response to add some code for how to unzip a file. Honestly, I think the easiest way would be to just loop through the mxd that was used to create the service if you know where those are.
Nov
13
revised Is there a Python script to identify which database features are in Map/Feature Services?
added 355 characters in body
Nov
13
answered Is there a Python script to identify which database features are in Map/Feature Services?
Nov
13
answered findAndReplaceWorkspacePaths does not work for sde files so as to change datasouce (geodatabase)
Nov
11
answered Highlighting features selected by Python script in ArcMap and ArcGIS Viewer for Flex?
Nov
7
comment Problem writing list of features to text file
One thing that would also be more efficient would be to just write a new txt file instead of opening and appending the file at each iteration. You could use a with statement with the 'w' mode.
Nov
7
answered Problem writing list of features to text file
Nov
4
revised Why does the python editor “Idle” reference two Python installations?
deleted 326 characters in body
Nov
4
answered Why does the python editor “Idle” reference two Python installations?
Oct
31
revised Make a polygon out of a polygon's hole?
deleted 805 characters in body
Oct
31
answered Make a polygon out of a polygon's hole?
Oct
31
comment set extent for jpeg programmatically
That almost worked...Unfortunately, the returned images from the REST API do not seem to match the extent that is returned with the image. I tried to shift by the upper left corner (xMin, yMax) and it is off by about 35 meters on the y-axis.
Oct
31
awarded  Curious
Oct
30
comment set extent for jpeg programmatically
Yes, the coordinates come in at 0,0.
Oct
30
comment set extent for jpeg programmatically
Right, I am able to set the projection and I even tried to run the convert raster to other format tool with an output extent environment set to the extent shown in the picture above. No dice. I should also add that these services do not support rendering/raster functions so I cannot use the Clip shown here: resources.arcgis.com/en/help/arcgis-rest-api/index.html#//…
Oct
30
asked set extent for jpeg programmatically