9,623 reputation
11847
bio website twitter.com/om_henners
location Melbourne, Australia
age 30
visits member for 4 years, 11 months
seen 40 mins ago

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


40m
reviewed Approve How to erase outside in MapBasic?
Jul
2
comment image segmentation of RGB image by K means clustering in python
@Aaron Thanks! I've posted a slightly longer example including reading data using rasterio.
Jul
1
answered image segmentation of RGB image by K means clustering in python
Jul
1
comment How to read GeoCSV with OGR?
Cheers @Luke - glad you enjoyed it!
Jun
29
answered How to read GeoCSV with OGR?
Jun
3
awarded  Nice Answer
Jun
2
answered Read raster at request size through Python
May
15
answered How to efficiently use a Postgres DB with Python
May
14
revised Using Python to select random location from shapefile?
delete the cursor once you're done; deleted 2 characters in body
May
14
comment Using Python to select random location from shapefile?
@MichaelMiles-Stimson enumerate works for any iterable object happily. As for breaking, it would work if you knew in advance what index you were after, but the Reservoir search requires a loop over the entire stream (importantly only one loop though, which is why it's used when you don't know how long the stream is going to be, and when you can't index into the stream). Also, updated the code to delete the cursor once you're done - thanks!
May
14
answered Using Python to select random location from shapefile?
Apr
27
comment Want cell linear regression values for a netCDF or multi-band raster
While this is data that we commonly use in GIS, this might also be worth posting on CrossValidated (http://stats.stackexchange.com/) as well
Apr
27
answered Want cell linear regression values for a netCDF or multi-band raster
Apr
26
answered Convert coordinates to differnt Spatial Reference System in Python
Apr
26
comment Remote sensing for Nepal Earthquake
Have you taken a look at the work being done by the Humanitarian OpenStreetMap Team (HOT) in response to the earthquake?
Apr
21
comment Plot points on map using Fiona and/or Shapely
@user50802 What is your setup like currently? If you're on windows for example Christoph Gohlke has put up a huge number of Python Pacakges for Windows which might help you out.
Apr
21
comment Evapotranspiration in Modis
Do you have access to GDAL? In which case check out gis.stackexchange.com/questions/58688/… and gis.stackexchange.com/questions/141776/… depending on your data
Apr
21
answered Plot points on map using Fiona and/or Shapely
Apr
17
revised creating a random gdal raster with random predefined values
Couple of notes on the code
Apr
17
revised creating a random gdal raster with random predefined values
Fix the code formatting by removing unnecessary spacing