Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELFI GTFS Koordinaten nicht in [-180, 180] #166

Open
felixguendling opened this issue Mar 6, 2025 · 4 comments
Open

DELFI GTFS Koordinaten nicht in [-180, 180] #166

felixguendling opened this issue Mar 6, 2025 · 4 comments
Labels
DELFI Fehler Hier liegt ein Fehler vor

Comments

@felixguendling
Copy link

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
motis-project/nigiri@198e3de

@felixguendling felixguendling added the Fehler Hier liegt ein Fehler vor label Mar 6, 2025
@felixguendling felixguendling changed the title Verbundkürzel: DELFI GTFS Mar 6, 2025
@felixguendling felixguendling changed the title DELFI GTFS DELFI GTFS Koordinaten nicht in [-180, 180] Mar 6, 2025
@derhuerst derhuerst added the DELFI label Mar 6, 2025
@hbruch
Copy link
Member

hbruch commented Mar 6, 2025

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

@CM-RMS
Copy link

CM-RMS commented Mar 7, 2025

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

@hbruch
Copy link
Member

hbruch commented Mar 7, 2025

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

@CM-RMS
Copy link

CM-RMS commented Mar 7, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DELFI Fehler Hier liegt ein Fehler vor
Projects
None yet
Development

No branches or pull requests

4 participants