[OSM-talk] Re: [OSM-dev] MassGIS dataset

David Sheldon dave at earth.li
Fri Jun 9 14:51:56 BST 2006


On Thu, Jun 08, 2006 at 04:27:57PM -0400, Christopher Schmidt wrote:
> A Python version of this looks like:
> http://crschmidt.net/projects/openstreetmap/ox.py

You will want to make sure that any ' in your key/tag values are escaped
to '.

BTW, strictly you don't need to escape >, just < in your attributes, but
you do need to escape ' as ' if you are using 's to delimit your
attributes, and " as " if you are delimiting your attributes with
"s.

David 
-- 
            "An idea that is not dangerous is unworthy of
            being called an idea at all." -- Oscar Wilde.




More information about the talk mailing list