[Open-transport] Hafas Raw Data Format to GTFS conversion (Zürich)
Thomas
thomaskoch at gmail.com
Tue Jun 18 18:21:08 UTC 2013
Actually i never put any effort in calendar.txt compression. It's major
pain in the butt and can be already be done by GTFS transformer of
OneBusAway.
Anyway extended your code with calendar_dates.txt conversion from the
bitfields and writing to csv, pull request is already on your way.
https://github.com/skywave/hafas2gtfs/commit/6ad43954fbd05bdb2cee94b6d5b08cec31e4feed
On Tue, Jun 18, 2013 at 7:59 PM, Stefan de Konink <stefan at konink.de> wrote:
> On Tue, 18 Jun 2013, Stefan Wehrmeyer wrote:
>
>
> Hafas defines the Bitfield (I already extracted that) to define services
>> across the whole schedule. GTFS defines the validity of services only
>> across a week. Bringing this together is tricky.
>>
>
> You could also use calendar_dates.txt, but Thomas is a magician with
> compressing those back into week schedules ;)
>
>
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-transport/attachments/20130618/70e4f1ec/attachment.html>
More information about the open-transport
mailing list