getting exceptiong "service period count 101000 is greater than the maximum of 1024"

58 views
Skip to first unread message

yossi

unread,
May 23, 2012, 3:58:18 AM5/23/12
to graph...@googlegroups.com
so two questions:
1. why is there a limit?
2. can i remove this limit? i have a quite large gtfs file with data from several transportation companies which i need to use ..
i tried changing MAX_CALENDAR_SIZE from 1024 to 1000000 but that didn't work..

Stefan de Konink

unread,
May 31, 2012, 2:48:28 AM5/31/12
to graph...@googlegroups.com
Actually it does, you just need to edit the corresponding C-code too.

<https://github.com/StichtingOpenGeo/graphserver/commit/df901fe4004d912e8cf4d9cc66d17d0872708917>

Stefan

Brandon Martin-Anderson

unread,
Jun 6, 2012, 3:22:16 PM6/6/12
to graph...@googlegroups.com
When a schedule is encoded into GTFS format in the way envisioned by
its designers, a transit agency usually has about three service
periods - weekday, saturday, and sunday. There have been creative uses
of the concept of a service period that inflated that number into the
hundreds. If you're expressing a transit system in a way that requires
thousands or tens of thousands of service periods, you're doing
something crazycakes. Also, that'll severely hamper the efficiency of
Graphserver and potentially other trip planning engines as well.

-B
> --
> You received this message because you are subscribed to the Google Groups
> "Graphserver" group.
> To post to this group, send email to graph...@googlegroups.com.
> To unsubscribe from this group, send email to
> graphserver...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/graphserver?hl=en.
>
Reply all
Reply to author
Forward
0 new messages