[gdal-dev] Fwd: Converting Tiff to GeoPackage with Zoom Levels

Gil gilpeleg at live.com
Sat Apr 28 22:09:52 PDT 2018


Hey Even,

I tried using gdal2.0.2 (deployed with QGIS 3.0) and got this result.
The original Tiff is converted to level 17 of GPKG, and then after the gdaladdo I have level 18 through 10, where 10 has 2 tiles.

This is the output of gdalinfo:
Driver: GTiff/GeoTIFF
Files: C:\myfile.tif
Size is 19968, 29952
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
Origin = (***, ***)
Pixel Size = (0.000004444518203,-0.000004444518203)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
*** Coordinates data removed ***
Band 1 Block=19968x1 Type=Byte, ColorInterp=Red
Band 2 Block=19968x1 Type=Byte, ColorInterp=Green
Band 3 Block=19968x1 Type=Byte, ColorInterp=Blue

Thanks!
Gil

On 28 April 2018 at 20:59, Even Rouault <even.rouault at spatialys.com<mailto:even.rouault at spatialys.com>> wrote:

Please paste the output of gdalinfo C:\myfile.tif



Which gdal version do you use ? What you report sounds a bit like

https://trac.osgeo.org/gdal/ticket/6932



Even



--

Spatialys - Geospatial professional services

http://www.spatialys.com

_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev

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


More information about the gdal-dev mailing list