[gdal-dev] rasterize in gdal_alg.h

Pieter Kempeneers kempenep at gmail.com
Fri Oct 2 09:55:22 PDT 2020


I was using GDALRasterizeLayersBuf from gdal_alg.h from the C++ API (on
Linux, version lilbgdal-dev 2.4.0). In the documentation for the different
rasterize functions, it is stated that:

"The output raster may be of any GDAL supported datatype, though currently
internally the burning is done either as GDT_Byte or GDT_Float32. This may
be improved in the future.".

However, after running some tests, it seems to me that it should be either
GDT_Byte or GDT_Float64. Could it be an error in the documentation?

Pieter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201002/10a2b5ba/attachment.html>


More information about the gdal-dev mailing list