[OSM-dev] Objects with the same key multiple times?

Andy Allan gravitystorm at gmail.com
Tue Oct 2 15:33:23 BST 2007


On 10/2/07, Robert (Jamie) Munro <rjmunro at arjam.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andy Allan wrote:
>
> > Otherwise, a user-friendly editor needs to unwind the semicolons, and
> > everyone who types things into the values needs to avoid using a
> > certain character, or type an escape sequence ('\;'?) or some such.
>
> Currently, any semi-colon in a node or segment tag breaks the system
> without reporting an error, you just loose data. There is no way to
> escape them. In way tags, however, it works fine.

I realise that - I read the earlier discussion. That's just an issue
with the current API *implementation* though, and can be fixed without
anyone noticing.

> > Not to mention the overhead in dealing with them for rendering - how
> > do I know when a semicolon in a value in the planet file is actually a
> > semicolon, or a value delineator? Guesswork?
>
> Every previous discussion on this that I can remember has said a
> semi-colon is *always* a separator.

I must have missed this. How do I encode a semicolon into free text
then? Assuming something, somewhere, has a single value with a
semicolon in it - some trendy club called "Bar ;", perhaps? :-)

Cheers,
Andy

> Robert (Jamie) Munro
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHAkl6z+aYVHdncI0RAsbcAKDr1VTpvi+tdh4v7iww7AVQDA61GQCfRgYY
> 0dKJzhIwvlg653dOzqZ7kxM=
> =C1NW
> -----END PGP SIGNATURE-----
>




More information about the dev mailing list