What is Geojson?
GeoJSON is a format for encoding a variety of geographic data structures. A GeoJSON object may represent a geometry, a feature, or a collection of features.
GeoJSON supports the following geometry types:
1)Point
2)LineString
3) Polygon
4) MultiPoint
5) MultiLineString
6) MultiPolygon
7)GeometryCollection.
Example code structure for Geojson:
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]
},
"properties": {
"name": "Dinagat Islands"
}
}
The main use for Geojson is used to creating a maps.
GeoJSON is supported by numerous mapping and GIS software packages, including OpenLayers, Leaflet, MapServer,Geoforge software, GeoServer, GeoDjango, GDAL, Safe Software FME, and CartoDB.
It is also possible to use GeoJSON with PostGIS and Mapnik, both of which handle the format via the GDAL OGR conversion library. Bing Maps, Yahoo! and Google also support GeoJSON in their API services.
The Google Maps Javascript API v3 directly supports the integration of GeoJSON data layers as of March 19, 2014.
GitHub also supports GeoJSON rendering and Potrace GeoJSON export.
Videos for Using Geojson