-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I don't know if this is a bug or if this is asking for an improvement
Use the GTFS file at https://www.data.gouv.fr/fr/datasets/r/e2942b55-3623-4509-880c-8af3bdc0ff79
The agency.txt is
agency_id,agency_name,agency_url,agency_timezone,agency_phone,agency_lang,agency_fare_url,agency_email,agency_primary
11215498,Keolis Bassin de Thau,www.mobilite.agglopole.fr,Europe/Paris,+33467530101,fr,,,1
as you can see agency_url is not valid and so the row is removed from output -> fine
but nothing in the logs indicate this
# cat /data/gtfs/agency.txt
agency_id,agency_name,agency_url,agency_timezone,agency_phone,agency_lang,agency_fare_url,agency_email,agency_primary
11215498,Keolis Bassin de Thau,www.mobilite.agglopole.fr,Europe/Paris,+33467530101,fr,,,1
/ # gtfstidy --fix -EAPICOS -s -c --keep-col-order -o /data/gtfs_clean /data/gtfs
Parsing GTFS feed in '/data/gtfs' ... done.
Removing unreferenced entries... done. (-0 trips [-0.00%], -0 stops [-0.00%], -0 shapes [-0.00%], -0 services [-0.00%], -0 routes [-0.00%], -0 agencies [-0.00%])
Removing redundant agencies... done. (-0 agencies [-NaN%])
Removing redundant stops... done. (-0 stops [-0.00%])
Reclustering stops... done. (-0 clusters) [-0.00%]
Remeasuring shapes... done. (0 shapes remeasured)
Minimizing shapes... done. (-0 shape points [-0.00%])
Removing redundant shapes... done. (-0 shapes [-0.00%])
Removing redundant trips... done. (-0 trips [-0.00%])
Removing unreferenced entries... done. (-0 trips [-0.00%], -0 stops [-0.00%], -0 shapes [-0.00%], -0 services [-0.00%], -0 routes [-0.00%], -0 agencies [-0.00%])
Removing service duplicates... done. (-0 services [-0.00%])
Minimizing services... done. (+0 calendar_dates.txt entries [+NaN%], +0 calendar.txt entries [+0.00%])
Outputting GTFS feed to '/data/gtfs_clean'... done.
/ # cat /data/gtfs_clean/agency.txt
agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email
Is it possible to have a log like
Removing errors... done. (-0 trips [-0.00%], -0 stops [-0.00%], -0 shapes [-0.00%], -0 services [-0.00%], -0 routes [-0.00%], -1 agencies [100.00%])
Metadata
Metadata
Assignees
Labels
No labels