8,950 reputation
11846
bio website twitter.com/om_henners
location Melbourne, Australia
age 30
visits member for 4 years, 8 months
seen 6 hours ago

GIS Analyst living in Melbourne, teaching Python on the side with Python Charmers around Australia.


1d
answered dissolve polygons of GeoJSON with gdal/ogr
2d
comment Explaining ArcGIS Raster to Polygon output?
Also, what parameters are you running the tool with?
2d
comment Explaining ArcGIS Raster to Polygon output?
I'm guessing you're using ArcGIS, but which version?
2d
answered Install gdal in python on Windows7
Mar
25
comment Join GeoJson with additional info files
What kind of system are you using the GeoJSON in? QGIS, ArcMap, or something else again?
Mar
24
reviewed Approve climate tag wiki
Mar
24
comment How to measure distance using shapely
@user14696 I've also added a quick code snippet which will hopefully help with the reading of the data from fiona and calculating the distances.
Mar
24
revised How to measure distance using shapely
added 515 characters in body
Mar
24
comment How to measure distance using shapely
@user14696 Sorry, from your code it looked like you were using the shapely.geometry.shape method to cast the city_point dict (which contains a geometry element) to a shapely geometry as city_items
Mar
24
comment How to measure distance using shapely
It should just be between the two shapely geometries, i.e. distance_between_pts = capital.distance(city_items) where both capital and city_items are shapely geometry objects. Ignore the coords attribute :)
Mar
24
comment How to measure distance using shapely
@user14696 Updated my answer to reference city_items instead of city_point. Basically you want to use distance between two shapely geometries. And no, since there's only a single point in your MultiPoint geometry it should work fine for distance calculations.
Mar
24
revised How to measure distance using shapely
Fix to reference city_items correctly
Mar
24
answered How to measure distance using shapely
Mar
23
comment Loop exits after 100 count while creating domains using python
Have you tried printing exceptions where you're setting tableIndex = -1 ?
Mar
23
comment How to calculate point(or XY) for Start point of Slope and Endpoint of Slope along the Section line on DTM
@Fezter Cheers :)
Mar
21
answered The truth value of a raster is ambiguous. Invalid use of raster with Boolean operator or function.
Mar
20
answered Updating the Z value within an XYZ.txt file
Mar
17
answered How to calculate point(or XY) for Start point of Slope and Endpoint of Slope along the Section line on DTM
Mar
17
answered How to merge multiple overlapping lines using python?
Mar
16
answered converting csv to dbf