126 reputation
11
bio website nygeog.com
location New York, United States
age
visits member for 2 years, 2 months
seen 2 days ago

A NYC Geographer/GIS Analyst at CU; Data Science Cert. student at IDSE - python, stata, geoprocessing, music, effects pedals, & data, SUNYGeneseo/Buffalo alum


Oct
23
comment Intersect Shapefiles using Shapely
Also, in general, when using ogr should all my shapefiles be in the same folder? (Sorry for all these questions, I'm quickly trying to move from arcpy to FOSS4G)
Oct
23
comment Intersect Shapefiles using Shapely
Oh - Thanks - I was just updating the question!
Oct
23
accepted Intersect Shapefiles using Shapely
Oct
23
revised Intersect Shapefiles using Shapely
ogr answer was edited!
Oct
23
awarded  Autobiographer
Oct
23
comment Intersect Shapefiles using Shapely
Ahh, and I could probably put this in a python script by using os.system(theGDALCommandAbove)
Oct
23
comment Intersect Shapefiles using Shapely
Nice (first time I cd'd to data, but reread and it worked). Output seems the same as the above but did get this message: Warning 1: organizePolygons() received an unexpected geometry. Either a polygon with interior rings, or a polygon with less than 4 points, or a non-Polygon geometry. Return arguments as a collection. Warning 1: Geometry of polygon of fid 2016 cannot be translated to Simple Geometry. All polygons will be contained in a multi polygon. --- Should I worry about that message?
Oct
23
comment Intersect Shapefiles using Shapely
I tried this command and got the following error: FAILURE: Unable to open datasource `data' with the following drivers. Should I modify this code to read 'ESRI Shapefile' where 'data' is listed?
Oct
23
comment Intersect Shapefiles using Shapely
This answer is awesome. All I had to do was install RTree. toblerity.org/rtree/install.html
Oct
23
awarded  Curious
Oct
22
asked Intersect Shapefiles using Shapely
Oct
13
comment ArcGIS model builder - make query layer with query parameters from generated values
You might want to try and tackle this in Python... I'm not really totally sure what you are trying to do. Maybe you could describe your data in a little more detail or in something like pseudo code.
Sep
11
awarded  Nice Question
Apr
5
awarded  Popular Question
Jun
6
awarded  Commentator
Jun
6
comment Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
Oh, so all of that stuff should come before the loop? Thanks. I have been using the comments above and doing the AddField and Calc fields not in the same loop and that helps for adding and calcing many fields. Also, running it as a python file outside of ArcGIS seems to help from errors that may or may not be schema lock related.
Jun
6
accepted Python coding question, looping through feature classes, AddField, CalculateField, then errors (might be schema lock)
Jun
5
comment How can I export or query all hospitals from Open Street Map?
Thanks both of these answers were very helpful.
Jun
5
accepted How can I export or query all hospitals from Open Street Map?
Jun
5
asked How can I export or query all hospitals from Open Street Map?