OSM-drinkwaterlocaties
Zie het downloadvoorbeeld.
Build drinking-water polygons from OSM in the configured source data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target_path
|
Path
|
GeoPackage output. Defaults to source_data/osm/drinkwaterlocaties.gpkg. |
None
|
data_store
|
DataStore
|
Configured Waterlagen data store. |
None
|
reviews_path
|
Path
|
JSON with reviewed locations. Defaults to the bundled source review. |
None
|
endpoint
|
str
|
Overpass API endpoint. |
OVERPASS_ENDPOINT
|
cache_dir
|
Path
|
Directory for validated raw Overpass JSON responses. |
None
|
offline
|
bool
|
Read the geometry response from cache without network access. |
False
|
overwrite
|
bool
|
Replace a validated existing GeoPackage. Otherwise reuse it. |
False
|
include_buildings
|
bool
|
Also include building-only OSM polygons in the BAG matching layer. |
False
|
timeout
|
float
|
HTTP timeout in seconds. |
150
|
Returns:
| Type | Description |
|---|---|
Path
|
GeoPackage with a BAG matching layer and separate review layers. BAG matching uses the existing Waterlagen representative-point rule. |
Redactie: AI