> 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 _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev