From 816187accd4d3b5b4dd475be1ac491f1ff207c74 Mon Sep 17 00:00:00 2001 From: Blayne Chard Date: Mon, 19 Aug 2024 15:56:34 +1200 Subject: [PATCH 1/2] config(vector): add nztm2000quad vector tiles --- config/tileset/topographic.json | 1 + 1 file changed, 1 insertion(+) diff --git a/config/tileset/topographic.json b/config/tileset/topographic.json index d708eb42..c1d3157d 100644 --- a/config/tileset/topographic.json +++ b/config/tileset/topographic.json @@ -6,6 +6,7 @@ "format": "pbf", "layers": [ { + "2193": "s3://linz-basemaps/vector/2193/topographic/01J5MC472Q45Q7WKANA6B55DZ9/topographic.tar.co", "3857": "s3://linz-basemaps/vector/3857/topographic/01J56ED5A4Y5NTF42TT6F1QWVB/topographic.tar.co", "name": "topographic", "title": "Topographic" From 67dd4a0c0191b4bf2500ac2c8221590a41a9e6a3 Mon Sep 17 00:00:00 2001 From: Blayne Chard Date: Thu, 29 Aug 2024 14:38:44 +1200 Subject: [PATCH 2/2] feat: support nztm with a few styles --- config/style/aerialhybrid.json | 4 ++-- config/style/basic.json | 2 +- config/style/labels.json | 2 +- config/style/positron.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/style/aerialhybrid.json b/config/style/aerialhybrid.json index 1a6fcb49..0b1b4269 100644 --- a/config/style/aerialhybrid.json +++ b/config/style/aerialhybrid.json @@ -1404,12 +1404,12 @@ "sky-horizon-blend": 0.5 }, "sources": { - "LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic/EPSG:3857/tile.json" }, + "LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic/{tileMatrix}/tile.json" }, "LINZ-Imagery": { "maxzoom": 28, "minzoom": 0, "tileSize": 256, - "tiles": ["/v1/tiles/aerial/EPSG:3857/{z}/{x}/{y}.webp"], + "tiles": ["/v1/tiles/aerial/{tileMatrix}/{z}/{x}/{y}.webp"], "type": "raster" } }, diff --git a/config/style/basic.json b/config/style/basic.json index 9d4c04ae..55a40b77 100644 --- a/config/style/basic.json +++ b/config/style/basic.json @@ -1032,7 +1032,7 @@ "openmaptiles": { "attribution": "© 2022 Toitū Te Whenua © OpenMapTiles - CC BY 4.0", "type": "vector", - "url": "/v1/tiles/topographic/EPSG:3857/tile.json" + "url": "/v1/tiles/topographic/{tileMatrix}/tile.json" } }, "sprite": "", diff --git a/config/style/labels.json b/config/style/labels.json index a932f00d..a5a0983c 100644 --- a/config/style/labels.json +++ b/config/style/labels.json @@ -1393,7 +1393,7 @@ "sky-horizon-blend": 0.5 }, "sources": { - "LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic/EPSG:3857/tile.json" } + "LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua - CC BY 4.0", "type": "vector", "url": "/v1/tiles/topographic/{tileMatrix}/tile.json" } }, "sprite": "/v1/sprites/topographic", "version": 8 diff --git a/config/style/positron.json b/config/style/positron.json index 9ee077c1..0610d7cc 100644 --- a/config/style/positron.json +++ b/config/style/positron.json @@ -1277,7 +1277,7 @@ "LINZ Basemaps": { "attribution": "© 2022 Toitū Te Whenua © OpenMapTiles - CC BY 4.0", "type": "vector", - "url": "/v1/tiles/topographic/EPSG:3857/tile.json" + "url": "/v1/tiles/topographic/{tileMatrix}/tile.json" } }, "sprite": "/v1/sprites/topographic",