[gdal-dev] rasterize in gdal_alg.h

Even Rouault even.rouault at spatialys.com
Sat Oct 3 05:07:13 PDT 2020


On vendredi 2 octobre 2020 18:55:22 CEST Pieter Kempeneers wrote:
> 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?

Yes was indeed Byte / Float64. This limitation has been removed in GDAL 3.0. I've just 
removed that obsolete mention.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201003/5efb1495/attachment.html>


More information about the gdal-dev mailing list