Commit 2aad0dfc authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Ignore invalid / useless related subway(?) stations

parent 583234d2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -259,6 +259,14 @@ sub get_station {
			next;
		}

		if ( $station_node->getAttribute('ds100') =~ m{ ^ D \d+ $ }x ) {

			# This is an invalid DS100 code, at least from DB perspective.
			# So far it seems to refer to subway stations which do not have
			# IRIS departures.
			next;
		}

		push(
			@ret,
			{