thanks a lot

-----Original Message-----
From: Even Rouault <[email protected]> 
Sent: mercoledì 19 giugno 2019 12:26
To: [email protected]
Cc: Giorgio Ghiggini <[email protected]>
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 
> -dsco FORMAT=MBTILES
> 

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

-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.

Even

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

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to