[gdal-dev] Building pyramids with gdaladdo

bradh at frogmouth.net bradh at frogmouth.net
Sat Feb 17 00:20:50 PST 2018


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-bounces at lists.osgeo.org] On Behalf Of Gil
Sent: Saturday, 17 February 2018 7:12 PM
To: gdal-dev at 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!

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180217/e93b8332/attachment.html>


More information about the gdal-dev mailing list