[Tagging] [OpenStreetMap] social facility

Peter Wendorff wendorff at uni-paderborn.de
Tue Sep 14 18:39:56 BST 2010


  Hi.

On 14.09.2010 18:59, Sean Horgan wrote:
> [...]
> Also, if I wanted to capture specific data about that they offered, 
> I'd like to follow the amenity:recycling tagging scheme 
> (http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling):
>
> + homeless_shelter:programs=jobs
> + homeless_shelter:meals_served=breakfast
> + homeless_shelter:lodging=yes
> + homeless_shelter:emergency_medical=yes
>
> Is this a good model to follow?
I'm not sure.
I think, there are two general approaches to simulate a tree-style 
tagging scheme like this.
The first is to use more keys (as you do here with homeless_shelter:*), 
the second is to use more values and to concatenate multiple values by ; 
(like you will have at
homeless_shelter:meals_served=breakfast;lunch
(compare crossing=island;traffic_signals)

Both are good for some reasons:
using less keys provides easy access for the whole group of values;
using less values is more easy to parse and search - there is no string 
slicing needed.

But:
I would not mix these together.

Perhaps that's only my POV - feel free to argument against.

regards
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20100914/75fcfaac/attachment.html>


More information about the Tagging mailing list