[OSM-dev] Escaping characters in node/way tags
Richard Fairhurst
richard at systemeD.net
Thu Mar 1 12:08:05 GMT 2007
Currently node tags are stored in the OSM db as a string like this:
highway=primary;name=High Street;ref=A429
whereas way tags are stored in a separate table with 'k' and 'v' columns.
From this I'm concluding:
1. ';' in node keys/values should be escaped as \;
2. '=' in node keys/values should be escaped as \=
3. No escaping is necessary for way keys/values
Am I right?
cheers
Richard
More information about the dev
mailing list