From 927bb3e478a91fe416e9d1a6f4711efa1e112f6d Mon Sep 17 00:00:00 2001 From: Manuel Roth Date: Tue, 3 Nov 2015 17:07:47 +0100 Subject: [PATCH] Remove barrier_point and add missing tags to _polygon and _lines --- src/import/mapping.yml | 108 ++++++++++++----------------------------- 1 file changed, 32 insertions(+), 76 deletions(-) diff --git a/src/import/mapping.yml b/src/import/mapping.yml index 84a0b1c..ff3cc9e 100644 --- a/src/import/mapping.yml +++ b/src/import/mapping.yml @@ -214,87 +214,12 @@ tables: - police - townhall type: point - barrier_points: - fields: - - name: osm_id - type: id - - name: geometry - type: geometry - - key: name - name: name - type: string - - name: name_int - key: int_name - type: string - - name: name_fr - key: name:fr - type: string - - name: name_en - key: name:en - type: string - - name: name_de - key: name:de - type: string - - name: name_es - key: name:es - type: string - - name: name_ru - key: name:ru - type: string - - name: name_zh - key: name:zh - type: string - - name: type - type: mapping_value - mapping: - barrier: - - block - - bollard - - cattle_grid - - chain - - cycle_barrier - - entrance - - horse_stile - - gate - - spikes - - lift_gate - - kissing_gate - - fence - - 'yes' - - wire_fence - - toll_booth - - stile - type: point barrier_lines: fields: - name: osm_id type: id - name: geometry type: geometry - - key: name - name: name - type: string - - name: name_int - key: int_name - type: string - - name: name_fr - key: name:fr - type: string - - name: name_en - key: name:en - type: string - - name: name_de - key: name:de - type: string - - name: name_es - key: name:es - type: string - - name: name_ru - key: name:ru - type: string - - name: name_zh - key: name:zh - type: string - name: type type: mapping_value mapping: @@ -302,6 +227,7 @@ tables: - city_wall - fence - hedge + - hedge_bank - retaining_wall - wall - bollard @@ -312,6 +238,15 @@ tables: - embankment - 'yes' - wire_fence + - stile + - entrance + - cable_barrier + - jersey_barrier + - rope + - guard_rail + man_made: + - pier + - breakwater type: linestring barrier_polygons: fields: @@ -322,7 +257,28 @@ tables: - name: type type: mapping_value mapping: - man_made: + barrier: + - city_wall + - fence + - hedge + - hedge_bank + - retaining_wall + - wall + - bollard + - gate + - spikes + - lift_gate + - kissing_gate + - embankment + - 'yes' + - wire_fence + - stile + - entrance + - cable_barrier + - jersey_barrier + - rope + - guard_rail + man_made: - pier - breakwater type: polygon