open class Feature : GeoJsonObject, Visitable<GeoJsonObjectVisitor!>, Serializable
Represents a spatially bound entity. Consists of a Geometry
object and an id. Both are optional. If geometry is absent, the feature is unlocated.
open class FeatureBuilder |
Feature()
Represents a spatially bound entity. Consists of a |
var boundingBox: Optional<BoundingBox!>! |
|
val type: String! |
open fun accept(visitor: GeoJsonObjectVisitor!): Unit |
|
open fun getGeometry(): Optional<Geometry!>!
Get the |
|
open fun getId(): Optional<String!>!
Get a commonly used identifier, if such exists. |
|
open fun getProperties(): Optional<Properties!>!
Get the |
open fun getBoundingBox(): Optional<BoundingBox!>!
A bounding box enclosing all geometries contained in this |
|
open fun setBoundingBox(boundingBox: BoundingBox!): Unit |
|
open fun toJson(): String!
Represent GeoJSON as a String compatible with RFC 7946 specification. |