<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
Hello, </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
I am using the GDAL 2.3.1 MVT driver  to build a vector tile basemap (multiple data layers, at different zoom levels). The process takes 14 hours. However, when I do the same thing using Tippecanoe, it takes one hour and a half.</p>
<br>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
I’m not sure if I am missing some configuration to reduce the time writing with GDAL.<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
This is the command I'm using :</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
ogr2ogr -f MVT <output-folder> PG:<connection to the database> -dsco CONF=<json_conf> -dim 2</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
where <json_conf> = </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
'{</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
    "layer_1": { </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "target_name": "layer_1" , </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "description": "layer_1" , </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "minzoom": 13 , </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "maxzoom": 18 </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
    },</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
    "layer_2":{</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "target_name": "layer_2" , </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "description": "layer_2" , </p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "minzoom": 13 ,</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
        "maxzoom": 18 },</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
    <…></p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
}'</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
Any advice to optimize vector tile writing process would be helpful.</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
Thanks,</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
Maria</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%" lang="en-US">
<br>
</p>
<style type="text/css">p { margin-bottom: 0.25cm; line-height: 120%; }BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style></div>
</body>
</html>