linz / basemaps

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

feat(lambda-tiler): automatically rescale style JSON's into NZTM2000Quad when requests #3339

Closed blacha closed 2 months ago

blacha commented 2 months ago

Motivation

NZTM2000Quad is offset by two zoom levels from web mercator quad, when the stylejsons are created for both projections the style json needs to adjust all the zoom levels by two

Modifications

Convert styles zoom offsets automatically when asking for a NZTM2000Quad style json updated comments across the style json endpoint refactored the style generation into a single point.

Verification

unit tests