GeometryCollection

Each element in the "geometries" array of a GeometryCollection is one of the Geometry objects LineString, MultiLineString, Polygon, etc:

 {
     "type": "GeometryCollection",
     "geometries": [{
         "type": "Point",
         "coordinates": [100.0, 0.0]
     }, {
         "type": "LineString",
         "coordinates": [
             [101.0, 0.0],
             [102.0, 1.0]
         ]
     }]
 }
https://datatracker.ietf.org/doc/html/rfc7946#section-3.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Json(name = "bbox")
var bbox: List<Double>?
Link copied to clipboard

In the (abridged) Feature object shown below

Link copied to clipboard
@Json(name = "geometries")
var geometries: ArrayList<GeoJsonObject>
Link copied to clipboard
@Json(name = "properties")
var properties: HashMap<String, Any?>?
Link copied to clipboard
@Json(name = "type")
var type: String

Functions

Link copied to clipboard
open fun forEach(p0: Consumer<in GeoJsonObject>)
Link copied to clipboard
open operator override fun iterator(): Iterator<GeoJsonObject>
Link copied to clipboard
operator fun plusAssign(rhs: GeoJsonObject)
Link copied to clipboard