[OSM-talk] Who interprets semicolon in tag values?

Jo winfixit at gmail.com
Fri May 31 15:44:07 UTC 2013


When standing in front of a bus stop, it's easy to see which bus lines are
served by it. I add this information to

route_ref

This enables me to check later on when trying to add the stop to the proper
route relations.

In the mean time I have a database file with all the bus stops in the
region and which buses pass by at what time . The script which creates an
OSM file based upon this also populates route_ref.

It is then very easy to find all stops served by a given line:

RR route_ref="(^|.+;)17(;.+|$)" inview

This is a regular expression search.

Jo

2013/5/31 Jochen Topf <jochen at remote.org>

> Hi!
>
> We have had an informal convention for a long time to use a semicolon
> (;) in tag values to separate multiple values, for instance
> "ref=I 70; US 40" to denote that there are two numbered roads on a way.
> But most software out there doesn't actually interpret this in any
> special way.
>
> If you know of any software that actually does interpret this specially,
> please tell me. I am trying to get an idea where and how this is used in
> the real world. You can answer here on the list or write to me
> privately, I'll summarize for the list later. Thanks!
>
> Jochen
> --
> Jochen Topf  jochen at remote.org  http://www.jochentopf.com/  +49-721-388298
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20130531/66c81788/attachment.html>


More information about the talk mailing list