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