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

Reply via email to