[gdal-dev] ogr2ogr MVT use of CONF parameter

Giorgio Ghiggini gghiggini at gec-it.com
Wed Jun 19 05:41:09 PDT 2019

thanks a lot

-----Original Message-----
From: Even Rouault <even.rouault at spatialys.com> 
Sent: mercoledì 19 giugno 2019 12:26
To: gdal-dev at lists.osgeo.org
Cc: Giorgio Ghiggini <gghiggini at gec-it.com>
Subject: Re: [gdal-dev] ogr2ogr MVT use of CONF parameter

> ogr2ogr -F MVT test6.mbtiles 8-0.0-55.0.sqlite -dsco CONF=conf.json 

Actually currently, the CONF option only accepts a JSon string, not a
So currently, you should provide inline, with proper escaping.
Something like that (but not completely sure of escaping rules in windows

-dsco CONF="{ \"poly\": { \"target_name\": \"mypoly\" } }"

That said, I've just added support for accepting a filename as well (in
master and backported to 3.0 branch), since that is completely reasonable as
an expectation.


Spatialys - Geospatial professional services http://www.spatialys.com

More information about the gdal-dev mailing list