-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): do not use "rgb" or projection codes for imagery names (#…
…2908) #### 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.* - [x] Tests updated - [ ] Docs updated - [ ] Issue linked in Title
- Loading branch information
Showing
2 changed files
with
94 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters