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 JSON documents to take advantage of 2d indexes and spatial functions?
[GIS] How to store lines and polygons in JSON documents
geojsongeometrymongodbnosqlspatial-database
Best Answer
GeoJSON here are the SPECs.
Here's an example of a line and a polygon: