[Tagging] Tagging method of amenities at camp_sites
Bryce Nesbitt
bryce2 at obviously.com
Tue Mar 31 04:03:13 UTC 2015
On Mon, Mar 30, 2015 at 2:51 PM, fly <lowflight66 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20150330/480e0243/attachment-0001.html>
More information about the Tagging
mailing list