Opened 15 years ago

Last modified 14 years ago

#1722 assigned bug

Pyramids are not build if tifw contains rotations

Reported by: gislab Owned by: ersts
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Rasters Version: Trunk
Keywords: pyramids Cc: warmerdam
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

If tfw file contains rotations terms, pyramids are not build with the message: "Not supported on this type of raster".

Example attached, see lines 2 and 3, not equal to 0. Replicated in 1.0.2 and 1.2-trunk

Attachments (1)

file2.rar (125.6 KB ) - added by gislab 15 years ago.

Download all attachments as: .zip

Change History (8)

by gislab, 15 years ago

Attachment: file2.rar added

comment:1 by gislab, 15 years ago

Component: Build/InstallRasters
Keywords: pyramids added
Priority: critical: causes crash or data corruptionminor: annoyance or enhancement

comment:2 by pcav, 15 years ago

Milestone: Version 1.2.0

comment:3 by ersts, 15 years ago

Cc: warmerdam added
Owner: changed from nobody to ersts
Status: newassigned

This is because the image is warped when it is loaded and considered a 'warped virtual dataset'. The image being drawn is not the original base image, though we do still have a pointer to that base image.

It seems like pyramids could be build for the based image, and then reloaded and rewarped again, but I need to check with the GDAL folks to see if pyramids are supported at all with virtual datasets.

comment:4 by gislab, 15 years ago

I think the pyramids should be built for the base raster.

comment:5 by warmerdam, 15 years ago

Overviews can actually be built on vrt warped images *however* that doesn't work in the QGIS case where the warped VRT is actually just temporary - not saved to disk.

We could also build overviews on the underlying image *however* at this time the GDAL warp api underlying warped VRTs does not take advantage of overviews.

in reply to:  5 comment:6 by ersts, 15 years ago

Platform: WindowsAll

Replying to warmerdam:

We could also build overviews on the underlying image *however* at this time the GDAL warp api underlying warped VRTs does not take advantage of overviews.

Thanks Frank, that was the nugget I was looking for. So for now I guess we will just keep the ticket open and watch the following ticket

http://trac.osgeo.org/gdal/ticket/2076

comment:7 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0
Note: See TracTickets for help on using tickets.