public-transport / transitous

Free and open public transport routing.
https://transitous.org
181 stars 53 forks source link

[Spain] Add GTFS feeds from NAP #118

Open Robot8A opened 7 months ago

Robot8A commented 7 months ago

The Spanish NAP (National Access Point) is available here https://nap.mitma.es/. It has feeds from operator companies and regional governments mixed, so some preprocessing to avoid duplicates may be needed. The NAP only has the feeds from the companies and governments who want to release them, having therefore gaps in the coverage.

Chaikney commented 6 days ago

I am having a quick look at this now. The NAP page shows 114 data sources and the es.json file appears to have 110 sources. (Crude count on "name" excluding the 2 maintainers.) Before I go deeper into trying to find what the other 4 are, are there criteria that might be excluding some of those sources? (I thought it might exclude the ferries / maritimo, but the ferries are there.)

jbruechert commented 6 days ago

I think they might not have existed when the list was put together. If you can find a machine readable list from the NAP, it would be great to have a script to generate feeds/es.json, like we have for France and Austria.

Robot8A commented 6 days ago

There is an API, which documentation is here: https://nap.transportes.gob.es/Account/InstruccionesAPI