Files
planet/config/earth-boundary-sources.example.json
T
linkong e1cc27f13d
ci / backend (push) Waiting to run
ci / frontend (push) Waiting to run
release: bump version to 0.84.0
2026-12-04 07:07:19 +08:00

164 lines
5.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"policy": {
"runtimeFetch": false,
"profile": "china-pov-v1",
"povPolicyPath": "config/earth-boundary-pov-policy.china-v1.json",
"productionTileFormat": "pmtiles+mvt",
"debugTileFormat": "geojson-directory",
"description": "Default Earth boundary update sources. These public Natural Earth endpoints make local high-precision boundary download work out of the box; replace with audited internal sources for production if needed."
},
"collectorConfigs": {
"earth_admin0_boundaries": {
"displayName": "Earth Admin-0 国界源",
"sourceKind": "admin0-boundaries",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_0_countries.geojson",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "Natural Earth public domain",
"mapping_json": {
"source": {
"items_path": "$.features[*]"
},
"fields": {
"source_id": {
"path": "$.properties.id",
"type": "string"
},
"name": {
"path": "$.properties.name",
"type": "string"
},
"geometry": {
"path": "$.geometry",
"type": "object"
},
"properties": {
"path": "$.properties",
"type": "object"
}
}
}
},
"earth_coastline": {
"displayName": "Earth 海岸线源(OSM)",
"sourceKind": "coastline",
"endpoint": "https://osmdata.openstreetmap.de/download/coastlines-split-4326.zip",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "ODbL 1.0 © OpenStreetMap contributors",
"timeout": 1800
},
"earth_disputed_lines": {
"displayName": "Earth 争议线源",
"sourceKind": "disputed-lines",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_0_boundary_lines_disputed_areas.geojson",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "Natural Earth public domain",
"mapping_json": {
"source": {
"items_path": "$.features[*]"
},
"fields": {
"source_id": {
"path": "$.properties.id",
"type": "string"
},
"name": {
"path": "$.properties.name",
"type": "string"
},
"geometry": {
"path": "$.geometry",
"type": "object"
},
"properties": {
"path": "$.properties",
"type": "object"
}
}
}
},
"earth_claim_lines": {
"displayName": "Earth 九段线源(Natural Earth 中国视角)",
"sourceKind": "claim-lines",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_0_boundary_lines_maritime_indicator_chn.geojson",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "Natural Earth public domain",
"mapping_json": {
"source": {
"items_path": "$.features[*]"
},
"fields": {
"source_id": {
"path": "$.properties.id",
"type": "string"
},
"name": {
"path": "$.properties.name",
"type": "string"
},
"geometry": {
"path": "$.geometry",
"type": "object"
},
"properties": {
"path": "$.properties",
"type": "object"
}
}
}
},
"earth_admin1_lines": {
"displayName": "Earth 省界/州界源",
"sourceKind": "admin1-lines",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_1_states_provinces_lines.geojson",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "Natural Earth public domain",
"mapping_json": {
"source": {
"items_path": "$.features[*]"
},
"fields": {
"source_id": {
"path": "$.properties.id",
"type": "string"
},
"name": {
"path": "$.properties.name",
"type": "string"
},
"geometry": {
"path": "$.geometry",
"type": "object"
},
"properties": {
"path": "$.properties",
"type": "object"
}
}
}
},
"earth_populated_places": {
"displayName": "Earth 城市标注源(Natural Earth)",
"sourceKind": "populated-places",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_populated_places.geojson",
"method": "GET",
"headers": {},
"auth_type": "none",
"license": "Natural Earth public domain"
}
},
"notes": [
"Earth can download these sources directly from the toolbar settings when no local source override exists.",
"PMTiles builds require tippecanoe in PATH (bundled in the backend image; run scripts/harness/install-earth-boundary-tools.sh locally). Builds fail loudly when it is missing."
]
}