New GTFS-feed for all public transport in Sweden

670 views
Skip to first unread message

Elias Arnestrand

unread,
Aug 22, 2012, 9:12:53 AM8/22/12
to googletran...@googlegroups.com, Lars Löfquist

Hi,

 

Last week we launched a nationwide feed for all public transport operators operating in Sweden. This feed is available at http://www.trafiklab.se/api/gtfs-sverige. You need a key to access the file and you get the key by a simple registration process at www.trafiklab.se

 

Would be great if you could publish information about this feed at GoogleTransitDataFeed.

 

Below you find a list of all operators in Sweden (per today) – all available through the feed.

 

SJ (http://www.sj.se)

NSB (http://www.nsb.no)

NSB/SJ (http://www.sj.se)

Inlandsbanan (http://resrobot.se)

Visingsötrafiken (http://www.visingso.net/visingsotrafiken)

UL (http://www.ul.se)

Länstrafiken Sörmland (http://www.lanstrafiken.se/sormland)

Östgötatrafiken (http://www.ostgotatrafiken.se)

Länstrafiken (http://www.jlt.se)

Länstrafiken (http://www.lanstrafikenkron.se)

KLT (http://www.klt.se)

Gotlands kommun (http://www.gotland.se/kollektivtrafiken)

Blekingetrafik (http://www.blekingetrafiken.se)

Hallandstrafiken (http://www.hlt.se)

Värmlandstrafik (http://www.varmlandstrafik.se)

VL (http://www.vl.se)

Dalatrafik (http://www.dalatrafik.se)

X-Trafik (http://www.x-trafik.se)

Länstrafiken (http://www.resrobot.se/pages/showpage.jsp?page_cd=RP2.NORRLANDINFO)

Destination Gotland (http://www.destinationgotland.se)

SL (http://www.sl.se)

Skånetrafiken (http://www.skanetrafiken.se)

Flygbussarna (http://www.flygbussarna.se)

Västtrafik (http://www.vasttrafik.se)

Ven-trafiken (http://resrobot.se)

Arlanda Express (http://www.arlandaexpress.com)

Länstrafiken (http://www.lanstrafiken.se/orebro)

Öresundstågen (http://www.oresundstag.se)

Tågkompaniet (http://www.tagkompaniet.se)

ENJ (http://resrobot.se)

Waxholmsbolaget (http://www.waxholmsbolaget.se)

DVVJ (http://resrobot.se)

Lennakatten (http://resrobot.se)

Bus4You (http://www.bus4you.se)

GoByBus (http://www.gobybus.se)

Y-buss (http://www.ybuss.se)

Veolia Transport (http://www.veolia-transport.se)

Tågab (http://www.tagakeriet.se)

Karlstadsbuss (http://www.karlstad.se/apps/symfoni/karlstad/karlstad.nsf/pages/karlstadsbuss.html)

Luleå Lokaltrafik (http://resrobot.se)

Trosabussen (http://www.trosabussen.se)

Strömma Expressbuss AB (http://www.gutelinjen.se)

Tågab (http://resrobot.se)

Tågab tågtaxi (http://resrobot.se)

Ressels Rederi (http://resrobot.se)

Blå Tåget Skand Jernbanor (http://resrobot.se)

Bus4You (http://resrobot.se)

GoByBus (http://resrobot.se)

Nettbuss Transfer (http://resrobot.se)

People Travel Group (http://resrobot.se)

Björks Buss (http://resrobot.se)

Roslagens Sjötrafik (http://resrobot.se)

Nobina Sverige (http://resrobot.se)

Strömma Buss (http://resrobot.se)

Miljötaxi (http://resrobot.se)

PR Newswire-tåget (http://resrobot.se)

Kustpilen (http://resrobot.se)

Swebus (http://www.swebus.se)

 

 

 

 

Best regards,


Elias Arnestrand

 


Elias Arnestrand
Affärsutvecklare

Samtrafiken i Sverige AB
Produktion/IT
Direkt: +4687623848
Mobil: +46707623848
Klarabergsgatan 35, 4 tr
111 21 Stockholm

http://www.samtrafiken.se

Beskrivning: Beskrivning: C:\Users\lars.lofquist\AppData\Roaming\Microsoft\Signaturer\Samtrafiken\ST_konf2012.gif

 

 

correiod...@gmail.com

unread,
Nov 7, 2016, 10:50:40 PM11/7/16
to GoogleTransitDataFeed, Lars.L...@samtrafiken.se, Elias.Ar...@samtrafiken.se, rafa.pe...@gmail.com
Dear Elias Arnestrand,

thank you for sharing the GTFS of the whole Sweden. That is certainly a great contribution to open data in transportation!

I was wondering if you could help me with a a small difficulty I am having. I have been trying to use Open Trip Planner (OTP) to analyze the GTFS of Sweden but OTP does not recognize the GTFS zipped file. I believe this is because the zipped file does not bring the file shapes.txt .

Is there a website where I can have access to the full GTFS dataset?

kind regards,

Rafael H M Pereira |PhD candidate
Transport Studies Unit (TSU)
School of Geography and the Environment
University of Oxford St. Edmund Hall

Twitter - @UrbanDemog

Marcus Young

unread,
Nov 8, 2016, 5:53:42 AM11/8/16
to GoogleTransitDataFeed
Hi

OTP definitely doesn't require shapes.txt which is an optional file in the gtfs spec. So I think your problem lies elsewhere.

Marcus

Correio Gmail

unread,
Nov 8, 2016, 6:55:50 AM11/8/16
to googletran...@googlegroups.com
Thank you Marcus.

I thought this was the reason why OTP is not recognizing the GTFS zipped file to build the graph. Do you know what else could be causing this ?

Best wishes,

Rafael Pereira

Sent from somewhere out there
> --
> You received this message because you are subscribed to a topic in the Google Groups "GoogleTransitDataFeed" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/googletransitdatafeed/pl_ByBZhJcE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to googletransitdat...@googlegroups.com.
> To post to this group, send email to googletran...@googlegroups.com.
> Visit this group at https://groups.google.com/group/googletransitdatafeed.
> For more options, visit https://groups.google.com/d/optout.

Marcus Young

unread,
Nov 8, 2016, 8:12:13 AM11/8/16
to GoogleTransitDataFeed
Does OTP build the graph with the OSM data and just not pick-up the GTFS zip file, or does OTP throw an error when you try and build the graph?

Marcus

Correio Gmail

unread,
Nov 8, 2016, 8:52:39 AM11/8/16
to googletran...@googlegroups.com
It's the first case. It does build the graph with the OSM data, but it does not pick-up the GTFS zip file.


Sent from somewhere out there

Marcus Young

unread,
Nov 8, 2016, 9:05:50 AM11/8/16
to GoogleTransitDataFeed

I suspect that is a problem with the command and/or placement of files then. Is the GTFS zip file in the same folder as the OSM file?


Rafael Pereira

unread,
Nov 8, 2016, 7:21:18 PM11/8/16
to googletran...@googlegroups.com
I've found the error.

OTP onlyrecognizes the GTFS file if the .txt files are in the root folder of the .zip file.

Thanks for your help, Marcus!

best,

Rafael Pereira

2016-11-08 14:05 GMT+00:00 Marcus Young <mar...@graspit.co.uk>:

I suspect that is a problem with the command and/or placement of files then. Is the GTFS zip file in the same folder as the OSM file?


--
You received this message because you are subscribed to a topic in the Google Groups "GoogleTransitDataFeed" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/googletransitdatafeed/pl_ByBZhJcE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to googletransitdatafeed+unsub...@googlegroups.com.
To post to this group, send email to googletransitdatafeed@googlegroups.com.

Marcus Young

unread,
Nov 8, 2016, 7:25:39 PM11/8/16
to GoogleTransitDataFeed
Good you have it fixed. But that isn't an OTP issue. To be a valid gtfs zip the text files should be at the top level of the zip file.

Elias Arnestrand

unread,
Nov 8, 2016, 8:57:01 PM11/8/16
to correiod...@gmail.com, GoogleTransitDataFeed, Lars Löfquist, rafa.pe...@gmail.com

Dear Rafael,

 

Thanks for your note and your interest in the Swedish GTFS!

 

shapes.txt is an optional (https://developers.google.com/transit/gtfs/reference/) file in a GTFS-set. We do unfortunately not have this data, nor provide it in GTFS. Therefore, you can’t use the dataset in an application that requires shapes.txt.

 

Though I think Open Trip planner is possible to use without shapes.txt?

 

Thanks and best regards,

 

Elias

 

 


Elias Arnestrand
Trafiklab

Samtrafiken i Sverige AB

Centralplan 3
111 20 Stockholm
Telefon: +46707623848

Elias Arnestrand

eskrivning: Beskrivning: C:\Users\lars.lofquist\AppData\Roaming\Mi

 

 

Reply all
Reply to author
Forward
0 new messages