[osm] Moving admin_center overrides to OSM parser config
This commit is contained in:
@@ -71,9 +71,3 @@ names:
|
|||||||
probability: 0.01
|
probability: 0.01
|
||||||
- alternative: official_name
|
- alternative: official_name
|
||||||
probability: 0.01
|
probability: 0.01
|
||||||
|
|
||||||
|
|
||||||
# OSM relations should inherit properties from their admin_center
|
|
||||||
override_with_admin_center:
|
|
||||||
- id: 92277 # Bangkok
|
|
||||||
type: relation
|
|
||||||
|
|||||||
@@ -84,6 +84,12 @@ category:
|
|||||||
drop_places_probability: 0.1 # drop place names
|
drop_places_probability: 0.1 # drop place names
|
||||||
drop_postcode_probability: 0.3 # drop postal code
|
drop_postcode_probability: 0.3 # drop postal code
|
||||||
|
|
||||||
|
boundaries:
|
||||||
|
# OSM relations should inherit properties from their admin_center
|
||||||
|
override_with_admin_center:
|
||||||
|
- id: 92277 # Bangkok
|
||||||
|
type: relation
|
||||||
|
|
||||||
neighborhood:
|
neighborhood:
|
||||||
# Usually in Germany, may have e.g. name:prefix=Ortsteil
|
# Usually in Germany, may have e.g. name:prefix=Ortsteil
|
||||||
add_prefix_probability: 0.5
|
add_prefix_probability: 0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user