A Groovy Extension Module that adds static methods to the Feature class.
Constructor and description |
---|
StaticFeatureExtensionModule
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Feature |
fromGeoJSON(Feature feature, java.lang.String str) Read a Feature from a GeoJSON String
|
|
static Feature |
fromGeoRSS(Feature feature, java.lang.String str) Read a Feature from a GeoRSS String
|
|
static Feature |
fromGeobuf(Feature feature, java.lang.String str) Read a Feature from a GeoBuf String
|
|
static Feature |
fromGeobuf(Feature feature, [B bytes) Read a Feature from a GeoBuf byte array
|
|
static Feature |
fromGeobuf(Feature feature, InputStream inputStream) Read a Feature from a GeoBuf InputStream
|
|
static Feature |
fromGml(Feature feature, Map options, java.lang.String str) Read a Feature from a GML String
|
|
static Feature |
fromGpx(Feature feature, java.lang.String str) Read a Feature from a GPX String
|
|
static Feature |
fromKml(Feature feature, Map options, java.lang.String str) Read a Feature from a KML String
|
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() |
Read a Feature from a GeoJSON String
feature
- The Featurestr
- The GeoJSON StringRead a Feature from a GeoRSS String
feature
- The Featurestr
- The GeoRSS StringRead a Feature from a GeoBuf String
feature
- The Featurestr
- The GeoBuf StringRead a Feature from a GeoBuf byte array
feature
- The Featurebytes
- The GeoBuf byte arrayRead a Feature from a GeoBuf InputStream
feature
- The Featurestr
- The GeoBuf InputStreamRead a Feature from a GML String
feature
- The Featureoptions
- The optional named parametersstr
- The GML StringRead a Feature from a GPX String
feature
- The Featurestr
- The GPX String