Add initial mapping for motorway junction #359

feature/motorway_junction
lukasmartinelli 2016-06-26 23:08:51 +02:00
rodzic 5420189333
commit 4438f3842f
2 zmienionych plików z 26 dodań i 0 usunięć

Wyświetl plik

@ -468,6 +468,23 @@ tables:
- residential
boundary:
- aboriginal_lands
motorway_junction_point:
type: point
fields:
- name: id
type: id
- name: geometry
type: geometry
- name: timestamp
type: pbf_timestamp
- name: type
type: mapping_value
- key: ref
name: ref
type: string
- name: name
key: name
type: string
road_geometry:
type: geometry
fields:

Wyświetl plik

@ -0,0 +1,9 @@
CREATE OR REPLACE VIEW motorway_junction_z11 AS
SELECT id AS osm_id, type, ref, name, geometry
FROM osm_motorway_junction_point
WHERE ref <> '' AND type <> 'trunk';
CREATE OR REPLACE VIEW motorway_junction_z12_toz14 AS
SELECT id AS osm_id, type, ref, name, geometry
FROM osm_motorway_junction_point
WHERE ref <> '';