[gdal-dev] [EXTERNAL] [BULK] Re: gdal_rasterize "burn count" feature

Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] jesse.r.meyer at nasa.gov
Thu Feb 1 07:18:36 PST 2024


I see.  Just create a new field with the sql query.  Of course.

Thanks.

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Laurențiu Nicola via gdal-dev <gdal-dev at lists.osgeo.org>
Reply-To: Laurențiu Nicola <lnicola at dend.ro>
Date: Thursday, February 1, 2024 at 10:14 AM
To: "gdal-dev at lists.osgeo.org" <gdal-dev at 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 at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240201/416ebec0/attachment-0001.htm>


More information about the gdal-dev mailing list