GTFS-Issues icon indicating copy to clipboard operation
GTFS-Issues copied to clipboard

DELFI GTFS Koordinaten nicht in [-180, 180]

Open felixguendling opened this issue 10 months ago • 4 comments

Beschreibe den Fehler

Invalide Koordinaten:

11866:"de:15087:2253::03","","Sangerhausen, Bonifatiusplatz",,"-90.000000000000","360.000000000000",0,,0,"",""

Längengrad nicht in [-180, 180].

Referenz https://developers.google.com/transit/gtfs/reference/#stopstxt

Aktualisierungszeitpunkt der GTFS-Daten 20250303_fahrplaene_gesamtdeutschland_gtfs.zip

Hash der GTFS-Daten 552c0326df6fb6ec8c6e6b03192f3dc8ac0642fd

Downloadlink der GTFS-Daten https://www.opendata-oepnv.de/ht/de/organisation/delfi/startseite?tx_vrrkit_view%5Baction%5D=details&tx_vrrkit_view%5Bcontroller%5D=View&tx_vrrkit_view%5Bdataset_name%5D=deutschlandweite-sollfahrplandaten-gtfs&cHash=af4be4c0a9de59953fb9ee2325ef818f


fix in MOTIS um mit den Daten trotzdem umgehen zu können https://github.com/motis-project/nigiri/commit/198e3de82663cbf0e057af1348a2c03e1fdee665

felixguendling avatar Mar 06 '25 16:03 felixguendling

In the corresponding NeTEx feed (e.g. in Line VGSN-VGSN-460), this stop (= Quay) has a Location without coordinates. Nevertheless, it's parent StopPlace has coordinates:

<stopPlaces>
            <StopPlace id="DE::StopPlace:2253_master::" version="1740831386">
              <keyList>
                <KeyValue>
                  <Key>GlobalID</Key>
                  <Value>de:15087:2253</Value>
                </KeyValue>
              </keyList>
              <Name>Sangerhausen, Bonifatiusplatz</Name>
              <Centroid>
                <Location>
                  <Longitude>11.303825</Longitude>
                  <Latitude>51.479668</Latitude>
                </Location>
              </Centroid>
              <TopographicPlaceRef ref="DE::TopographicPlace:80133::" version="1740831386"/>
              <AuthorityRef ref="DE::Authority:326::" version="1740831386"/>
              <StopPlaceType>other</StopPlaceType>
              <quays>
                <Quay id="DE::Quay:225301_NASA_MM::" version="1740831386">
                  <keyList>
                    <KeyValue>
                      <Key>GlobalID</Key>
                      <Value>de:15087:2253::01</Value>
                    </KeyValue>
                  </keyList>
                  <Name>Steig 01</Name>
                  <Centroid>
                    <Location>
                      <Longitude>11.303213</Longitude>
                      <Latitude>51.479392</Latitude>
                    </Location>
                  </Centroid>
                </Quay>
                <Quay id="DE::Quay:225303_NASA_MM::" version="1740831386">
                  <keyList>
                    <KeyValue>
                      <Key>GlobalID</Key>
                      <Value>de:15087:2253::03</Value>
                    </KeyValue>
                  </keyList>
                  <Name>Steig 03</Name>
                  <Centroid>
                    <Location/>
                  </Centroid>
                </Quay>
              </quays>
            </StopPlace>

Though this should be fixed at the root, the DELFI GTFS export should have access to the parent location and rather export that than -90/360

hbruch avatar Mar 06 '25 17:03 hbruch

Wir haben das zuständige VU über die fehlerhafte Koordinate informiert und um schnellst möglichste Behebung gebeten.

CM-RMS avatar Mar 07 '25 07:03 CM-RMS

Ich schlage eine QualityGate vor, welches die Entgegennahme solch fehlerhafter Daten bereits verweigert und somit das Feedback weiter nach vorne in die Pipeline verlagert.

hbruch avatar Mar 07 '25 07:03 hbruch

Wir arbeiten zur Zeit mit unserem Systemhaus daran unsere QualityGates um diese Prüfung zu erweitern.

CM-RMS avatar Mar 07 '25 07:03 CM-RMS