<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style><style></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p style="margin-bottom: 0cm; line-height: 100%">Hello,</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US">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.</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US">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 :</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<pre class="western" lang="en-US">ogr2ogr -f MVT ./batiment source.gpkg -dsco MAXZOOM=10</pre>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US">But I get the same result: no error message, and an empty folder with a metadata.json
<br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US">This is the content of the metadata.json file created :</p>
<p style="margin-bottom: 0cm; line-height: 100%" lang="en-US"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><font color="#000000"><font face="Tahoma"><font style="font-size: 10pt" size="2">{<br>
"name":"</font></font></font><font color="#000000"><font face="Tahoma"><font style="font-size: 10pt" size="2">batiment</font></font></font><font color="#000000"><font face="Tahoma"><font style="font-size: 10pt" size="2">",<br>
"description":"",<br>
"version":2,<br>
"minzoom":0,<br>
"maxzoom":5,<br>
"center":"2.4607491,48.7742768,0",<br>
"bounds":"2.3087879,48.6877737,2.6127104,48.8607799",<br>
"type":"overlay",<br>
"format":"pbf",<br>
"json":"{\n \"vector_layers\":[\n ],\n \"tilestats\":{\n \"layerCount\":0,\n \"layers\":[\n ]\n }\n}"<br>
}</font></font></font> </p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">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 ?</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Thanks, </p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Marķa</p>
</div>
</body>
</html>