Skip to content

Commit

Permalink
simplify standard_railway_grouped_stations
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Dec 16, 2024
1 parent bb3ed10 commit 2b78011
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions import/sql/tile_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -196,23 +196,13 @@ CREATE OR REPLACE VIEW standard_railway_grouped_stations AS
SELECT
id,
osm_id,
way,
buffered as way,
railway,
station,
railway_ref as label,
name
FROM (
SELECT
id,
osm_id,
buffered as way,
railway,
station,
railway_ref,
name
FROM stations_with_route_counts
WHERE railway IN ('station', 'halt', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site', 'tram_stop')
) AS r;
FROM stations_with_route_counts
WHERE railway IN ('station', 'halt', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site', 'tram_stop');

CREATE OR REPLACE VIEW standard_railway_symbols AS
SELECT
Expand Down

0 comments on commit 2b78011

Please sign in to comment.