Re: [gdal-dev] gdal_rasterize use SHP FID as burn attribute

2010-02-10 Thread Peter Rankor
Thanks you guys. The SQL statement did the trick. 2010/2/9 Frank Warmerdam > Peter Rankor wrote: > >> List, >> >> I need to rasterize a polygon layer coming from a SHP file. However, the >> values in the outputraster need to be the FID of the corresponding polygon. >> >> My command: >> gdal_ras

Re: [gdal-dev] gdal_rasterize use SHP FID as burn attribute

2010-02-08 Thread Frank Warmerdam
Peter Rankor wrote: List, I need to rasterize a polygon layer coming from a SHP file. However, the values in the outputraster need to be the FID of the corresponding polygon. My command: gdal_rasterize -a FID -l FECS FECS.shp flattenedRaster.tif Peter, Could you try: gdal_rasterize -a FID

[gdal-dev] gdal_rasterize use SHP FID as burn attribute

2010-02-08 Thread Peter Rankor
List, I need to rasterize a polygon layer coming from a SHP file. However, the values in the outputraster need to be the FID of the corresponding polygon. My command: gdal_rasterize -a FID -l FECS FECS.shp flattenedRaster.tif I get: Failed to find field FID on layer FECS, skipping. And the prog