Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warped VRT: instantiate overview bands in a lazy fashion for faster execution #10833

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Sep 18, 2024

This benefits use cases with a 'large' number of overview levels, and where creation of the GDALWarpOperation for each one is slow (might involve PROJ operations)

On a warped VRT using a source GeoTIFF with 7 overview levels, gdal_translate warped_vrt.vrt out.tif -outsize 1024 0 goes from 1.6 sec to 0.9 s.

@rouault rouault added this to the 3.10.0 milestone Sep 18, 2024
@coveralls
Copy link
Collaborator

coveralls commented Sep 18, 2024

Coverage Status

coverage: 69.373% (+0.003%) from 69.37%
when pulling c558e98 on rouault:deferred_warped_vrt_overview
into 9d7f03e on OSGeo:master.

…xecution

This benefits use cases with a 'large' number of overview levels, and
where creation of the GDALWarpOperation for each one is slow (might
involve PROJ operations)

On a warped VRT using a source GeoTIFF with 7 overview levels,
``gdal_translate warped_vrt_.vrt out.tif -outsize 1024 0`` goes from
1.6 sec to 0.9 s.
@rouault rouault merged commit 725739a into OSGeo:master Sep 27, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants