Package mil.nga.sf.geojson
Class Geometry
- java.lang.Object
-
- mil.nga.sf.geojson.GeoJsonObject
-
- mil.nga.sf.geojson.Geometry
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeometryCollection
,LineString
,MultiLineString
,MultiPoint
,MultiPolygon
,Point
,Polygon
public abstract class Geometry extends GeoJsonObject
Geometry- Author:
- yutzlejp
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Geometry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Geometry
getGeometry()
Get the simple geometryabstract GeometryType
getGeometryType()
Get the geometry typeGeometry
getSimpleGeometry()
Get the simple feature geometryString
getType()
Get the GeoJSON object type-
Methods inherited from class mil.nga.sf.geojson.GeoJsonObject
equals, getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, hashCode, setBbox, setForeignMember
-
-
-
-
Method Detail
-
getGeometryType
public abstract GeometryType getGeometryType()
Get the geometry type- Returns:
- geometry type
- Since:
- 3.0.0
-
getGeometry
public abstract Geometry getGeometry()
Get the simple geometry- Returns:
- simple geometry
-
getSimpleGeometry
public Geometry getSimpleGeometry()
Get the simple feature geometry- Specified by:
getSimpleGeometry
in classGeoJsonObject
- Returns:
- simple feature geometry
-
getType
public String getType()
Get the GeoJSON object type- Specified by:
getType
in classGeoJsonObject
- Returns:
- GeoJSON object type
-
-