Files
planet/config/earth-boundary-sources.example.json
rayd1o 9b913a3b83
Some checks failed
ci / backend (push) Has been cancelled
ci / frontend (push) Has been cancelled
ci / delivery (push) Has been cancelled
release / images (push) Has been cancelled
release: bump version to 0.59.0
2026-05-16 05:02:05 +08:00

113 lines
3.4 KiB
JSON

{
"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 海岸线源",
"sourceKind": "coastline",
"endpoint": "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_coastline.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 主张线源",
"sourceKind": "claim-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"
}
}
}
}
},
"notes": [
"Earth can download these sources directly from the toolbar settings when no local source override exists.",
"If tippecanoe/pmtiles are unavailable, the backend generates a GeoJSON high-precision package so the feature remains usable."
]
}