-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(style): Topo raster tileset and style. BM-1129 (#1019)
### Motivation <!-- TODO: Say why you made your changes. --> ### Modifications <!-- TODO: Say what changes you made. --> <!-- TODO: Attach screenshots if you changed the UI. --> ### Verification <!-- TODO: Say how you tested your changes. --> --------- Co-authored-by: Blayne Chard <[email protected]>
- Loading branch information
1 parent
5688983
commit f12ba20
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"id": "st_topo-raster", | ||
"layers": [ | ||
{ | ||
"id": "Topo-Raster", | ||
"layout": { "visibility": "visible" }, | ||
"source": "LINZ-Topo-Raster", | ||
"type": "raster" | ||
}, | ||
{ | ||
"id": "Hillshade", | ||
"layout": { "visibility": "visible" }, | ||
"paint": { | ||
"hillshade-accent-color": ["interpolate", ["linear"], ["zoom"], 0, "#64646400", 3, "#64646466", 10, "#64646455", 11, "#64646444"], | ||
"hillshade-exaggeration": 0.4, | ||
"hillshade-highlight-color": ["interpolate", ["linear"], ["zoom"], 0, "#e1e5e000", 3, "#e1e5e066", 10, "#e1e5e055", 11, "#e1e5e011"], | ||
"hillshade-illumination-anchor": "map", | ||
"hillshade-illumination-direction": 315, | ||
"hillshade-shadow-color": ["interpolate", ["linear"], ["zoom"], 0, "#0c0c0c00", 3, "#0c0c0c66", 10, "#0c0c0c66", 16, "#0c0c0cff"] | ||
}, | ||
"source": "LINZ-Elevation-Hillshade", | ||
"type": "hillshade" | ||
} | ||
], | ||
"metadata": { "maputnik:renderer": "mbgljs" }, | ||
"name": "st_topo-raster", | ||
"sky": { | ||
"atmosphere-blend": ["interpolate", ["linear"], ["zoom"], 0, 1, 10, 1, 12, 0], | ||
"fog-color": "#e8e8e8", | ||
"fog-ground-blend": 0.8, | ||
"horizon-color": "#ecffff", | ||
"horizon-fog-blend": 0.65, | ||
"sky-color": "#77b5fe", | ||
"sky-horizon-blend": 0.5 | ||
}, | ||
"sources": { | ||
"LINZ-Elevation-Hillshade": { "maxzoom": 18, "minzoom": 0, "tileSize": 256, "tiles": ["/v1/tiles/elevation/{tileMatrix}/{z}/{x}/{y}.png?pipeline=terrain-rgb"], "type": "raster-dem" }, | ||
"LINZ-Topo-Raster": { | ||
"attribution": "© 2024 Toitū Te Whenua - CC BY 4.0", | ||
"maxzoom": 28, | ||
"minzoom": 0, | ||
"tileSize": 192, | ||
"tiles": ["/v1/tiles/topo-raster/{tileMatrix}/{z}/{x}/{y}.webp"], | ||
"type": "raster" | ||
} | ||
}, | ||
"version": 8 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"type": "raster", | ||
"id": "ts_topo-raster", | ||
"title": "NZ Topo Gridless Maps", | ||
"category": "Basemaps", | ||
"background": { "r": 208, "g": 231, "b": 244, "alpha": 255 }, | ||
"layers": [ | ||
{ | ||
"2193": "s3://linz-basemaps/2193/topo250-new-zealand-mainland/01JF69Q9CYWT56GZTP4JJH05VT/", | ||
"3857": "s3://linz-basemaps/3857/topo250-new-zealand-mainland/01JF69Q9HAP47K9ZQ16540067M/", | ||
"name": "topo250-new-zealand-mainland", | ||
"title": "Topo250 NZ Mainland Gridless Maps", | ||
"maxZoom": 11, | ||
"category": "Topographic" | ||
}, | ||
{ | ||
"2193": "s3://linz-basemaps/2193/topo250-chatham-island/01JF69NGMQ4Z0MC8EZ3SGGW7K6/", | ||
"3857": "s3://linz-basemaps/3857/topo250-chatham-island/01JF69P0M5C3E7TDKY7GVF3VMZ/", | ||
"name": "topo250-chatham-island", | ||
"title": "Topo250 Chatham Islands Gridless Maps", | ||
"maxZoom": 11, | ||
"category": "Topographic" | ||
}, | ||
{ | ||
"2193": "s3://linz-basemaps/2193/topo50-new-zealand-mainland/01JF62DGS6157A44S0P4DCHWS1/", | ||
"3857": "s3://linz-basemaps/3857/topo50-new-zealand-mainland/01JF62DGS5H679Q8JPWFXYXKHV/", | ||
"name": "topo50-new-zealand-mainland", | ||
"title": "Topo50 NZ Mainland Gridless Maps", | ||
"minZoom": 12, | ||
"category": "Topographic" | ||
}, | ||
{ | ||
"2193": "s3://linz-basemaps/2193/topo50-chatham-island/01JF62G92ZYDXDYZRHPHSDD6TC/", | ||
"3857": "s3://linz-basemaps/3857/topo50-chatham-island/01JF62G939Z6W58QBNXCSM9MD0/", | ||
"name": "topo50-chatham-island", | ||
"title": "Topo50 Chatham Islands Gridless Maps", | ||
"minZoom": 12, | ||
"category": "Topographic" | ||
} | ||
] | ||
} |