Skip to content

Commit

Permalink
[osm] Moving admin_center overrides to OSM parser config
Browse files Browse the repository at this point in the history
  • Loading branch information
albarrentine committed Jul 25, 2016
1 parent c9aa0bc commit 1058b17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions resources/boundaries/names/global.yaml
Expand Up @@ -71,9 +71,3 @@ names:
probability: 0.01
- alternative: official_name
probability: 0.01


# OSM relations should inherit properties from their admin_center
override_with_admin_center:
- id: 92277 # Bangkok
type: relation
6 changes: 6 additions & 0 deletions resources/parser/default.yaml
Expand Up @@ -84,6 +84,12 @@ category:
drop_places_probability: 0.1 # drop place names
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:
# Usually in Germany, may have e.g. name:prefix=Ortsteil
add_prefix_probability: 0.5
Expand Down

0 comments on commit 1058b17

Please sign in to comment.