You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Author: Michael Reichert <osm-ml@michreichert.de>
5
+
6
+
set -euo pipefail
7
+
8
+
psql -c "delete from platforms p where not exists(select * from routes r where r.platform_ref_ids @> Array[p.osm_id]) and not exists(select * from railway_line l where st_dwithin(p.way, l.way, 20));"
# Author: Michael Reichert <osm-ml@michreichert.de>
5
+
6
+
set -euo pipefail
7
+
8
+
psql -c "update stations s set way = l.way from landuse l where ST_Within(s.way, l.way) and feature = 'yard' and GeometryType(s.way) = 'POINT' and s.osm_type = 'N';"
0 commit comments