On Mon, Mar 30, 2015 at 2:51 PM, fly <lowfligh...@googlemail.com> wrote:

> Am 30.03.2015 um 23:35 schrieb John F. Eldredge:
> > It's about time that renderers started supporting semicolon-delimited
> lists. Splitting apart a delimited string is a trivial programming task. I
> know, having worked as a programmer for the last 29 years.


It's not necessarily so trivial.  For example, the main OSM style is run by
backend that has surprising limits due to database design.
However a rendering engine that's iterating through objects could take:

amenity=toilets;drinking_water
fee=no
opening_hours=24/7
toilets:position=seated;urinal


And expand it to:

amenity=toilets
fee=no
opening_hours=24/7
toilets:position=seated;urinal

amenity=drinking_water
fee=no
opening_hours=24/7
toilets:position=seated;urinal


But quickly you have tag pollution and it is not clear semantically which
tag is the "main tag", and which tags refer to which amenity.
Somewhat clearer is:

amenity=toilets
drinking_water=yes
fee=no
opening_hours=24/7
toilets:position=seated;urinal


Which would expand to:

amenity=toilets
fee=no
opening_hours=24/7
toilets:position=seated;urinal

amenity=drinking_water
_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to