StaticaddAdds a buffer to a given geometry.
If the target is of type ol.Feature it will return an ol.Feature. If the target is of type ol.geom.Geometry it will return ol.geom.Geometry.
The geometry.
The buffer to add in meters.
The projection of the input geometry as EPSG code. Default is to EPSG:3857.
The geometry or feature with the added buffer.
StaticaddAdds a buffer to a given geometry.
The geometry.
The buffer to add in meters.
The projection of the input geometry as EPSG code. Default is to EPSG:3857.
The geometry with the added buffer.
StaticdifferenceFinds the difference between two polygons by clipping the second polygon from the first.
If both polygons are of type ol.Feature it will return an ol.Feature. Else it will return an ol.geom.Geometry.
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A Feature or geometry with the area of polygon1 excluding the area of polygon2.
StaticgeometryFinds the difference between two polygons by clipping the second polygon from the first.
An ol.geom.Geometry
An ol.geom.Geometry
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A with the area of polygon1 excluding the area of polygon2.
StaticgeometryTakes two polygons and finds their intersection.
An ol.geom.Geometry
An ol.geom.Geometry
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A Geometry with the shared area of the two polygons or null if the polygons don't intersect.
StaticgetOptionalextent: Extent | nullStaticintersectionTakes two polygons and finds their intersection.
If both polygons are of type ol.Feature it will return an ol.Feature. Else it will return an ol.geom.Geometry.
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A Feature or Geometry with the shared area of the two polygons or null if the polygons don't intersect.
StaticmergeMerges multiple geometries into one MultiGeometry.
An array of ol.geom.geometries;
A Multigeometry.
StaticseparateSplits an array of geometries (and multi geometries) or a single MultiGeom into an array of single geometries.
An (array of) ol.geom.geometries;
An array of geometries.
StaticsplitSplits an OlFeature with/or ol.geom.Polygon by an OlFeature with/or ol.geom.LineString into an array of instances of OlFeature with/or ol.geom.Polygon. If the target polygon (first param) is of type ol.Feature it will return an array with ol.Feature. If the target polygon (first param) is of type ol.geom.Geometry it will return an array with ol.geom.Geometry.
The polygon geometry to split.
The line geometry to split the polygon geometry with.
The EPSG code of the input features. Default is to EPSG:3857.
An array of instances of OlFeature with/or ol.geom.Polygon
StaticsplitSplits an ol.geom.Polygon by an ol.geom.LineString into an array of instances of ol.geom.Polygon.
The polygon geometry to split.
The line geometry to split the polygon geometry with.
The EPSG code of the input features. Default is to EPSG:3857.
An array of instances of ol.geom.Polygon
StaticunionTakes two or more polygons and returns a combined (Multi-)polygon.
An array of ol.Feature or ol.geom.Geometry instances of type (Multi)-Polygon.
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A Feature or Geometry with the combined area of the (Multi-)polygons.
StaticunionTakes two or more polygons and returns a combined (Multi-)polygon.
An array of ol.geom.Geometry instances of type (Multi-)polygon.
The projection of the input polygons as EPSG code. Default is to EPSG:3857.
A FGeometry with the combined area of the (Multi-)polygons.
Helper class for the geospatial analysis. Makes use of Turf.js.
GeometryUtil