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:
Said Turksever committed 2026-11-12 12:26:45 +00:00
1 parent 10a788db78
commit db80d82b8d
182 files changed
+15805 -44

No files matched your search

+92 -1
View File
@@ -3425,5 +3425,96 @@
"{source} imagery could not be opened": "无法打开 {source} 影像",
"{place} has no position to look for imagery at": "{place} 没有可查找影像的位置",
"No {source} imagery near {place}": "{place} 附近没有 {source} 影像",
"{reason} (filters on: {filters})": "{reason}(已开启筛选:{filters})"
"{reason} (filters on: {filters})": "{reason}(已开启筛选:{filters})",
"tiles unavailable": "瓦片不可用",
"zoom in to load this layer": "放大以加载此图层",
"Zoom to layer": "缩放至图层",
"Zoom to layer · fly to where this layer has data": "缩放至图层 · 飞往此图层有数据的区域",
"Remove from Data Layers": "从数据图层中移除",
"Remove from Data Layers · add it again from the library": "从数据图层中移除 · 可从数据资源库重新添加",
"Coverage outline": "覆盖范围轮廓",
"DRAPED": "贴地",
"Below 250 m": "低于 250 m",
"250–500 m": "250–500 m",
"500–1,000 m": "500–1,000 m",
"1,000–2,000 m": "1,000–2,000 m",
"2,000–3,000 m": "2,000–3,000 m",
"3,000 m and above": "3,000 m 及以上",
"Exit cockpit to fly to a layer": "退出驾驶舱后才能飞往图层",
"Library": "资源库",
"Environment": "环境",
"Imagery": "影像",
"Demographics": "人口统计",
"DATASET": "数据集",
"TILES": "瓦片",
"PACK": "数据包",
"INCUBATING": "孵化中",
"COMMUNITY": "社区",
"VERIFIED": "已验证",
"ARCHIVED": "已归档",
"Datasets": "数据集",
"{datasets} · {tiles} · {packs}": "{datasets} · {tiles} · {packs}",
"{count} datasets": {
"other": "{count} 个数据集"
},
"{count} tile layers": {
"other": "{count} 个瓦片图层"
},
"{count} packs": {
"other": "{count} 个数据包"
},
"Themes": "主题",
"Added": "已添加",
"{count} on the map": {
"other": "地图上 {count} 个"
},
"none yet": "暂无",
"Map features": "地图要素",
"from {count} datasets": {
"other": "来自 {count} 个数据集"
},
"switch on a dataset to load features": "开启一个数据集以加载要素",
"Switched on by this instance · part of the CCTV layer": "已由此实例开启 · 属于 CCTV 图层",
"Operator opt-in: set {env}=1 on the server": "运营者启用:在服务器上设置 {env}=1",
"Operator opt-in: add {id} to GEV_LIBRARY_ENABLE on the server": "运营者启用:在服务器上将 {id} 添加到 GEV_LIBRARY_ENABLE",
"Turned off by this instance's operator": "已被此实例的运营者关闭",
"Needs a provider key on the server": "需要在服务器上配置提供方密钥",
"Needs this app's server · not available in a static build": "需要此应用的服务器 · 静态构建中不可用",
"Checking what this instance serves…": "正在检查此实例提供的内容…",
"Regional": "区域",
"Orthophoto": "正射影像",
"Satellite mosaic": "卫星镶嵌图",
"Oblique": "倾斜影像",
"Historic imagery": "历史影像",
"True orthophoto": "真正射影像",
"Type": "类型",
"Resolution": "分辨率",
"Flown": "航摄时间",
"Updates": "更新频率",
"Ortho quality": "正射质量",
"DATA LIBRARY": "数据资源库",
"Close data library": "关闭数据资源库",
"Data Library at a glance": "数据资源库概览",
"Live sources beyond the core layers. Each one is fetched from its provider while it is on; nothing is stored in this app. Add one and it appears in Data Layers under Library.": "核心图层之外的实时数据源。每个数据源开启时直接从其提供方获取;本应用不存储任何数据。添加后,它会出现在数据图层的“资源库”分组中。",
"Name, provider or country": "名称、提供方或国家",
"Theme": "主题",
"All themes": "全部主题",
"Only what this instance serves": "仅显示此实例提供的内容",
"OPT-IN": "需启用",
"KEY": "需密钥",
"KEYLESS": "免密钥",
"ZOOM": "缩放",
"Zoom to {name}": "缩放至 {name}",
"WORKING…": "处理中…",
"ADD": "添加",
"Remove {name} from Data Layers": "从数据图层中移除 {name}",
"Add {name} to Data Layers": "将 {name} 添加到数据图层",
"CONFIRM · REMOVE ALL {count}": {
"other": "确认 · 全部移除 {count} 项"
},
"REMOVE ALL": "全部移除",
"Confirm: remove every added entry from Data Layers": "确认:从数据图层中移除所有已添加条目",
"Remove every added entry from Data Layers": "从数据图层中移除所有已添加条目",
"Showing {shown} of {total}": "显示 {shown} / {total}",
"BROWSE DATA LIBRARY": "浏览数据资源库"
}