Skip to content

Commit

Permalink
remove station_count
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Dec 15, 2024
1 parent f171b8e commit ab5af1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/prepare_facilities.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ CREATE TABLE openrailwaymap_facilities_for_search AS
station,
railway_ref,
route_count,
station_count,
geom
FROM (
SELECT DISTINCT ON (osm_id, key, value, name, railway, station, railway_ref, route_count, geom)
Expand All @@ -53,7 +52,6 @@ CREATE TABLE openrailwaymap_facilities_for_search AS
station,
railway_ref,
route_count,
station_count,
geom
FROM (
SELECT
Expand All @@ -64,7 +62,6 @@ CREATE TABLE openrailwaymap_facilities_for_search AS
railway_ref,
name_tags,
route_count,
ST_NumGeometries(way) as station_count,
ST_Centroid(way) AS geom
FROM stations_with_route_counts
WHERE
Expand Down

0 comments on commit ab5af1a

Please sign in to comment.