[OSM-dev] OSM and CouchDB/GeoCouch
Lars Francke
lars.francke at gmail.com
Mon Jul 5 09:52:37 BST 2010
> The code is here: http://github.com/iandees/mongosm
I just had a quick look at it because I've never used MongoDB before
and was interested.
This line[1] makes me want to cry (not your fault). There's always
"this one catch" with a solution that looks perfect otherwise. Now
you've got to escape everything. I had a look at the documentation
afterwards and it looks like you'll need to introduce another special
case for the "$"[2].
Cheers,
Lars
[1] http://github.com/iandees/mongosm/blob/master/insert_osm_data.py#L58
[2] http://www.mongodb.org/display/DOCS/Legal+Key+Names
More information about the dev
mailing list