[gdal-dev] RE clip intersected

Frank Warmerdam warmerdam at pobox.com
Fri Jul 17 16:25:25 EDT 2009


Steve.Toutant at inspq.qc.ca 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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list