[OSM-talk] Who interprets semicolon in tag values?

Serge Wroclawski emacsen at gmail.com
Fri May 31 15:52:00 UTC 2013


I have used it, but I don't have a current example.

It's difficult because to do it "right", you sometimes need to know if
a value is in the semi-colon value, and sometimes you want to know if
it matches exactly.

To that end, I ended up with somerthing like this (in pseudocode):

ele.tags = { name: "Joe's Crab Shack", amenity="restaurant;bar" }
ele.expanded_tags = {name: "Joe's Crab Shack", amenity: ["restaurant"], ["bar"]}

- Serge



More information about the talk mailing list