feat(db): do not consider usage=tourism in sql/scripts/railway.sql
This commit is contained in:
parent
759039a181
commit
09ad3911ab
|
@ -30,6 +30,7 @@ SELECT foo.id,
|
|||
FROM planet_osm_point p
|
||||
WHERE
|
||||
( p.railway = 'halt' OR p.railway = 'station')
|
||||
AND p.usage != 'tourism'
|
||||
AND p.proposed is null --- damit keine geplanten Gebäude etc übernommen werden
|
||||
|
||||
UNION
|
||||
|
@ -47,6 +48,7 @@ SELECT foo.id,
|
|||
FROM planet_osm_polygon p
|
||||
WHERE
|
||||
( p.railway = 'halt' OR p.railway = 'station')
|
||||
AND p.usage != 'tourism'
|
||||
AND p.proposed is null
|
||||
AND p.osm_id > 0 -- Ausschluss der Relationen
|
||||
|
||||
|
@ -73,6 +75,7 @@ SELECT foo.id,
|
|||
FROM planet_osm_polygon p
|
||||
WHERE
|
||||
( p.railway = 'halt' OR p.railway = 'station')
|
||||
AND p.usage != 'tourism'
|
||||
AND p.proposed is null
|
||||
AND p.osm_id < 0 -- Relationen
|
||||
) as rel
|
||||
|
|
Loading…
Reference in New Issue