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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to