2012/3/1 Erik Johansson <[email protected]> > On Wed, Feb 29, 2012 at 16:07, Janko Mihelić <[email protected]> wrote: > > The interpretation of what a low volume line is and isn't seems hard, > and probably differ a lot between different areas. > > How do I do the decision that: > "transport_frequency=Mo-Fr 08:00-23:00 t30; Sa 08:00-22:00 t25" > means > render as low volume > > Do you have code for this? >
I have no code for now, only ideas. I think that a gradual change of frequency would be better than a cut off at a number of trips. The change would be visualised with hues of blue and red. It would be best if the number for low and high volume would be picked differently for each operator. For example, take the lowest and highest frequency of one operator, those are blue and red, purple in the middle. This can't be done only with the renderer, there should be a pre-render re-factoring of the planet file. "transport_frequency=Mo-Fr 08:00-23:00 t30; Sa 08:00-22:00 t25" This one would be ( 30/24 + 25/24 ) / 2 = 1.146 trips per hour It leaves out starting and ending time of the line, but I think that's enough information for a map with one layer. Janko
_______________________________________________ Talk-transit mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-transit
