gdal icon indicating copy to clipboard operation
gdal copied to clipboard

gdal_retile.py: resolution handling

Open DirkThalheim opened this issue 1 year ago • 1 comments

What does this PR do?

This adds an option to gdal_retile for calculating image pyramids for specific resolutions/pixel sizes. This can be used instead of specifying the number of levels. For example: gdal_retile.py -pyramidOnly -ps 4096 4096 -res 1.0,5.0,25.0 -targetDir out/pyramid input/*.tif Will create an image pyramid with

  • level 1: 1 m/pixel
  • level 2: 5 m/pixel
  • level 3: 25 m/pixel (assuming the input data uses as units meter)

What are related issues/pull requests?

Tasklist

  • [x] Make sure code is correctly formatted (cf pre-commit configuration)
  • [ ] Add test case(s)
  • [x] Add documentation
  • [ ] Updated Python API documentation (swig/include/python/docs/)
  • [ ] Review
  • [ ] Adjust for comments
  • [ ] All CI builds and checks have passed

Environment

Provide environment details, if relevant:

  • OS:
  • Compiler:

DirkThalheim avatar May 05 '24 19:05 DirkThalheim

Existings tests are broken by the changes

rouault avatar May 05 '24 20:05 rouault

The GDAL project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 28 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular link to any issues which this pull request fixes

  • that you have written unit tests where possible In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request. If there is no further activity on this pull request, it will be closed in 2 weeks.

github-actions[bot] avatar Jun 03 '24 02:06 github-actions[bot]

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 6 weeks. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the GDAL project can do to help push this PR forward please let us know how we can assist.

github-actions[bot] avatar Jun 17 '24 02:06 github-actions[bot]