4,766 reputation
827
bio website
location St Louis, MO
age
visits member for 4 years
seen 1 hour ago

Jun
17
awarded  Yearling
Apr
14
comment ArcGIS 10.2.1 projection Issue - Everything shifted west 50 m
What specific projection is the imagery in? What specific projection are you editing in? Seems unlikely that the imagery is in unprojected NAD83.
Mar
23
awarded  Nice Answer
Feb
24
revised Why is my cursor empty?
Slight fix to code block
Feb
24
answered Why is my cursor empty?
Feb
24
comment Why is my cursor empty?
Yeah, that doesn't make sense, it should give you everything with no selection too. Maybe there was a selection applied that was empty (I think that is technically possible). I added the selection part as an answer below too so people don't have to dig through comments to find that.
Feb
24
comment Why is my cursor empty?
More ideas: Do you have a selection currently applied to testlayer? Do you have a definition query on testlayer?
Feb
24
comment Why is my cursor empty?
Just realized you are using 10.0, so no arcpy.da
Feb
24
comment Why is my cursor empty?
try for row in testcursor:. Yesterday, you may have already had a global variable rows that was a cursor and unknowingly been referencing that. Also, consider changing this to use arcpy.da and to use a with statement. At least in what you have written, you also have no assignment of layerlist. Is layerlist initially assigned an empty list? Is survey still printing in the loop?
Dec
17
awarded  Critic
Oct
16
comment integrating arcpy with other packages
Yes, the non-standard numpy will break things every time. If you are trying to use the latest matplotlib, rasterio or GDAL, you are going to have problems.
Oct
16
comment integrating arcpy with other packages
pip-Win is not really an installer. It looks like one, but you just execute the installer as an application each time you use it. So I just keep a copy on my desktop for when I need it.
Oct
16
answered integrating arcpy with other packages
Sep
30
awarded  Explainer
Sep
16
comment Arcpy Export To PDF exporting same PDF instead of changing
It probably won't fix it, but if you have not already try arcpy.RefreshTOC() before arcpy.RefreshActiveView() too.
Sep
16
comment Arcpy Export To PDF exporting same PDF instead of changing
Don't think I can replicate your workspace for testing, but are you calling arcpy.RefreshActiveView() at any point to redraw the map after you make all your layer changes?
Aug
11
awarded  Caucus
Jul
20
comment gdal ImportError in python on Windows
Old question, but it popped up on my feed today. I always use the binary install: lfd.uci.edu/~gohlke/pythonlibs/#gdal
Jul
13
comment Free ServerContext has failed because the Wait Timeout Interval has elapsed
Also realize that the web server itself, eg IIS, will have a timeout on requests. If I remember right, this is normally 60 seconds. A 100+ layer service is probably failing to render in 60 seconds and resulting in a web server timeout.
Jun
17
awarded  Yearling