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
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
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