org.h2gis.h2spatialext.function.spatial.convert
Class ST_ToMultiLine

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialapi.DeterministicScalarFunction
          extended by org.h2gis.h2spatialext.function.spatial.convert.ST_ToMultiLine
All Implemented Interfaces:
Function, ScalarFunction

public class ST_ToMultiLine
extends DeterministicScalarFunction

ST_ToMultiLine constructs a MultiLineString from the given geometry's coordinates. Returns MULTILINESTRING EMPTY for geometries of dimension 0.

Author:
Erwan Bocher, Adam Gouge

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_ToMultiLine()
           
 
Method Summary
static com.vividsolutions.jts.geom.MultiLineString createMultiLineString(com.vividsolutions.jts.geom.Geometry geom)
          Constructs a MultiLineString from the given geometry's coordinates.
 String getJavaStaticMethod()
           
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

ST_ToMultiLine

public ST_ToMultiLine()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()

createMultiLineString

public static com.vividsolutions.jts.geom.MultiLineString createMultiLineString(com.vividsolutions.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


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.