[Open-transport] Hafas Raw Data Format to GTFS conversion (Zürich)

Thomas thomaskoch at gmail.com
Mon May 27 12:51:48 UTC 2013


I'm pretty busy this week, but i can look into it.
I've build multiple  GTFS converters for multiple formats, this format
looks somewhat similar to IFF but seems to be binary?. OpenPlanB worked on
converting data from the HAFAS CD's but never completed a GTFS converter.

In any case the startpoint is to dump the data into tables and then build a
series of SQL query's to convert it to GTFS schema.

Kind regards,
Thomas Koch

On Mon, May 27, 2013 at 2:34 PM, Stefan Wehrmeyer <stefan.wehrmeyer at okfn.org
> wrote:

> Dear list,
>
> I was recently approached by someone from Zürich interested in GTFS data.
> It turns out the Hafas Raw Data Format is available but no GTFS data and I
> couldn't find a conversion tool.
>
> The Hafas raw format is a fixed-column text format as described here:
> http://labs.rejseplanen.dk/files/Data/HafasFormat.pdf
>
> It's not that easy to parse and building a converter to GTFS is likely not
> difficult but time consuming.
>
> I found a parser written in C++ that is embedded in another huge project,
> but it can be a place to start:
>
> https://extranet.rcsmobility.com/svn/synthese3/trunk/src/61_data_exchange/HafasFileFormat.cpp
> (However, it may not be the best place to start)
>
> If anyone knows a tool for conversion, please let me know.
> If you are interested in writing such a tool, I'm glad to help, but it's
> not something I can put a lot of effort into right now.
>
> Cheers
> Stefan
> _______________________________________________
> open-transport mailing list
> open-transport at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/open-transport
> Unsubscribe: http://lists.okfn.org/mailman/options/open-transport
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-transport/attachments/20130527/3a6b6981/attachment.html>


More information about the open-transport mailing list