Re: [gdal-dev] How to use gdal_polygonize.py

2012-10-23 Thread Ves Nikos
Hey Paul, I think [ gdal_contour ] is more close to what you think you need: here's a quick turorial I just found on it: http://woostuff.wordpress.com/2011/09/27/generating-contours-using-gdal-via-shell-or-qgis/ Kind regards, Ves Nikos Στις 22/10/2012 1:38 μμ, ο/η Paul Meems έγραψε: Hi

Re: [gdal-dev] How to use gdal_polygonize.py

2012-10-22 Thread Paul Meems
Thanks Ari, Travis mailed me the same info. I understand better now. I'm using the data from http://www.fao.org/geonetwork/srv/en/metadata.show?id=37139&currTab=distributionnow to test and it is much more clear. Here in The Netherlands we mostly have land classification already in vector, that's

Re: [gdal-dev] How to use gdal_polygonize.py

2012-10-22 Thread Ari Jolma
On 10/22/2012 12:38 PM, Paul Meems wrote: Am I not understanding the purpose of gdal_polygonize? Can somebody tell me some real-life use cases when to use this? Land cover classification rasters can have large areas of the same (integer) value. I've used the GDAL polygonize code for such rast

[gdal-dev] How to use gdal_polygonize.py

2012-10-22 Thread Paul Meems
Hi all, I'm investigating gdal_polygonize.py I'm thinking of using it to convert a DEM-file to a polygon shapefile. I did a quick test using gdal_polygonize.py logan.tif -f "ESRI Shapefile" logan_poly.shp and got a shapefile. But this shapefile is huge, it created a polygon for every pixel value.