GeometryHelper

Functions

Link copied to clipboard

Checks if the geometry contains a multi polygon.

Link copied to clipboard

Checks if the geometry contains a point.

Link copied to clipboard

Checks if the geometry contains a polygon.

Link copied to clipboard

Build a Geometry object of type multi polygon from a List<List<List<List<Double>>>> object with the multi polygon coordinates.

Link copied to clipboard

Build a Geometry object of type point from a List<Double> object with the point coordinate.

fun createPointGeometry(longitude: Double, latitude: Double): Geometry

Build a Geometry object of type point from a longitude and a latitude.

Link copied to clipboard

Build a Geometry object of type polygon from a List<List<List<Double>>> object with the polygon coordinates.

Link copied to clipboard

Converts a Geometry object of type polygon in a List<List<List<List<Double>>>> object with the multi polygon coordinates.

Link copied to clipboard

Converts a Geometry object of type point in a List<Double> object with the point coordinates.

Link copied to clipboard

Converts a Geometry object of type polygon in a List<List<List<Double>>> object with the polygon coordinates.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun validateGeometry(geometry: Geometry?)