Class ST_Collect

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

    public class ST_Collect
    extends org.h2gis.api.DeterministicScalarFunction
    Construct an array of Geometries.
    Author:
    Nicolas Fortin, Erwan Bocher, CNRS
    • 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_Collect()  
    • Constructor Detail

      • ST_Collect

        public ST_Collect()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • collect

        public static org.locationtech.jts.geom.Geometry collect​(org.locationtech.jts.geom.Geometry[] geometries)
        Create a geometry from an array of geometries
        Parameters:
        geometries - array of geometries
        Returns:
        org.locationtech.jts.geom.Geometry
      • collect

        public static org.locationtech.jts.geom.Geometry collect​(org.locationtech.jts.geom.Geometry geomA,
                                                                 org.locationtech.jts.geom.Geometry geomB)
        Create a geometry from an array of geometries
        Parameters:
        geomA - input geometry
        geomB - input geometry
        Returns:
        org.locationtech.jts.geom.Geometry