Class GeoJsonPolygon

java.lang.Object
org.springframework.data.geo.Polygon
com.arangodb.springframework.core.geo.GeoJsonPolygon
All Implemented Interfaces:
GeoJson<List<GeoJsonLineString>>, Serializable, Iterable<Point>, Shape

public class GeoJsonPolygon extends Polygon implements GeoJson<List<GeoJsonLineString>>
GeoJson representation of Polygon. Unlike Polygon the GeoJsonPolygon requires a closed border. Which means that the first and last Point have to have same coordinate pairs.
Author:
Christoph Strobl, Mark Paluch
See Also: