Closed ue71603 closed 2 months ago
any idea, why this is not working? For other italian files I guess more corrections are needed before (currently NAP not operational)
still no ServiceJourneyPattern. They exist in the original file
Update: The probelm is that there are ServiceJourneyPatternRef still in it. The information itself is stored in the PassingTimes. So perhaps you just have to remove the Ref to the SerivceJourneyPattern.
PassingTimes always needs a ServiceJourneyPattern, because it does not have order nor ScheduledStopPoints (Calls do).
Then the output for SNCF is wrong, too. There are PassingTimes, but no ServiceJourneys.
That statement is impossible ;) ServiceJourneyPatterns I guess?
IT
<passingTimes>
<TimetabledPassingTime id="IT:ITH3:TimetabledPassingTime:7-VE865-000-0083_vene_1" version="33">
<StopPointInJourneyPatternRef version="33" ref="IT:ITH3:StopPointInJourneyPattern:101_0"/>
<DepartureTime>07:10:00</DepartureTime>
</TimetabledPassingTime>
<TimetabledPassingTime id="IT:ITH3:TimetabledPassingTime:7-VE865-000-0083_vene_2" version="33">
<StopPointInJourneyPatternRef version="33" ref="IT:ITH3:StopPointInJourneyPattern:101_1"/>
<ArrivalTime>07:19:00</ArrivalTime>
<DepartureTime>07:19:00</DepartureTime>
</TimetabledPassingTime>
</passingTimes>
SNCF:
<TimetabledPassingTime id="FR:TimetabledPassingTime::SN14140FERRE_1385103-1" version="any">
<PointInJourneyPatternRef ref="FR:StopPointInServiceJourneyPattern::87673004_SN14140FERRE_1385103"/>
<DepartureTime>06:59:00</DepartureTime>
</TimetabledPassingTime>
<TimetabledPassingTime id="FR:TimetabledPassingTime::SN14140FERRE_1385103-2" version="any">
<PointInJourneyPatternRef ref="FR:StopPointInServiceJourneyPattern::87672253_SN14140FERRE_1385103"/>
<ArrivalTime>07:44:00</ArrivalTime>
<DepartureTime>07:46:00</DepartureTime>
</TimetabledPassingTime>
no id="FR:StopPointInServiceJourneyPattern::87673004_SN14140FERRE_1385103" but only reference
And also. After I "fixed" the Datasource problem. The result was valid. Even withouth the relsolved ref for the StopPointInServiceJourneyPattern ... we miss an id check there. netex.zip
Fixed.
file: IT-ITH3-TRENITALIA-NeTEx_L1.zip
commands
output from epip_db_to_db.py