linz / basemaps

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

fix(lambda-tiler): do not error when no layers are found #3209

Closed blacha closed 7 months ago

blacha commented 7 months ago

Motivation

When viewing DEM/DSM layers, there are often no actual aerial imagery layers in the configuration, this can lead to requests being made to a WMTS endpoint which has no layers. which currently results it a HTTP 500, "Error: No matrix sets found for layer all"

Modification

404 when no layers are found inside of a WMTS link

Checklist

If not applicable, provide explanation of why.