Re: [gdal-dev] Save MVT tiles to a local MBTiles file

2021-03-15 Thread Even Rouault
Le 15/03/2021 à 14:55, Next Stop a écrit : Can ogr2ogr be used to save MVT tiles from an HTTP server to a local MBTiles file? I just need to fetch tiles at given bbox and zoom levels and insert them to MBTiles DB without any format conversion or schema introspection. Seems like writing to mbtil

[gdal-dev] Save MVT tiles to a local MBTiles file

2021-03-15 Thread Next Stop
Can ogr2ogr be used to save MVT tiles from an HTTP server to a local MBTiles file? I just need to fetch tiles at given bbox and zoom levels and insert them to MBTiles DB without any format conversion or schema introspection. Seems like writing to mbtiles db with ogr is possible. Can I use og2og

Re: [gdal-dev] gdal_retile: output isn't georeferenced?

2021-03-15 Thread Even Rouault
Is the "main" or "image" file geo-referenced ? It may be that the .tif.msk mask files are assumed to be the same as the matching .tif file. yes, on creation of a .msk or .ovr, GDAL currently doesn't write any SRS or geotransform information into them. It could be appropriate however to do s

Re: [gdal-dev] ZSTD compression level 17 smaller than 18+?

2021-03-15 Thread Daniel Evans
I don’t think it’s particularly unusual for any compression algorithm to have this sort of behaviour once it’s “maxed out”. Running the in-built zstd benchmarks from the command line without any custom parameters – so entirely separate of how GDAL uses it – it shows your observed behaviour to a

Re: [gdal-dev] gdal_retile: output isn't georeferenced?

2021-03-15 Thread Andrew C Aitchison
On Fri, 12 Mar 2021, mhw-at-yg wrote: Is it expected that `gdal_retile -of cog -ps 4096 4096 -t myoutdir infile.tif` creates files that are not georeferenced? Using Gdal from QGIS 3.16 on Win10. ~~~ $ gdalinfo --version GDAL 3.1.4, released 2020/10/20 $ gdalinfo u:.\SPOT6_321_BeaverRiver_08Se