Store GeoJSON polygons in MongoDB
问题 I have the following problem with MongoDB. I got some geo data from my home country and i have to store them into mongodb to set up a simple Web Feature Service. This service will mostly do bounding box queries using the $within operator. The data is in GeoJSON format. Therefore i imported at first the Villages and Cities which are represented as points ( [1,2] ) in this format. No problem. Next step rivers and streets which are LineStrings and according to GeoJSON represented this way [[1,2]