A Groovy Extension Module that adds methods to the Geometry class.
Constructor and description |
---|
GeometryExtensionModule
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
getGeoJSON(Geometry geometry, Map options) Get a GeoJSON String for this Geometry
|
|
static java.lang.String |
getGeobuf(Geometry geometry) Get a Geobuf hex string for this Geometry
|
|
static [B |
getGeobufBytes(Geometry geometry) Get a Geobuf byte array for this Geometry
|
|
static java.lang.String |
getGml2(Geometry geometry) Get a GML 2 String for this Geometry
|
|
static java.lang.String |
getGml3(Geometry geometry) Get a GML 3 String for this Geometry
|
|
static java.lang.String |
getGpx(Geometry geometry) Get a GPX String for this Geometry
|
|
static java.lang.String |
getKml(Geometry geometry) Get a KML String for this Geometry
|
|
static java.lang.String |
getWkb(Geometry geometry) Get the WKB of the Geometry
|
|
static [B |
getWkbBytes(Geometry geometry) Get the WKB of the Geometry
|
|
static java.lang.String |
getWkt(Geometry geometry) Get the WKT of the Geometry
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Get a GeoJSON String for this Geometry
geometry
- The Geometryoptions
- Optional named parameters:
Get a Geobuf hex string for this Geometry
geometry
- The GeometryGet a Geobuf byte array for this Geometry
geometry
- The GeometryGet a GML 2 String for this Geometry
geometry
- The GeometryGet a GML 3 String for this Geometry
geometry
- The GeometryGet a GPX String for this Geometry
geometry
- The GeometryGet a KML String for this Geometry
geometry
- The GeometryGet the WKB of the Geometry
geometry
- The GeometryGet the WKB of the Geometry
geometry
- The GeometryGet the WKT of the Geometry
geometry
- The Geometry