A Groovy Extension Module that adds methods to the Feature class.
Constructor and description |
---|
FeatureExtensionModule
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
getGeoJSON(Feature feature, Map options) Get this Feature as a GeoJSON String
|
|
static java.lang.String |
getGeoRSS(Feature feature, Map options) Get this Feature as a GeoRSS String
|
|
static java.lang.String |
getGeobuf(Feature feature, Map options) Get this Feature as a Geobuf hex string
|
|
static [B |
getGeobufBytes(Feature feature, Map options) Get this Feature as a Geobuf byte array
|
|
static java.lang.String |
getGml(Feature feature, Map options) Get this Feature as a GML String
|
|
static java.lang.String |
getGpx(Feature feature, Map options) Get this Feature as a GPX String
|
|
static java.lang.String |
getKml(Feature feature, Map options) Get this Feature as a KML Placemark
|
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 this Feature as a GeoJSON String
feature
- The Featureoptions
- Optional named parameters:
Get this Feature as a GeoRSS String
feature
- The Featureoptions
- The named parameters
Get this Feature as a Geobuf hex string
feature
- The Featureoptions
- The optional named parameters
Get this Feature as a Geobuf byte array
feature
- The Featureoptions
- The optional named parameters
Get this Feature as a GML String
feature
- The Featureoptions
- The named parameters
Get this Feature as a GPX String
feature
- The Featureoptions
- The named parameters
Get this Feature as a KML Placemark
feature
- The Featureoptions
- The named parameters