clipper / io.marauder.charged / Clipper

Clipper

class Clipper

The clipper provides functions to clip generic geometries and given boundaries

Constructors

<init>

Clipper(calcBoundingBoxes: Boolean = false)

The clipper provides functions to clip generic geometries and given boundaries

Functions

clip

fun clip(fc: GeoJSON, scale: Double, k1: Double, k2: Double, k3: Double, k4: Double, checkBoundingBox: Boolean = true): GeoJSON

Clip a feature collection at given boundaries and a scaling factor

fun clip(f: Feature, scale: Double, k1: Double, k2: Double, k3: Double, k4: Double, checkBoundingBox: Boolean = true): Feature?

Clip a feature at given boundaries and a scaling factor