I want to create a database using mongoDb and I am new to this area. And also want to Insert and select data to store shapes like circle, triangle, etc. I want to know how to do it.
Assuming you are referring to storing shapes for geospatial queries, you can use the new support for GeoJSON
objects in MongoDB 2.4 to store and query Point, LineString, and Polygon objects.
For more information see:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.