Reputation
9,821
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 19 48
Impact
~440k people reached

2d
awarded  Famous Question
Aug
12
awarded  Nice Answer
Jul
27
comment Python version issue
Rather than copying a screenshot of the script can you insert the text of your script in the question (and use code formatting - Ctrl + K)
Jul
23
awarded  Yearling
Jul
22
accepted Will ArcGIS Desktop support latest Python 2.x or Python 3.x versions?
Jul
22
reviewed Approve arcpy MakeFeatureLayer - one workspace question, one output question
Jul
7
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