mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +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,66 @@
|
||||
{
|
||||
"id": "epc-england-wales",
|
||||
"kind": "dataset",
|
||||
"family": "infrastructure",
|
||||
"title": "Home energy ratings, England and Wales (EPC)",
|
||||
"provider": "Addresscloud / DLUHC",
|
||||
"description": "Every domestic Energy Performance Certificate in England and Wales at its UPRN, coloured by current rating A–G. Loads the homes in view once you zoom in below 4 km.",
|
||||
"icon": "⌂",
|
||||
"maintainer": "github:asturksever",
|
||||
"coverage": {
|
||||
"countries": ["GB"],
|
||||
"bbox": [-5.8, 49.8, 1.8, 55.9]
|
||||
},
|
||||
"source": {
|
||||
"format": "geoparquet",
|
||||
"url": "https://s3.us-west-2.amazonaws.com/us-west-2.opendata.source.coop/addresscloud/epc/geoparquet-local-authority/",
|
||||
"partitions": {
|
||||
"listUrl": "https://s3.us-west-2.amazonaws.com/us-west-2.opendata.source.coop?list-type=2&prefix=addresscloud/epc/geoparquet-local-authority/",
|
||||
"keyBase": "https://s3.us-west-2.amazonaws.com/us-west-2.opendata.source.coop/"
|
||||
},
|
||||
"fetch": "browser-direct",
|
||||
"view": {
|
||||
"maxAltitudeM": 4000,
|
||||
"sample": [-3.19, 51.47, -3.16, 51.49]
|
||||
},
|
||||
"cacheSeconds": 86400,
|
||||
"maxBytes": 8388608,
|
||||
"maxFeatures": 6000
|
||||
},
|
||||
"display": {
|
||||
"color": "#a0aec0",
|
||||
"label": "UPRN",
|
||||
"fields": ["CURRENT_ENERGY_RATING", "POTENTIAL_ENERGY_RATING"],
|
||||
"colorBy": {
|
||||
"field": "CURRENT_ENERGY_RATING",
|
||||
"colors": {
|
||||
"A": "#008054",
|
||||
"B": "#19b459",
|
||||
"C": "#8dce46",
|
||||
"D": "#ffd500",
|
||||
"E": "#fcaa65",
|
||||
"F": "#ef8023",
|
||||
"G": "#e9153b"
|
||||
},
|
||||
"labels": {
|
||||
"A": "A · 92–100",
|
||||
"B": "B · 81–91",
|
||||
"C": "C · 69–80",
|
||||
"D": "D · 55–68",
|
||||
"E": "E · 39–54",
|
||||
"F": "F · 21–38",
|
||||
"G": "G · 1–20"
|
||||
}
|
||||
}
|
||||
},
|
||||
"licence": {
|
||||
"name": "Open Government Licence v3.0 (EPC data); OS Open UPRN under OGL",
|
||||
"url": "https://epc.opendatacommunities.org/docs/copyright"
|
||||
},
|
||||
"attribution": {
|
||||
"text": "Energy Performance of Buildings Data, DLUHC; geocoded by Addresscloud with OS Open UPRN — contains OS data © Crown copyright and database right; via Source Cooperative",
|
||||
"url": "https://source.coop/addresscloud/epc"
|
||||
},
|
||||
"status": "community",
|
||||
"reviewed": "2026-10-22"
|
||||
}
|
||||
Reference in new issue
Block a user