Unverified Commit e7fb105b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

get_station: Do not ignore "Betriebsstelle unbekannt" for now

parent dff53877
Loading
Loading
Loading
Loading
+9 −4
Original line number Original line Diff line number Diff line
@@ -518,10 +518,15 @@ sub get_station {


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


			# This is an invalid DS100 code, at least from DB perspective.
			# This used to indicate an invalid DS100 code, at least from DB
			# So far it seems to refer to subway stations which do not have
			# perspective. It typically referred to subway stations which do not
			# IRIS departures.
			# have IRIS departures.
			next;
			# However, since Fahrplanwechsel 2022 / 2023, this does not seem
			# to be the case anymore. There are some stations whose DS100 code
			# IRIS does not know, for whatever reason. So for now, accept these
			# stations as well.

			#next;
		}
		}


		push(
		push(