[OSM-talk] Who interprets semicolon in tag values?
Philip Barnes
phil at trigpoint.me.uk
Tue Sep 24 09:31:09 UTC 2013
Bank and ATM are more or less synonymous these days, I cannot think of a bank without an ATM. The interesting ATM tags are the ones that are not at a bank.
Sometimes multitagging may mean that the mapper couldn't decide, but in other cases they really are both and different renderers may choose which tag is the most important to its user.
Going back to the pub/hotel, a walking/cycling map may want to render a pub, whereas a tourism map may want to render a hotel.
Phil (trigpoint)
--
Sent from my Nokia N9
On 24/09/2013 9:40 Tobias Knerr wrote:
On 24.09.2013 10:13, Philip Barnes wrote:
> However amenity=pub;hotel makes perfect sense.
Not really, because semicolons in amenity values lack a clear meaning.
Mappers try to express very different concepts with the semicolon
construct. For example, you may encounter an "amenity=bank;atm", which
means that there are two entities, a bank and an atm, and one is inside
the other. But you may also encounter things like
"amenity=cafe;restaurant", where there is only one entity, but the
mapper couldn't decide whether it felt more like a cafe or more like a
restaurant.
There are probably more uses of the semicolon for amenity alone, and
while each makes sense to the original mapper and perhaps even a human
reader who can interpret the intention, a computer doesn't have that
ability.
_______________________________________________
talk mailing list
talk at openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20130924/d25832e0/attachment.html>
More information about the talk
mailing list