mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 09:12:18 +00:00
Add the Data Library: live regional datasets, tiles and packs
DATA LAYERS keeps its curated core layers; regional and niche sources live in the Data Library, opened from Browse data library at the foot of the panel. Each entry is a JSON manifest in src/library/entries/ pointing at a live upstream (query API, provider-hosted file or tile endpoint), so nothing is bundled and a self-hosted instance hosts no data. Sources without CORS go through one allowlisted /api/library route. Kinds: dataset (GeoJSON, CSV, JSON records, ArcGIS, partitioned GeoParquet), tiles (XYZ, WMS/ArcGIS bbox export, terrarium relief) and pack. Selections persist and travel in share links as lib=, separate from the core layer tokens. Library rows get Zoom and Remove icon chips that work while the layer is off, rendered through RailChips. Strings are translated in every locale.
This commit is contained in:
1 parent
10a788db78
commit
db80d82b8d
182 files changed
+15805
-44
No files matched your search
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"id": "macrostrat-geology",
|
||||
"kind": "tiles",
|
||||
"family": "environment",
|
||||
"title": "Geologic map (Macrostrat)",
|
||||
"provider": "Macrostrat",
|
||||
"description": "Bedrock geology worldwide, harmonised from hundreds of published geologic maps and coloured by rock age on the international (ICS) time-scale colours.",
|
||||
"icon": "◒",
|
||||
"maintainer": "github:asturksever",
|
||||
"coverage": {
|
||||
"global": true
|
||||
},
|
||||
"source": {
|
||||
"format": "xyz",
|
||||
"url": "https://tiles.macrostrat.org/carto/{z}/{x}/{y}.png",
|
||||
"fetch": "browser-direct",
|
||||
"cacheSeconds": 86400,
|
||||
"minZoom": 0,
|
||||
"maxZoom": 14
|
||||
},
|
||||
"display": {
|
||||
"opacity": 0.7,
|
||||
"legend": [
|
||||
{
|
||||
"label": "Quaternary",
|
||||
"color": "#f9f97f"
|
||||
},
|
||||
{
|
||||
"label": "Neogene",
|
||||
"color": "#ffe619"
|
||||
},
|
||||
{
|
||||
"label": "Paleogene",
|
||||
"color": "#fd9a52"
|
||||
},
|
||||
{
|
||||
"label": "Cretaceous",
|
||||
"color": "#7fc64e"
|
||||
},
|
||||
{
|
||||
"label": "Jurassic",
|
||||
"color": "#34b2c9"
|
||||
},
|
||||
{
|
||||
"label": "Triassic",
|
||||
"color": "#812b92"
|
||||
},
|
||||
{
|
||||
"label": "Permian",
|
||||
"color": "#f04028"
|
||||
},
|
||||
{
|
||||
"label": "Carboniferous",
|
||||
"color": "#67a599"
|
||||
},
|
||||
{
|
||||
"label": "Devonian",
|
||||
"color": "#cb8c37"
|
||||
},
|
||||
{
|
||||
"label": "Silurian",
|
||||
"color": "#b3e1b6"
|
||||
},
|
||||
{
|
||||
"label": "Ordovician",
|
||||
"color": "#009270"
|
||||
},
|
||||
{
|
||||
"label": "Cambrian",
|
||||
"color": "#7fa056"
|
||||
},
|
||||
{
|
||||
"label": "Precambrian",
|
||||
"color": "#f74370"
|
||||
}
|
||||
]
|
||||
},
|
||||
"licence": {
|
||||
"name": "CC BY 4.0 (Macrostrat; source maps credited by their publishers)",
|
||||
"url": "https://macrostrat.org/about"
|
||||
},
|
||||
"attribution": {
|
||||
"text": "Macrostrat — geologic maps from their original publishers",
|
||||
"url": "https://macrostrat.org/"
|
||||
},
|
||||
"status": "community",
|
||||
"reviewed": "2026-10-22"
|
||||
}
|
||||
Reference in new issue
Block a user