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(config): do not use "rgb" or projection codes for imagery names #2908

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

blacha
Copy link
Member

@blacha blacha commented Aug 23, 2023

Description

Most of LINZs imagery is currently stored in S3 with the format 's3://linz-imagery/:rgion/:name/:projection/:imageryType/ this structure means basmeaps guesses the imagery name as :imageryType so all imagery is called "rgb"

This makes a ignore list of common folder structures LINZ uses which do not make sense as imagery names, eg "rgb", "dem_1m" or "3857"

Instead it traverses up the imagery path to see if there is a better name,

before this change a imagery path of 's3://linz-imagery/auckland/auckland_sn5600_1979_0.375m/2193/rgb/ would be called "rgb" after this change it is called "auckland_sn5600_1979_0.375m"

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 August 23, 2023 05:11
@ajacombs ajacombs added this pull request to the merge queue Aug 23, 2023
Merged via the queue into master with commit 6f3c9a8 Aug 23, 2023
10 checks passed
@ajacombs ajacombs deleted the fix/imagery-name branch August 23, 2023 21:30
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