Skip to content

fix: add railway=rail and railway=narrow_gauge to tram/subway OSM filter - #69

Open
matthiasfeist wants to merge 3 commits into
ad-freiburg:masterfrom
matthiasfeist:fix/tram-narrow-gauge-filter
Open

fix: add railway=rail and railway=narrow_gauge to tram/subway OSM filter#69
matthiasfeist wants to merge 3 commits into
ad-freiburg:masterfrom
matthiasfeist:fix/tram-narrow-gauge-filter

Conversation

@matthiasfeist

@matthiasfeist matthiasfeist commented Jun 15, 2026

Copy link
Copy Markdown

Problem

The [tram, subway] section in pfaedle.cfg does not include railway=rail or railway=narrow_gauge in its osm_filter_keep list.
This is an issue in Stockholm where several GTFS "trams" are on tracks marked with narrow_gauge or simply rail.

Examples

Both of them are marked as "tram" in the GTFS feeds: route_type = 900

Fix

Add railway=rail and railway=narrow_gauge to osm_filter_keep in the [tram, subway] section:

@matthiasfeist matthiasfeist changed the title fix: add railway=narrow_gauge to tram/subway OSM filter fix: add railway=rail and railway=narrow_gauge to tram/subway OSM filter Jun 15, 2026
@matthiasfeist
matthiasfeist marked this pull request as draft June 15, 2026 14:27
@matthiasfeist
matthiasfeist marked this pull request as ready for review June 15, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant