Gil, to be able to properly reproduce, could you paste the output of
gdalinfo myfile.tif ? Even > 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? I > am converting to JPEG, it works well, I don't understand how I am reaching > level 18 when the original has 17. 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 254 512 > I am going to display the geopackage with a custom web viewer, that works > best when the upper level has only 1 tile. > Thanks. > > On 17 February 2018 at 10:20, > <br...@frogmouth.net<mailto:br...@frogmouth.net>> wrote: Can you show > exactly how you did the conversion and overviews, and the dimensions of the > original TIFF file. Are you trying to create tiles in JPEG or PNG? If JPEG, > possibly you need to fill your TIFF. > The part about gpkg_zoom_other is telling you that what you are asking for > can’t be done without breaking the power-of-two zoom level constraint. > What do you intend to do with your geopackage? The extensions that make > sense will depend on the consumers of the file. > Brad > From: gdal-dev> [mailto:gdal-dev-boun...@lists.osgeo.org<mailto:gdal-dev- boun...@lists.osge > o.org>] On Behalf Of Gil Sent: Saturday, 17 February 2018 7:12 PM > To: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> > Subject: [gdal-dev] Building pyramids with gdaladdo > > Hey, > > I got a gpkg file I converted from tiff using gdal_translate, it originally > has level 17 tiles. I'd like to build it's pyramids till I reach a level > with only 1 tile, I tried using gdaladdo, and when I built it with 2-256 > factors, I got a result that has level 18-11 where level 11 has two tiles. > I got two problems, I don't understand how I got level 18 after building > pyramids upwards? And I'd like to reach one tile, so I tried using 512, > however I get an error asking me to use gpkg_zoom_other, I don't understand > why, and I am not sure how to use it? The error i'm getting is: > Warning 1: Use of overview factor 512 causes gpkg_zoom_other extension to be > needed ERROR 1: Could not find dataset corresponding to ov factor 512 > > Would appreciate some help routing me in the right direction. > > Thanks! > > > > -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev