skinkie / reference

Personal repository where I collect working examples to understand inner workings while building PyNeTExConv
GNU Affero General Public License v3.0
0 stars 1 forks source link

stops.txt not included during export into gtfs (based on blablacar) #59

Closed ue71603 closed 1 month ago

ue71603 commented 1 month ago

file: gtfs.zip

command sequence:

del C:/Users/ue71603/MG_Daten/conversion/blablacar/*.duckdb
python gtfs_import_to_db.py C:/Users/ue71603/MG_Daten/conversion/blablacar/gtfs.zip  C:/Users/ue71603/MG_Daten/conversion/blablacar/gtfs-import.duckdb
python gtfs_convert_to_db.py C:/Users/ue71603/MG_Daten/conversion/blablacar/gtfs-import.duckdb C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-import.duckdb
python epip_db_to_db.py C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-import.duckdb C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-import-epip.duckdb
python epip_db_to_xml.py C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-import.duckdb C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-import-epip.duckdb C:/Users/ue71603/MG_Daten/conversion/blablacar/netex.xml.gz

del C:/Users/ue71603/MG_Daten/conversion/blablacar/*.duckdb
python netex_to_db.py C:/Users/ue71603/MG_Daten/conversion/blablacar/netex.xml.gz  C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-database.duckdb
python netex_db_to_gtfs.py C:/Users/ue71603/MG_Daten/conversion/blablacar/netex-database.duckdb C:/Users/ue71603/MG_Daten/conversion/blablacar/gtfs_output.zip
del C:/Users/ue71603/MG_Daten/conversion/blablacar/*.duckdb

However, the stops.txt was not created.

ue71603 commented 1 month ago

image

ue71603 commented 1 month ago

The problem was already there in the netex.xml.gz from the first part (GTFS->NeTEx): All ScheduledStopPoints were missing. They were not exported into the XML. The Refs were there....

skinkie commented 1 month ago

This should be resolved as well.

ue71603 commented 1 month ago

Also no longer working, because the xsdata part is broken.

  File "C:\Users\ue71603\MG_Daten\github\reference\gtfs-netex-test\netex\object_refs_rel_structure.py", line 34, in <module>
    from .booking_debit_ref import BookingDebitRef
ModuleNotFoundError: No module named 'netex.booking_debit_ref'
skinkie commented 1 month ago

See other bug.

ue71603 commented 1 month ago

seen it