-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat(cogify): Update cogify to support the topo raster processes. BM-1116 #3388
Conversation
24087c3
to
61f2b1a
Compare
I've re-based this branch to |
Some functions have been refactored several times and therefore have outdated docs. I am correcting such instances now. Edit: I've also refined many of the Topo STAC creation functions as they had remnants of past refactorings that needed to be re-optimised. |
…ween topogrpahic creation and generic cog creation
Motivation
As a Basemaps user, I want to consume the NZTopo 50 & 250 Maps as a tile service.
Modifications
This work comprises a series of additions and modifications to the
basemaps/cogify
package.These changes allow us to generate STAC files for an NZTopo Map Series imagery collection. They also allow us to generate standardised and cloud-optimised GeoTIFFs from the map sheet files of such collections. We have adjusted the
basemaps/cogify
package to handle the following collections stored in the AWS S3 TopoReleaseArchive directory:There is also a new Argo workflow in development that depends on this work as part of its process flow. The workflow's purpose is to automate the standardisation of an NZTopo Map Series imagery collection.
Generating STAC files
This works defines a new process for generating a nested directory structure of STAC files for an NZTopo Map Series imagery collection. The process operates as follows:
Outputs
The command groups the images by EPSG and then structures the generated StacItem and StacCollection files, as illustrated:
The command then saves the generated tree of folders and files into the target location directory.
Processing Map Sheet files
This work extends the
create
CLI command of thebasemaps/cogify
package. This extension allows the command to recognise and process the map sheet files of an NZTopo Map Series imagery collection by way of particular properties added to the accompanying STAC files.