List,<br><br>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.<br><br>My command:<br>gdal_rasterize -a FID -l FECS FECS.shp flattenedRaster.tif<br>
<br>I get:<br>Failed to find field FID on layer FECS, skipping.<br><br>And the program aborts.<br><br>Any idea how to use a FID as rasterization attribute?<br><br>Regards,<br>Peter<br>