On Sun, Jan 03, 2010 at 11:33:36AM +0200, Marko Mäkelä wrote:
> Steve, all,
>
> Some relations legitimately contain elements in multiple roles.
> An example is bus routes that partially coincide with oneway streets
> or roundabouts. These are best drawn as closed loops that do cover
> the twoway streets twice (once in role=forward and once in role=backward).
>
> The attached patch implements an apply_once keyword that will apply the
> commands only once per matching relation member. OK to commit?
If nobody complains, I will commit the apply_once tomorrow.
I am also planning to append a list of ${ref} of
route=bus|route=ferry|route=subway|route=train|route=tram
relations to highway/railway stop names in the default style.
A list of routes would be appended in parentheses to the ${ref}
of the stop, like this:
Main Street+H123(4,5)
for a node defined like this:
highway=bus_stop
name=Main Street
ref=H123
shelter=yes
[member in type=route route=bus relations with ref=4 and ref=5]
I think that having the route refs in each stop can be useful in the
default style. In fact, I could include the highway=bus_stop attribute
${route_ref} too, but then sloppy mappers could be happy with that,
not defining bus route relations that would group the stops of a route.
Best regards,
Marko
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev