Reputation
386
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 14
Newest
 Critic
Impact
~7k people reached

20h
comment Trouble with if/raise SyntaxError and ArcPy?
SyntaxError is an inappropriate exception type here. It is used for syntax errors in Python code. See the documentation. You should probably define a custom exception type, since you are expecting it and handling it explicitly.
Mar
10
comment Does a map service need write permissions for a file GDB?
@PolyGeo The system as built uses an ArcObjects based scheduled task running on a separate machine to periodically generate the data. When it's done, it calls a geoprocessing service on the ArcGIS server, which uses the data off the network drive to recompute class breaks in MXDs and publishes new services. So the server needs access to the data before publishing. I was also told that the republish didn't update the data when ArcGIS was allowed to copy it. I would love to rip this apart and rebuild it in some sane way, but that is not an option the managers want to consider right now.
Mar
10
revised Does a map service need write permissions for a file GDB?
added 424 characters in body
Mar
10
comment Does a map service need write permissions for a file GDB?
@PolyGeo Most certainly. Or even better to use actual databases for serving up this data. Sadly, the developers architecting the software involved chose this route, and I'm stuck with deploying it. I'll only be allowed to change it if it fails utterly.
Mar
10
revised Does a map service need write permissions for a file GDB?
added 679 characters in body
Mar
10
asked Does a map service need write permissions for a file GDB?
Mar
1
comment Is the native ArcGIS database capable of doing generalized data manipulation?
As mentioned on the other thread, then, QGIS is an excellent choice for PostGIS. It doesn't have all the absurd requirements just for connecting to the DB and pulling data out. You can just point it at a table or view and get a map.
Mar
1
comment Is the native ArcGIS database capable of doing generalized data manipulation?
If you're more comfortable with SQL, have you considered just doing this via SQL or PL/pgSQL using PostGIS's wide array of functions? Or is this something you can't automate? It's only really the things you can't automate I'd even consider a desktop tool like ArcGIS.
Feb
24
comment Get a coordinate system from raster file
Also, <geoprocessing spatial reference object object at 0x0D2CE830> is just because ESRI failed to define a good repr (the function on Python objects that is called to get a string when the object is fed into print). All it means that there is a non-None object there; it could have any data. You would have to examine the attributes of that object to learn more about its contents.
Feb
24
comment Get a coordinate system from raster file
No, that is a generic error that ESRI throws. I've seen the same in ArcMap and the same in ArcObjects. It is highly unusual in Python code that doesn't involve ESRI. (Python is generally much, much better at giving useful information in errors.) Also, IDLE is just an editor. when you run a script, the engine that runs it would just be called "Python."
Feb
8
comment Append List not working
This definitely isn't GIS specific... This is a general programming problem.
Jan
28
revised Check if feature class has at least 1 shape that overlaps raster
better worded
Jan
28
comment Check if feature class has at least 1 shape that overlaps raster
@Vince I hadn't at the time. It appears to work and be quite fast (less than 5 seconds to check a nearly worldwide feature class with around 150,000 records against about 60 rasters). My apologies for the poor question. I really should have done more research and tried more first. I was frustrated and tired at the time, and I have been fighting these sorts of problems with ArcObjects for literally a couple months.
Jan
27
asked Check if feature class has at least 1 shape that overlaps raster
Jan
21
revised Passing in complex parameters to geoprocessing tool?
deleted 5 characters in body
Jan
21
asked Passing in complex parameters to geoprocessing tool?
Jan
18
answered Spatial join versus classical join
Jan
18
comment Spatial join versus classical join
I think your answer misses the mark. You don't have to JOIN on exact matches for non-spatial JOINs either. I've written many queries of the form SELECT * FROM x JOIN y ON x.id < y.id because I was looking to compare all rows without duplicating the combinations. You can go further: SELECT * FROM x JOIN y ON x.timestamp BETWEEN y.start_timestamp AND y.end_timestamp. There are lots of ways to do non-exact JOINs that have nothing to do with spatial.
Jan
14
comment Setting “REAL” work/scratch workspace in ESRI/ERDAS etc
Apologies. I must have missed it. Maybe just make it more prominent for people who aren't paying as much attention like me?
Jan
14
comment Setting “REAL” work/scratch workspace in ESRI/ERDAS etc
Note that this global change will affect all applications that use this standard location.