[OSM-dev] Escaping characters in node/way tags

Richard Fairhurst richard at systemeD.net
Thu Mar 1 12:17:14 GMT 2007

Frederik Ramm wrote:

> Hi,
>> 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.
> If that is true then it is the obligation of the API to quote (and
> unquote) stuff according to its internal needs. I'm sure it is not the
> user's job to think about internal workings of the API and submit data
> in a format deemed suitable!

Absolutely, it's just that Potlatch doesn't use the standard API. ;)

(mutter mutter escaping characters so much easier in Perl than Ruby  
mutter mutter)


More information about the dev mailing list