I see. Just create a new field with the sql query. Of course. Thanks.
From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of Laurențiu Nicola via gdal-dev <gdal-dev@lists.osgeo.org> Reply-To: Laurențiu Nicola <lnic...@dend.ro> Date: Thursday, February 1, 2024 at 10:14 AM To: "gdal-dev@lists.osgeo.org" <gdal-dev@lists.osgeo.org> Subject: [EXTERNAL] [BULK] Re: [gdal-dev] gdal_rasterize "burn count" feature CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC. 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<mailto: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