“Failed to Retrieve User 557058:0a4da8ef-2b69-4bc7-96db-59a6b046f967” created an issue |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.15.1 |
Assignee: |
Unassigned |
Attachments: |
Screenshot 2019-06-24 at 18.01.35.png, Screenshot 2019-06-24 at 18.01.46.png, relief_with_overviews.gpkg, relief_with_overviews.tif |
Components: |
geopackage |
Created: |
24/Jun/19 6:06 PM |
Environment: |
macOS, OpenJDK 8, GDAL 2.4.0 |
Priority: |
Medium |
Reporter: |
“Failed to Retrieve User 557058:0a4da8ef-2b69-4bc7-96db-59a6b046f967” |
GDAL created Geopackage raster files do not render correctly if the have overviews. See attachements. There are large squares.
Create Geopackage from TIFF:
gdal_translate --config OGR_SQLITE_SYNCHRONOUS OFF -co APPEND_SUBDATASET=YES -co RASTER_TABLE=relief_with_overviews -co TILE_FORMAT=PNG_JPEG -of GPKG relief_with_overviews.tif relief_with_overviews.gpkg
Add overviews:
gdaladdo --config OGR_SQLITE_SYNCHRONOUS OFF -oo TABLE=relief_with_overviews -r average relief_with_overviews.gpkg 2 4 8 16
relief_with_overviews.gpkg relief_with_overviews.tif
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100105-sha1:87838dc) |