[OSM-talk] Several map features at the same place
richard at systemeD.net
Wed Sep 26 18:45:17 BST 2007
Alex Mauer wrote:
> That's .. horrible. Why only for nodes and segments? How /should/ it
> be done then? I take it there is no way for it to work, at least for
> nodes and segments (it works fine for ways...)
AIUI semi-colons (and equals signs) are actually escaped when inserted
in the DB so you can theoretically use them. (They're escaped as ;;;
and ===, oddly.)
Node and segment tags are stored in the db as a single "tags" column
in the relevant table, so the ; and = form part of the encoding.
Ways are stored a bit more sanely - a whole nother table with way id,
key and value tags - so the issue doesn't arise.
More information about the talk