[gdal-dev] GDAL Sieve Script

Craig Miller craig.miller at spatialminds.com
Tue Oct 20 10:47:27 EDT 2009


At this point it sounds like you are getting squarely into raster
geoprocessing.  Unless you need to do it standalone for some reason, you
might consider using GRASS or QGis with the GRASS extensions as GRASS is a
fantastic raster analysis package.

 

Craig

 

 

From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Seth G
Sent: Tuesday, October 20, 2009 2:06 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] GDAL Sieve Script

 

Hi, 

I have been looking at the http://www.gdal.org/gdal_sieve.html script, and
it almost meets my requirements. 
However rather than replacing small pixel areas with neighbouring values,
I'd like to set all these pixels to a "no data" or 0 value. 

I guess I could use the script as it is, and then run a raster analysis to
find the difference between the two grids to create a mask, but just
wondering if there was another way. 
I need to remove areas of land that are not economically viable to plant
bioenergy crops as they are too small. 

Thanks for any help. 

Seth 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091020/02be798e/attachment-0001.html


More information about the gdal-dev mailing list