[OSM-dev] OSM and MongoDB

Ian Dees ian.dees at gmail.com
Tue Apr 12 01:58:13 BST 2011


On Mon, Apr 11, 2011 at 6:36 PM, Sergey Galuzo <sergal at microsoft.com> wrote:

>  Hi,
>
>
>
> I am working on evaluation of MongoDB for several storage solutions at
> hand. Some of them resemble current OSM editing database. I have heard that
> OSM dev is/was evaluating MongoDB also. I was wondering whether it possible
> to share the findings?
>
>
>

In my experimentation with MongoDB (seen here:
https://github.com/iandees/mongosm/) I found it to be very slow. Inserts
were speedy, but bounding-box queries took a long time.

The most recent dev version of MongoDB includes "multi-location documents"
support:
http://www.mongodb.org/display/DOCS/Geospatial+Indexing#GeospatialIndexing-MultilocationDocuments

This would allow a single way document to be indexed at multiple locations
and vastly speed up the map query.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110411/074012ea/attachment.html>


More information about the dev mailing list