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

fix(lambda-tiler): ensure wmts limits extent to the bounding box of the tile matrix extent BM-1012 #3235

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

blacha
Copy link
Member

@blacha blacha commented Apr 14, 2024

Motivation

As we recently changed the basemaps configuration to use the raw tiff values for extent rather than the name of the tile, the extents of each layer has slightly changed.

This works for most layers except ones which cover the entire world, for example 0-0-0.tiff this can lead to slight floating point errors in the extents between the TileMatrix and the tiff.

Modification

If the imagery extent is outside the bounds of the tile matrix fall back to the extent of the tile matrix.

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@blacha blacha requested a review from a team as a code owner April 14, 2024 23:57
Co-authored-by: Wentao Kuang <wkuang@linz.govt.nz>
Co-authored-by: Wentao Kuang <wkuang@linz.govt.nz>
@blacha blacha added this pull request to the merge queue Apr 15, 2024
Merged via the queue into master with commit b8d56cd Apr 15, 2024
10 checks passed
@blacha blacha deleted the fix/broken-smoke-test branch April 15, 2024 00:46
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants