Introduction

GeoJSON is a subset of JSON. According to GeoJSON site,

GeoJSON is a format for encoding a variety of geographic data structures.

Currently GeoJSON supports:

  • Point
  • LineString
  • Polygon
  • MultiPoint
  • MultiLineString
  • MultiPolygon

With in the geometric objects, we need to add an extra object called Feature. A set of features will be contained in a FeatureCollection objects.

Examples

Point

LineString

Polygon

Reference