[gdal-dev] Fwd: Converting Tiff to GeoPackage with Zoom Levels
Gil
gilpeleg at live.com
Sat Apr 28 10:52:38 PDT 2018
Hello,
I have a tiff file which I am converting to GPKG (with jpeg) using gdal_translate and then build pyramids using gdal_addo, I'd like to get to a zoom level with only 1 tile (a recommendation from my displaying client - it's important).
However no matter how many levels I specify in gdal_Addo I don't get the level with 512.
My tiff file is 19968x29952 which I understand when calculated to the 512 level goes un-even, is there anything I can do to go that extra level?
The gpkg I get after gdal_translate comes with level 17, but after using gdal_addo I start from level 18, why can it be?
Conversion is done like this:
gdal_translate.exe -co TILE_FORMAT=JPEG -co TILING_SCHEME=InspireCRS84Quad -co ZOOM_LEVEL_STRATEGY=LOWER -of GPKG C:\myfile.tif C:\myfile.gpkg
gdaladdo -oo TILE_FORMAT=JPEG C:\myfile.gpkg 2 4 8 16 32 64 128 256 512
Thanks!
Gil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180428/28cba8e6/attachment.html>
More information about the gdal-dev
mailing list