[gdal-dev] driver MVT, no tiles generated
Maria Ibarra
Maria.Ibarra at ign.fr
Fri Jun 8 05:26:06 PDT 2018
Hello,
I tried to use the recently released MVT (Mapbox Vector Tiles) driver of GDAL 2.3 to write vector tiles in pbf format, but I get an output folder with nothing but a metadata.json file. No tile is generated. I tried different source formats, and different creation options, but I cannot manage to make it work.
I tried exactly the same command shown as an example in the driver documentation (http://www.gdal.org/drv_mvt.html) with a valid non empty .gpkg file :
ogr2ogr -f MVT ./batiment source.gpkg -dsco MAXZOOM=10
But I get the same result: no error message, and an empty folder with a metadata.json
This is the content of the metadata.json file created :
{
"name":"batiment",
"description":"",
"version":2,
"minzoom":0,
"maxzoom":5,
"center":"2.4607491,48.7742768,0",
"bounds":"2.3087879,48.6877737,2.6127104,48.8607799",
"type":"overlay",
"format":"pbf",
"json":"{\n \"vector_layers\":[\n ],\n \"tilestats\":{\n \"layerCount\":0,\n \"layers\":[\n ]\n }\n}"
}
What am I missing ? The driver seems to be enabled since I get no error message and a folder with a metadata file is created. Do I need some extra configurations ?
Thanks,
MarĂa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180608/3054fad2/attachment.html>
More information about the gdal-dev
mailing list