[gdal-dev] Confusion regarding GeoPDF composition.xml units

2020-09-21 Thread Nyall Dawson
Hi list, While attempting to fix https://github.com/qgis/QGIS/issues/33465 I'm running into some confusion about the meaning of pdfCoordinateType values in GeoPDF composition.xml files. The example composition.xml from https://gdal.org/drivers/raster/pdf.html includes: 72 10

Re: [gdal-dev] How to return an empty MVT tile with gdal.VectorTranslate in C++

2020-09-21 Thread Even Rouault
> How to get an empty mvt tile file with zero features? or How to create an > empty mvt file with no features using gdal? I don't think you can. As it is written, the driver will avoid generating empty tiles. You'll have to create them with other tools, or add that capability to the driver.

[gdal-dev] How to return an empty MVT tile with gdal.VectorTranslate in C++

2020-09-21 Thread MRRAJESH
Developers, I am using below in C++ GDALVectorTranslate to create MVT files in vsibuf. In this case, the input file in having zero features, hence it is not creating tiles in memory. dst = (GDALDataset *)GDALVectorTranslate(vsibuf, NULL, 1, , opt, NULL); Whenever we accessing for an mvt