In this example use case, Druplicon the blogger travels around the world and blogs about the awesome stuff he encounters on his travels.
What's Views GeoJSON for?
Druplicon's blog-site will collect location information for each post. Views GeoJSON allows using Views to provide a GeoJSON feed of this locative data that can be added to a map, or that another site can collect (maybe with the Feeds module) and utilize.
Setting up Views GeoJSON
Download and install Views GeoJSON.
In this example we'll use Geofield to store geospatial data. We could do so as well with the Location module, or via any content type that maintains latitude & longitude or WKT data.
- Add a geofield to a content type, in this example basic page
- Geofield depends on geoPHP