[OSM-dev] Escaping characters in node/way tags
steve at asklater.com
Thu Mar 1 12:17:47 GMT 2007
its worse than that, its === ;;; IIRC.
fixed in the rails port, of course :-|
Richard Fairhurst wrote:
> 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?
> dev mailing list
> dev at openstreetmap.org
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev