[email protected] wrote:
I finally got gdal_polygonize.py and tried it and generate a shapefile. I might not use it as a solution for what I described below but I would like to use it for other purpose. My understanding is this function merge contiguous cells with the same pixel value.
Steve, That is correct.
Can I use this function and specify a range of value? Example: merge contiguous cells having a value > 16 and < 19
No, it does not support any mechanism like that. It is assumed the user would do preprocessing to turn ranges into a mask. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
