MultiPolygon

Coordinates of a MultiPolygon are an array of Polygon coordinate arrays:

 {
     "type": "MultiPolygon",
     "coordinates": [
         [
             [
                 [102.0, 2.0],
                 [103.0, 2.0],
                 [103.0, 3.0],
                 [102.0, 3.0],
                 [102.0, 2.0]
             ]
         ],
         [
             [
                 [100.0, 0.0],
                 [101.0, 0.0],
                 [101.0, 1.0],
                 [100.0, 1.0],
                 [100.0, 0.0]
             ],
             [
                 [100.2, 0.2],
                 [100.2, 0.8],
                 [100.8, 0.8],
                 [100.8, 0.2],
                 [100.2, 0.2]
             ]
         ]
     ]
 }
https://datatracker.ietf.org/doc/html/rfc7946#appendix-A.5

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Json(name = "bbox")
var bbox: List<Double>?
Link copied to clipboard
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
operator fun contains(point: Point): Boolean