[Tagging] Tagging method of amenities at camp_sites

Dave Swarthout daveswarthout at gmail.com
Tue Mar 31 06:08:04 UTC 2015


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

Yes, good information. There is much ambiguity in that example if the
tagging is not done carefully and properly.

On Tue, Mar 31, 2015 at 11:03 AM, Bryce Nesbitt <bryce2 at obviously.com>
wrote:

> 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
>
>
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
>


-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20150331/df7381c3/attachment.html>


More information about the Tagging mailing list