class StaticGeometryExtensionModule extends java.lang.Object
A Groovy Extension Module that adds static methods to the Geometry class.
Constructor and description |
---|
StaticGeometryExtensionModule
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Geometry |
fromGML2(Geometry geometry, java.lang.String gml2) Get a Geometry from a GML2 String |
|
static Geometry |
fromGML3(Geometry geometry, java.lang.String gml3) Get a Geometry from a GML3 String |
|
static Geometry |
fromGeoJSON(Geometry geometry, java.lang.String geoJSON) Get a Geometry from a GeoJSON String |
|
static Geometry |
fromGeobuf(Geometry geometry, java.lang.String geobuf) Get a Geometry from a Geobuf Hex String |
|
static Geometry |
fromGeobuf(Geometry geometry, byte[] geobuf) Get a Geometry from a Geobuf byte array |
|
static Geometry |
fromGpx(Geometry geometry, java.lang.String gpx) Get a Geometry from a GPX String |
|
static Geometry |
fromKml(Geometry geometry, java.lang.String kml) Get a Geometry from a KML String |
|
static Geometry |
fromWKB(Geometry geometry, byte[] wkb) Get a Geometry from WKB byte array |
|
static Geometry |
fromWKB(Geometry geometry, java.lang.String wkb) Get a Geometry from WKB hex string |
|
static Geometry |
fromWKT(Geometry geometry, java.lang.String wkt) Get a Geometry from WKT |
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 Geometry from a GML2 String
geometry
- The Geometrygml2
- A GML2 StringGet a Geometry from a GML3 String
geometry
- The Geometrygml3
- A GML3 StringGet a Geometry from a GeoJSON String
geometry
- The GeometrygeoJSON
- A GeoJSON StringGet a Geometry from a Geobuf Hex String
geometry
- The Geometrygeobuf
- A Geobuf Hex StringGet a Geometry from a Geobuf byte array
geometry
- The Geometrygeobuf
- A Geobuf byte arrayGet a Geometry from a GPX String
geometry
- The Geometrygpx
- A GPX StringGet a Geometry from a KML String
geometry
- The Geometrykml
- A KML StringGet a Geometry from WKB byte array
geometry
- The Geometrywkb
- The WKB byte arrayGet a Geometry from WKB hex string
geometry
- The Geometrywkb
- The WKB hex string