MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms.

learn more… | top users | synonyms

1
vote
0answers
29 views

Problem with finding point within the box in MongoDB

I'm doing a search within box. It works perfect except only one situation. Let me describe it. Suppose the point has coordinates: (lng:-155, lat:19) If we have box: sw - (-170, 10), ne (29,69) that ...
1
vote
0answers
36 views

GDB conversion to MongoDB

I'm interested in converting a GeoDatabase to a MongoDB database. more specifically, given I have a GeoDatabase (.gdb files), how do I convert these files to fit into a MongoDB Database (.bson files). ...
1
vote
0answers
133 views

“Can't extract geo keys from object, malformed geometry?” Possible self intersection?

My '2dsphere' index creation fails at a document. The command i write for creation of index is: db.collection.ensureIndex({'geometry' : "2dsphere"}) It returns the following error: { "err" : ...
1
vote
2answers
59 views

Data structure: mongoengine to GeoJson

I recently posted my first question on StackOverflow, but I think the question was quite extensive and full of potential errors. So I'd begin again, step-by-step, with a much shorter and simplier ...
2
votes
1answer
55 views

What is the best or recommended way to store a GeoJSON FeatureCollection in MongoDB?

The comments in this question: Shapefile to GeoJson conversion using C# raised another one: what is the best way to store a GeoJSON FeatureCollection in MongoDB? Is there any sort of convention when ...
1
vote
2answers
93 views

Shapefile to GeoJson conversion using C#

I have some shapefile which I want to convert to GeoJSON and store in MongoDB for querying. Is it possible to take a shapefile and convert it to GeoJSON format in C#? I have been able to convert ...
2
votes
1answer
70 views

How do you build a MongoDB spatial index for GeoJSON geometry?

I'm attempting to build a spatial index on a collection of features that I created from: ogr2ogr -f GeoJSON out.json ... and then imported into MongoDB (2.6.1). When I attempt to build a spatial ...
1
vote
0answers
57 views

Working with GeoServer and MongoDB

I am trying to get MongoDB working with GeoServer. I am using the BoundlessGeo Suite (comes with GeoServer and other tools) I was able to find the MongoDB extension for GeoServer. Got it installed ...
1
vote
0answers
90 views

how to publish the layer from Mongodb store in geoserver?

I am using geoserver 2.5 MongoDb 2.4 Windows 7 64bit I am imported json data file into MongoDb using the below query. mongoimport --db GeoMongodb --collection states --file E:/states.json ...
0
votes
0answers
13 views

project from mongodb to a map

Is there any way I can directly project my coordinates stored in mongoDB onto a map? Some sort of opensource tool like OpenJump or something, which would allow me to connect to mongoDB and extract ...
1
vote
0answers
29 views

mongoDB query not working as expected

My mongoDB collection has all three types of shapes. A point is stored as { 'CE_NO': '_', 'E_NAME': 'RAILWAY BOOKING CENTER', 'SRCTYPE': 'Facility', 'geom': { 'coordinates': [ ...
3
votes
1answer
145 views

Why is the exterior shell of this GeoJSON invalid?

I got some data from Zillow's neighborhood database as shapefiles and converted them to GeoJSON. However, some of the objects appear to be malformed when inserting them into MongoDb. Is there ...
1
vote
0answers
19 views

Similar paths to Compare [duplicate]

I want to implement a mechanism to compare similar / identical paths. For example, a person who makes the trip home - work every day, be able to detect these paths and create groups to compare ...
0
votes
1answer
286 views

Search for geojson polygon in mongodb implementing a custom vector tileserver

I am building a vector tileserver in node.js using mongo 2.4.7 as database. My database contains geojson data from multiple sources and they are in many layers. It is important to render the layers ...
1
vote
0answers
110 views

GeoDjango with MongoDB

Has anyone had experience successfully deploying GeoDjango with MongoDB? Is it possible? If so, how is it as simple as as installing the non-relational fork of Django and setting MongoDB as the ...
2
votes
2answers
304 views

Retrieve data from MongoDB in OpenLayers

I wonder if it's possible to retrieve "directly" data from MongoDB to display them in an OpenLayers Map ? Maybe using some sort of API ? If you know more about this, or if you think it's a stupid ...
3
votes
0answers
300 views

GIS applications and noSQL solutions

I'm a bit lost about NoSQL and applications using GIS. My aim, to sum it up quickly, is to store geospatial object into a MongoDB database and display them into a map via OpenLayers. Is it possible ...
2
votes
1answer
483 views

How to upload TIGER shapefiles into MongoDB?

I have the school district shapefiles from TIGER for Michigan, from: ftp://ftp2.census.gov/geo/tiger/TIGER2012/UNSD/ I'd like to use MongoDBs geoquery features to interrogate this data. How do I ...
1
vote
2answers
161 views

Mysql to nosql. Best solution?

We are working on our new vehicle tracking system. We have been making use of mySQL for the past two years. However we have been discussing moving to a noSQL database. We have a high number of reads ...
0
votes
2answers
217 views

Will mongodb simplify geometry like PostGIS?

I use the ST_Simplify() function in PostGIS, and am moving to a new geostack with mongodb. Does it have a comparable function?
2
votes
1answer
885 views

Getting MongoDB working with GeoServer 2

I'm trying to use MongoDB with GeoServer but it is actually not working at all. Someone once posted this: Getting MongoDB Working with GeoServer, but since he could solve his problem without any help ...
4
votes
1answer
440 views

MongoDB: Search for polygons which have a certain location

Good day :). I am trying to implement a search feature on MongoDB using Mongoose.js , the short version of which is this: I tag locations on a map as polygons. and give them names. Then when an user ...
2
votes
1answer
1k views

Getting MongoDB Working with GeoServer

I'd like to use a MongoDB database from GeoServer. There seems to be a GeoTools plug-in available (http://repo.opengeo.org/org/geotools/gt-mongodb/), and I've dropped the latest version (8.2) into the ...
3
votes
2answers
2k views

How to perform spatial queries on polygons in mongodb?

I will build a GIS system based on polygons, not just points. I wanted to use mongodb or postgis. how do this in mongodb? Query A - get the center of a polygon Query B - distance between two ...
3
votes
1answer
312 views

Can we do operations like Geo-referencing and Geo-coding in NoSQL Databses

I want to generate a map, using some spatial data provider like OSM. I am trying to put in some dynamic data-set on top of the base map. The data size is considerably large enough to be called as ...
4
votes
1answer
461 views

How to create tiles with points from MongoDB?

I have a (potentially) large data set stored in MongoDB. Each record is just lat, lon and some float-point value. Each pair of lat and lon is unique, but the whole set is not covering the Earth, there ...
6
votes
1answer
242 views

Plotting 1M+ intensity reading as custom shapes with Google Maps

I currently have a database (Mongo, atm) holding roughly 1M points of data corresponding lat/lon/intensity values that I'd like to plot over a region using the Google Maps API. Ideally, I'd like to ...
0
votes
1answer
425 views

Problem running bounding-box queries

I am working on a google map application, to display the items that are listed in the selected rectangular area. Below image give you some understanding. Based on the co-ordinates ...
23
votes
3answers
8k views

Best GIS system for high performance web application - PostGIS vs MongoDB

I am working on a web/mobile application based on location data. Since i am already familiar with MongoDB, i found the geospatial indexing of mongo is quite suitable for my needs. As i am mainly ...
19
votes
3answers
5k views

How to store lines and polygons in JSON documents?

Looking at the increasing NoSQL movement and considering that databases like MongoDB offers a new perspective in flexible data storage for GIS. What is the best way to store lines and polygons in ...