GeoJSON
GeoJSON is used to describe intricate entities such as a Complex, Zip Code or Billboard, which may have multiple locations with different polygons (e.g. a mall complex may have several buildings, each one with its own polygon).
GeoJSON results are a GeoJSON geometry object. For further information, please visit GeoJSON - Polygon.
MultiPolygon Example
{
"type": "MultiPolygon",
"coordinates": [
[
[
[180.0, 40.0], [180.0, 50.0], [170.0, 50.0],
[170.0, 40.0], [180.0, 40.0]
]
],
[
[
[-170.0, 40.0], [-170.0, 50.0], [-180.0, 50.0],
[-180.0, 40.0], [-170.0, 40.0]
]
]
]
}
Polygon Example
{
"type": "Polygon",
"coordinates": [
[
[-10.0, -10.0],
[10.0, -10.0],
[10.0, 10.0],
[-10.0, -10.0]
]
]
}
Updated about 1 year ago