I have a raster (.tif), which has an accompanying shapefile attribute table (.dbf). Basically, every value in the raster is a key into the attribute table, which has a number of fields (there is a 'Value' field which is the 'key' corresponding to the raster values, then a number of attributes).
I want to derive a new raster based on a specific field in the attribute table. I.e. for each pixel in the raster, find the corresponding row in the attribute table, get the value of the desired field and replace the pixel value with this new value. What (if anything) does GDAL provide to enable me to do this efficiently? Is there an efficient method to look up rows (which in the OGR model I suppose correspond to features) based on the value of a field? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Transform-raster-based-on-values-in-shapefile-attribute-table-tp5224659.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
