Changes between Initial Version and Version 2 of Ticket #6339


Ignore:
Timestamp:
Mar 14, 2016, 9:28:30 AM (8 years ago)
Author:
Augustus
Comment:

I was able to reproduce this issue with larger images. Steps to reproduce this issue

Data is Attached byte4800.tif

gdal_translate -outsize 9999 10118 byte4800.tif byteError.tif
gdal_translate -of GPKG byteError.tif Test.gpkg -co TILING_SCHEME=GoogleMapsCompatible

Error

ERROR 1: sqlite3_exec(UPDATE partial_tiles SET zoom_level = -21, partial_flag =
0 WHERE zoom_level = 20 AND partial_flag != 0) failed: columns zoom_level, tile_
column, tile_row are not unique
ERROR 1: sqlite3_exec(UPDATE partial_tiles SET zoom_level = -21, partial_flag =
0 WHERE zoom_level = 20 AND partial_flag != 0) failed: database disk image is ma
lformed

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6339

    • Property Status newclosed
    • Property Resolutionduplicate
  • Ticket #6339 – Description

    initial v2  
    33
    44{{{
    5 gdal_translate -of GPKG byte4800.tif gpkg.gpkg -co TILING_SCHEME=GoogleMapsCompatible
     5gdal_translate -of GPKG byteError.tif gpkg.gpkg -co TILING_SCHEME=GoogleMapsCompatible
    66gdaladdo gpkg.gpkg 2 4 8 16 32
    77}}}
    88
    9 You can reproduce this issue by re-sampling the byte.tif to 4800x4800 rows and columns and then manipulating the resultant tif file using the above commands
     9You can reproduce this issue by re-sampling the byte.tif to 9999 rows and columns and then manipulating the resultant tif file using the above commands
    1010[https://github.com/OSGeo/gdal/blob/trunk/autotest/gdrivers/data/byte.tif]
    1111I have attached the intermediate files.