noi-techpark / bdp-elaborations

GNU Affero General Public License v3.0
0 stars 4 forks source link

As SkyAlps I would like to convert the currently available GTFS export in NeTEx, so that this data can be integrated in the Italian National Access Point and be used by national MaaS Operators #37

Open rcavaliere opened 1 month ago

rcavaliere commented 1 month ago

At national level there are GTFS converters that can convert GTFS exports in NeTEx, ensuring the compliance with the Italian specifications. In order to use one of them and produce the requested NeTEx export also for the SkyAlps dataset, we need to fix the GTFS export as follows:

Activities to do:

rcavaliere commented 1 month ago

@clezag some indications for the provision of the additional elements in the GTFS:

For the implementation of the Haversine distance check e.g. https://it.martech.zone/calculate-great-circle-distance/

Remember also to include the references to the shapes.txt fields as mentioned in the main description, namely in the trips.txt file and in the stop_times.txt file.

clezag commented 3 weeks ago

@rcavaliere now up in testing. https://flighdata-skyalps-gtfs-test.s3.eu-west-1.amazonaws.com/GTFS.zip

rcavaliere commented 2 weeks ago

@clezag very good, I will test it and let you know in case we need some adaptations

rcavaliere commented 2 weeks ago

@clezag seems to be OK, the only thing which I think is not correctly implemented is in my view the shape_id, which is equivalent to the route_id. And why we have multiple records for each shape_id? We should have maximum two records per shape_id in the shapes.txt file.

clezag commented 3 days ago

@rcavaliere good catch! Fixed now in testing

rcavaliere commented 2 days ago

@clezag now shapes.txt looks fine! The only thing which is probably still not optimal is that route_id and shape_id are identical, maybe we could append something in the shape_id to differentiate them (see my proposal above).