Class ST_Simplify
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.generalize.ST_Simplify
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Simplify extends org.h2gis.api.DeterministicScalarFunctionReturns a simplified version of the given geometry using the Douglas-Peuker algorithm.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_Simplify()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.Geometrysimplify(org.locationtech.jts.geom.Geometry geometry, double distance)Simplify the geometry using the douglad peucker algorithm.-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
simplify
public static org.locationtech.jts.geom.Geometry simplify(org.locationtech.jts.geom.Geometry geometry, double distance)Simplify the geometry using the douglad peucker algorithm.- Parameters:
geometry-distance-- Returns:
-
-