public class MultiPolygon extends Polygon
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
COORDINATES_KEY, GEOMETRIES_KEY, GEOMETRY_FACTORY, GEOMETRY_KEY, PROPERTIES_KEY, TYPE_KEY
Constructor and Description |
---|
MultiPolygon(com.vividsolutions.jts.geom.Geometry geometry) |
Modifier and Type | Method and Description |
---|---|
static CompositeGeometry |
toCompositeGeometry(List coordinates) |
List<org.apache.abdera.ext.geo.Position> |
toGeoRssPositions() |
Map |
toJsonMap()
Creates a Map that mimics the GeoJSON structure.
|
buildJsonPolygon, buildPolygon, getPolygonCoordinates
buildCoordinatesList, getGeometry, toWkt
getCompositeGeometry, getCompositeGeometry, getCoordinate, getCoordinates
public static final String TYPE
public static CompositeGeometry toCompositeGeometry(List coordinates)
public Map toJsonMap()
CompositeGeometry
public List<org.apache.abdera.ext.geo.Position> toGeoRssPositions()
toGeoRssPositions
in class Polygon
This work is licensed under a Creative Commons Attribution 4.0 International License.