Class ST_Simplify

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_Simplify
    extends org.h2gis.api.DeterministicScalarFunction
    Returns a simplified version of the given geometry using the Douglas-Peuker algorithm.
    Author:
    Erwan Bocher
    • Field Summary

      • Fields inherited from interface org.h2gis.api.Function

        PROP_NAME, PROP_REMARKS
      • Fields inherited from interface org.h2gis.api.ScalarFunction

        PROP_DETERMINISTIC
    • Constructor Summary

      Constructors 
      Constructor Description
      ST_Simplify()  
    • Constructor Detail

      • ST_Simplify

        public ST_Simplify()
    • 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: