bufferGeodeticOrNull

fun bufferGeodeticOrNull(geometry: Geometry, distance: Double, distanceUnit: LinearUnit?, maxDeviation: Double, curveType: GeodeticCurveType): Polygon?

Creates a buffer polygon at the specified distance around the given geometry, calculated using a geodetic curve. Geodetic buffers account for the actual shape of the earth. Distances are calculated between points on a curved surface (the geoid) as opposed to points on a flat surface (the Cartesian plane).

Negative distance can be used to create a buffer inside a Polygon or an Envelope. Using a negative buffer distance shrinks the geometry's boundary by the distance specified. Note that if the negative buffer distance is large enough, the geometry may collapse to an empty polygon.

Return

The geodetic buffer.

Since

200.1.0