From 0f8e7cd9dc642541e192cde7be25e0d1772c1f92 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 12 Sep 2016 18:46:08 -0400 Subject: [PATCH] [boundaries] adding exception for the direct-controlled municipalities in China (Shanghai, Beijing, Tianjin and Chongqing) to be treated as city instead of state. These will use the admin_centre properties 60% of the time, relation propreties 40% of the time --- resources/boundaries/osm/cn.yaml | 42 ++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/resources/boundaries/osm/cn.yaml b/resources/boundaries/osm/cn.yaml index 021535fd..027d93a6 100644 --- a/resources/boundaries/osm/cn.yaml +++ b/resources/boundaries/osm/cn.yaml @@ -1,9 +1,37 @@ --- - admin_level: - "2": "country" - "4": "state" - "5": "state_district" - "6": "state_district" - "8": "city" - "10": "city" + admin_level: + "2": "country" + "4": "state" + "5": "state_district" + "6": "state_district" + "8": "city" + "10": "city" + overrides: + id: + relation: + # Beijing + "912940": "city" + + # Shanghai + "913067": "city" + + # Tianjin + "912999": "city" + + # Chongqing + "913069": "city" + + use_admin_center: + - id: 912940 # Beijing + type: relation + probability: 0.6 + - id: 913067 # Shanghai + type: relation + probability: 0.6 + - id: 912999 # Tianjin + type: relation + probability: 0.6 + - id: 913069 # Chongqing + type: relation + probability: 0.6 \ No newline at end of file