[gdal-dev] gdal_rasterize usage problems
Markus Neteler
neteler at osgeo.org
Wed Nov 12 14:26:38 EST 2008
Roger,
On Mon, Nov 10, 2008 at 10:43 PM, Roger André <randre at gmail.com> wrote:
> Andrew,
>
> I believe your syntax is incorrect. Assuming that you are trying to exclude
> water from your image, it should be something like this:
> % gdal_rasterize -b 1 -b 2 -b 3 -i -burn 0 -burn 0 -burn 0 -l gshhs_land
> gshhs_land.shp warped.tif
I used
gdal_rasterize -i -b 1 -b 2 -b 3 -burn 255 -burn 255 -burn 255 -l
ammprv03 ammprv03.shp ortho.tif
and it didn't have an effect on the raster map (posted to
http://trac.osgeo.org/gdal/ticket/1458
).
I observe that the -i position is different. If that matters, please add
a related warning into http://www.gdal.org/gdal_rasterize.html .
thanks,
Markus
More information about the gdal-dev
mailing list