-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We are in the process of adding a large collection of scanned maps to our GBL instance. We would like to distribute the images as COGs, and allow users to preview/zoom/pan the images using the COG viewer in GBL. However, many of these maps have a front and a back (two separate COG images).
Currently, the COG key https://github.com/cogeotiff/cog-spec in dct_references_s only supports a single string value. We propose allowing it to optionally hold an array, similar to multiple downloads:
\"https://github.com/cogeotiff/cog-spec\":
[
{\"label\":\"Front\", \"url\":\"https://example.com/front.tif\"},
{\"label\":\"Back\", \"url\":\"https://example.com/back.tif\"}
]
We currently have some code working locally that will handle such a structure, presenting the COG map preview with tabs at the top for selecting the "Front" or "Back" image:
In cases where the COG key points to a single URL string, the COG viewer would retain the current behavior. It would only show the tabs when the value is an array of objects with a "label" key (and a "url" key pointing to the COG). So no changes would be necessary to existing Aardvark records.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status