Hi, You can use -sql and -a to burn a field of the query.
Laurentiu On Thu, Feb 1, 2024, at 17:11, Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] via gdal-dev wrote: > Hi, > > We’d like to use gdal_rasterize to burn in a value that is a simple numerical > function of the feature geometry. Currently we pre-process the feature > database, store the value into a new field, and then burn that in. It works, > but it would be handy to be able to express this directly to gdal_rasterize. > I see sql can be leveraged to select which features to burn in, but nothing > regarding programmable burn values. > > Jesse > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev