linz / basemaps

NZ’s authoritative and open digital basemap service for LINZ and the public.
https://basemaps.linz.govt.nz
Other
92 stars 16 forks source link

feat(cogify): error early if no source collection.json is found BM-1047 #3296

Closed blacha closed 2 months ago

blacha commented 2 months ago

Motivation

When importing imagery into basemaps we know if there is a source stac collection at the first step, but we only warn that we cannot find it.

In most of our import processes not having a stac collection should be a errro

Modifications

Add --require-stac-collection to throw a error if a stac collection cannot be found when createing a cover

Verification

Added new integration test to covering creation with and without the new flag.