[OSM-dev] OSM and MongoDB

Steve Coast steve at asklater.com
Tue Apr 12 19:00:45 BST 2011


bbox queries using the built in spatial indexing presumably? OSM has 
it's own magical bitmask for that, that may also be as fast in mongo, 
who knows.

On 4/11/2011 5:58 PM, Ian Dees wrote:
> On Mon, Apr 11, 2011 at 6:36 PM, Sergey Galuzo <sergal at microsoft.com 
> <mailto: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.
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110412/4c607ff9/attachment.html>


More information about the dev mailing list