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

0
votes
0answers
19 views

Add user inputted markers to leaflet from mongodb

I want to allow users to input geojson points via a form then be able to get the points using an ajax call to display them on a leaflet map. I think I am messing up the ajax call which gets the data ...
0
votes
0answers
18 views

MongoDB $geointersecting big polygons!

I'm using mongo to store some geolocalized data, with the goal of retriving them using $geointersect. Specifically I have this document stored in my db: { "loc": { "geometry": { "...
5
votes
2answers
72 views

Error when creating spatial index in MongoDB

I am wanting to use MongoDB for some basic spatial calculations (on some fairly large data), but I get an error when trying to create an index on the US Counties shapefile retrieved from the US Census'...
0
votes
0answers
15 views

Requesting Mongodb collection with 2dsphere index from Leaflet LatLng

I am using projection and 2dsphere index. Similar posts have been done on mongodb support site but it may be a pure GIS problem,so here I am ^^. My scenario is the following : I create a Point/...
1
vote
0answers
22 views

Load a GeoJSON layer with mixed geometries via QGIS's Python module

I have been able to connect my collection in MongoDB , write and store the collection to as .json file and load the GeoJSON file as a layer by QGIS's Python module unless there are mixed geometries. ...
1
vote
0answers
66 views

Using Python-Flask-MongoDB with Geolocation field running on App Engine?

I'm trying to write an app which would act as a address caching API, so basically it needs to store addresses (geolocations) and later on I could query on a random address and radius and get all the ...
3
votes
1answer
86 views

MongoDB Error Code 16755 - Can't extract geo keys for duplicate vertices and edge crossing

When I try to create an index on geometry db.polygons.createIndex({"geometry":"2dsphere"}), it stops at a certain polygon with the error code 16755. It says it Can't extract geo keys and then either ...
1
vote
0answers
63 views

Python MapServer MapScript & Mongo - Use GeoJSON String Vs File

I have been using Python MapScript bindings for MapServer - and they work great. A new datasource for the application I am working on is MongoDB. I have seen mentions of a MongoDB Driver for ...
2
votes
1answer
1k views

Import GeoJSON into PostGIS

I want to import GeoJSON avaliable in the following dump into PostGIS but I am not able to import it. I already imported geousa data available in this public dump into MongoDB smoothly. Let me know is ...
0
votes
2answers
75 views

Generate GeoJSON from MongDB Query

I want to extract my MongoDB query in a GeoJSON format it order to be able to visualize the result. I use Robomongo, which seems to be able to generate a JSON format. After I run the query, this file ...
0
votes
0answers
14 views

Importing osb.pbf data into MongoDB [duplicate]

I'm new to this stuff and trying to get the osm.pbf file imported into MongoDB. I have the data files in osm.pbf format and I would like to convert this into a GeoJSON first and import the resulting ...
6
votes
0answers
104 views

GeoJson structure

I currently designing a table/document database structure and use GeoJson to store points and routes. Currently I choose MongoDb, I will consider PostGIS later. I want to store route info for public ...
0
votes
0answers
348 views

mongodb $geoIntersects query for all documents who's polygon contains a point. no results?

I am trying to find all documents for a point that is within a document's polygon. using mongoTemplate to set up my geo index. mongoTemplate.indexOps(Boundary.class).ensureIndex( new ...
1
vote
0answers
57 views

Storing gdal2tiles output directory in MongoDB, add as XYZ layer in OpenLayers

I am regularly running gdal2tiles.py which generates millions of XYZ image tiles for me. Right now I either store these tiles as flat files on a Windows Server file server or I upload a directory to ...
2
votes
1answer
173 views

How can I clean/fix polygons in a Node.js application?

I am working on a simple Node.js application where users can walk around an area with a mobile device using GPS. This track is stored as a Polygon, but sometimes (due to inaccurate GPS signals or ...
0
votes
0answers
155 views

bounding box - generate coordinates

I will be using mongodb database which supports data on an Euclidean plane (not spherical). I will be performing queries which return all points within a box. For the box I need to specify the upper ...
1
vote
0answers
113 views

GeoServer + MongoDB + Boundless: CQL not working

After adding a collection of jsonArray data to my mongodb database I wanted to filter it with CQL, but it doesn't seem to work. My query goes like this: user.name like '%username%' When I apply ...
2
votes
1answer
236 views

SQLServer Shapefile Export won't load in MongoDB due to self intersection

I am having an issue loading a handful of GeoJSON files that were created from a shapefile export from SQLServer into MongoDB. This polygon will not load in MongoDB because of two duplicate vertices ...
1
vote
1answer
94 views

missing columns on wfs (geoserver/mongodb)

we are currently checking up on geoserver over mongodb on our dev-environment. we are having some difficulties: we have a collection, containing different document which answer to the same structure ("...
2
votes
0answers
305 views

MongoDB to store vehicle tracking information

I am building an app similar to Uber for tracking vehicles. Since the update frequency is so high (accounting for several users), I want to know the general practices involved for making writes faster ...
1
vote
1answer
240 views

Mongodb data store parameter on Opengeo Suite 4.1.1

I'm using Opengeo Suite 4.1.1 with built in Mongodb data store plugin on Ubuntu 12.04 LTS and Windows 8.0. Geoserver 2.5 snapshot and Mongodb 2.6 versions are used here. I was about to try Mapping #...
1
vote
1answer
517 views

Geoserver + MongoDB: connection OK but layers list empty

I setted up Geoserver (ver. 2.5.2) with the MongoDB plugin (ver. 11.2 - http://repo.opengeo.org/org/geotools/gt-mongodb/11.2/). The connection between Geoserver and MongoDB is OK and when I create a ...
1
vote
1answer
2k views

Is MongoDB more suitable than PostGIS as backend for geo-enabled Django website? [closed]

I am trying to select a backend for a geo enabled website written in Django. Is MongoDB an easy possibility or stick with PostGIS? What are the key considerations to choose one or the other if ...
4
votes
2answers
2k views

Importing OSM Data into MongoDB?

Can any one tell me how to import OSM data in mongoDB step by step ? This is the link of data http://download.geofabrik.de/europe/germany/baden-wuerttemberg/karlsruhe-regbez.html https://gis....
2
votes
0answers
79 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 ...
2
votes
1answer
157 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
931 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
368 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 ...
4
votes
1answer
2k 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 ...
2
votes
2answers
2k 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
881 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
512 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
402 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 --...
1
vote
0answers
214 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': [ ...
2
votes
1answer
350 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
27 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
649 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 ...
2
votes
0answers
330 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 ...
3
votes
2answers
768 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 ...
4
votes
1answer
717 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 ...
3
votes
1answer
1k 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
346 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
340 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?
3
votes
1answer
2k 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
996 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 ...
4
votes
1answer
3k 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
3k 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
0answers
368 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 ...
5
votes
1answer
796 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
342 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 ...