[Tagging] Multiple values with semicolons (was: Voting - Blood donation 2)

Friedrich Volkmann bsd at volki.at
Mon Jul 20 20:45:43 UTC 2015


On 20.07.2015 10:55, Marc Gemis wrote:
> On Mon, Jul 20, 2015 at 10:32 AM, Ruben Maes <ruben.maes96 at gmail.com
> <mailto:ruben.maes96 at gmail.com>> wrote:
> 
>     He proposes to use a semicolon-separated list, e.g.
>     donation:compensation=payment;vouchers.

There is also a third option: Dropping the pure donation:compensation key in
order to just use donation:compensation:something=yes/no. This would be
consistent without a need for semicolons, although I prefer the semicolon
values anyway because they come with shorter keys.

> 1) For me the major problem is when you try to further specify the
> semi-colon separated values.
> E.g amenity=pub;hotel, how do you specify different opening hours for the two ? 

That has nothing to do with semicolons. It's a general problem with tag
combinations. Say, if you use pub=yes + hotel=yes, you still cannot specify
different opening hours. Same thing with amenity=pub + tourism=guest_house.
The only solution is to split the object (e.g. 2 separate nodes).

-- 
Friedrich K. Volkmann       http://www.volki.at/
Adr.: Davidgasse 76-80/14/10, 1100 Wien, Austria



More information about the Tagging mailing list