Class ST_ToMultiLine

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

    public class ST_ToMultiLine
    extends org.h2gis.api.DeterministicScalarFunction
    ST_ToMultiLine constructs a MultiLineString from the given geometry's coordinates. Returns MULTILINESTRING EMPTY for geometries of dimension 0.
    Author:
    Erwan Bocher, CNRS, Adam Gouge
    • Constructor Detail

      • ST_ToMultiLine

        public ST_ToMultiLine()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • createMultiLineString

        public static org.locationtech.jts.geom.MultiLineString createMultiLineString​(org.locationtech.jts.geom.Geometry geom)
                                                                               throws SQLException
        Constructs a MultiLineString from the given geometry's coordinates.
        Parameters:
        geom - Geometry
        Returns:
        A MultiLineString constructed from the given geometry's coordinates
        Throws:
        SQLException