org.h2gis.h2spatial.internal.function.spatial.convert
Class ST_LineFromText
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatial.internal.function.spatial.convert.ST_LineFromText
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_LineFromText
- extends DeterministicScalarFunction
Convert a WKT String into a LINESTRING.
- Author:
- Nicolas Fortin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_LineFromText
public ST_LineFromText()
- Default constructor
getJavaStaticMethod
public String getJavaStaticMethod()
toGeometry
public static com.vividsolutions.jts.geom.Geometry toGeometry(String wKT,
int srid)
throws SQLException
- Parameters:
wKT - WellKnown text valuesrid - Valid SRID
- Returns:
- Geometry
- Throws:
SQLException - Invalid argument or the geometry type is wrong.
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.