Reputation
4,786
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
8 29
Newest
 Nice Answer
Impact
~216k people reached

Jul
24
awarded  Nice Answer
Jul
15
awarded  Nice Answer
Jul
10
comment How do I specify a spatial reference when using da.InsertCursor?
I'm wondering why you want to specify a spatial reference. You would probably be better off testing and reprojecting the geometry of the incoming rows before you do the insert.
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