Reputation
3,826
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
4 18
Impact
~45k people reached

Feb
5
comment Is there a python-module to convert data to a Shapefile (w/o GIS)?
Pyshp is an open source pure Python module that allows you to generate shapefiles without any dependencies. I have used this quite a bit and it works well.
Feb
1
comment AttributeError: 'Layer' object has no attribute 'listLayers'
ListLayers is a function, not a class method. You have to pass in a MapDocument into ListLayers.
Jan
29
comment Adding hover pop-up notes to map Arcmap desktop 10.3
Yes, you can hit the "Expression" button to build your own expression there. You can add line breaks wherever you want.
Jan
26
comment Adding hover pop-up notes to map Arcmap desktop 10.3
I don't think so from an ArcMap perspective, though I think there are ways to show tips on PDF's. I am not sure how that works though.
Jan
20
comment Using PyScripter with ArcPy: “import error, no module named _base”
What does your sys.path say from PyScripter? Seems like there is something messed up in your Python environment.
Jan
18
comment Python and ArcObjects- Stand Alone open MXD
Thanks! That is way too easy, I was not aware of the MapDocument class from esriCarto.
Jan
14
comment Arguments error when running LineDensity scripts in arcpy
Does the raster have/need an attribute table for this tool? If you do not want to use a field name, maybe doing this for your variable is better: populationField = "". The way you have it scripted is it will be looking for a field called NONE.
Jan
14
comment How to use layers from trusted servers in ArcGIS Online?
Yes, you are correct. I assumed you meant token-based authentication. I haven't done any testing with AGOL for basic auth/web-tier so unfortunately, I don't have any insight for that.
Jan
13
comment Copying new data into shared Geodatabase in ArcGIS for Server?
Did you register the File GDB directly? If so, I did not know you could do that. I thought it had to be an enterprise database in order to do that. However, we have a few services that use File Geodatabases and in that case we have registered the folder that contains them and the services published without copying the data to the server.
Jan
12
comment Copying new data into shared Geodatabase in ArcGIS for Server?
Have you verified the geodatabase folder location is registered with the data store? You can also register your enterprise GDB directly to the datastore.
Jan
11
comment Error 000358 using SelectLayerByAttribut_management using escape characters
Can you post the entire code for your class that you're forming? It's hard to debug when we can't see the full code. Have you tried this: '"ATTRIBUTE" = '.format(self.DataQuery) You were also adding a space to the field name ATTRIBUTE. It may also help to add some print statements so you can actually see what the query is.
Jan
11
comment Unable to delete folder with shutil.rmtree() with ArcPy?
I second what Vince says as an OS error. However, with that being said, it looks like you have schema locks in your script as indicated by your error message where it says The process cannot access the file because it is being used by another process is the key to the problem. Be sure to clean up your locks and shutil.rmtree() should work. If not, you could also try arcpy.management.Delete()
Jan
8
comment Arcpy doesn't recognize spatialite tables after editing with QGIS
You might need to rebuild the spatial indices or a repair geometry?
Jan
6
comment Selecting rows in a layer using arcpy.SearchCursor
You are selecting records and then immediately removing those records from selection? You should just be able to use the NEW_SELECTION with each iteration and omit the next selection where you're calling REMOVE_FROM_SELECTION.
Jan
6
comment Python toolbox tool objects do not remember instance variables between function calls?
Thanks for posting, this is good to know. Is this documented somewhere that it is only called once? Or is there any documentation on why there so many instances being created?
Jan
5
comment What data type is excel in Arcgis Add Script wizard?
I think it would be a table/table view or you could use the File type and set a filter to xls;xlsx
Jan
4
comment Create Right of Way from Street Centerline file
What if you union or intersect the output of the single ROW polygon with the centerline buffers? Or, a spatial join of your road centerlines to the single ROW polygon may also get you close (using the ONE TO MANY option and keep only features that intersect). I think there's going to be a good deal of clean up either way.
Jan
4
comment Create Right of Way from Street Centerline file
A better starting point might be to erase all the parcels from the county boundary. Have you seen what that looks like yet? In theory, that should yield all ROW.
Jan
4
comment How do I get layers' IDs using python?
What version of ArcGIS are you using?
Dec
31
comment Swapping Lat and Lon coordinates of shapefile?
Indeed, once you get past the initial frustrations of learning the basics, you'll find it rewarding and it definitely boosts productivity/efficiency. Good luck! :)