[Gdal-dev] gdal_rasterize: -i flag

Frank Warmerdam warmerdam at pobox.com
Sat Sep 8 15:32:11 EDT 2007


Jan Hartmann wrote:
> Hi folks,
> 
> Why can't I use the -i (invert) flag in gdal_rasterize?

Jan,

I'm afraid the -i flag was introduced after the 1.4 release.
Whether for good or bad the web site docs reflect the current
development version, not the stable release.

Best regards,

>  From my newly compiled version:
> 
> $ gdal_rasterize --version
> GDAL 1.4.2.0, released 2007/06/27
> 
> $ gdal_rasterize -b 1 -b 2 -b 3 -burn 0 -burn 0 -burn 0 -i  -l 
> Eijsden_sectie_a1 Eijsden_sectie_a1.shp a1.tif
> Usage: gdal_rasterize [-b band]
>        [-burn value] | [-a attribute_name] | [-3d]
>        [-l layername]* [-where expression] [-sql select_statement]
>        <src_datasource> <dst_filename
> 
> Without -i everything works OK.
> 
> 
> Jan
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 


-- 
---------------------------------------+--------------------------------------
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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list