GeometryCollection
, LineString
, MultiLineString
, MultiPoint
, MultiPolygon
, Point
, Polygon
public abstract class Geometry extends Object
Modifier | Constructor | Description |
---|---|---|
protected |
Geometryβ() |
Construct an instance with no specified coordinate reference system.
|
protected |
Geometryβ(CoordinateReferenceSystem coordinateReferenceSystem) |
Construct an instance with the specified coordinate reference system.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equalsβ(Object o) |
|
CoordinateReferenceSystem |
getCoordinateReferenceSystemβ() |
Gets the coordinate reference system, which may be null
|
abstract GeoJsonObjectType |
getTypeβ() |
Gets the GeoJSON object type.
|
int |
hashCodeβ() |
|
String |
toJsonβ() |
Converts to GeoJSON representation
|
protected Geometryβ()
protected Geometryβ(@Nullable CoordinateReferenceSystem coordinateReferenceSystem)
coordinateReferenceSystem
- the coordinate reference systempublic abstract GeoJsonObjectType getTypeβ()
public String toJsonβ()
@Nullable public CoordinateReferenceSystem getCoordinateReferenceSystemβ()