From 1058b17a61f38486dc7cc0981cfb7a2329192915 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 25 Jul 2016 01:58:33 -0400 Subject: [PATCH] [osm] Moving admin_center overrides to OSM parser config --- resources/boundaries/names/global.yaml | 6 ------ resources/parser/default.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/boundaries/names/global.yaml b/resources/boundaries/names/global.yaml index 061bc6b3..cc117e2f 100644 --- a/resources/boundaries/names/global.yaml +++ b/resources/boundaries/names/global.yaml @@ -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 diff --git a/resources/parser/default.yaml b/resources/parser/default.yaml index b7a15fd9..0cff5092 100644 --- a/resources/parser/default.yaml +++ b/resources/parser/default.yaml @@ -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