org.h2gis.h2spatial.internal.function.spatial.convert
Class ST_LineFromWKB
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatial.internal.function.spatial.convert.ST_LineFromWKB
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_LineFromWKB
- extends DeterministicScalarFunction
Convert Well Known Binary 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_LineFromWKB
public ST_LineFromWKB()
- Default constructor
getJavaStaticMethod
public String getJavaStaticMethod()
toLineString
public static com.vividsolutions.jts.geom.Geometry toLineString(byte[] bytes,
int srid)
throws SQLException,
IOException
- Convert WKT into a LinearRing
- Parameters:
bytes - Byte arraysrid - SRID
- Returns:
- LineString instance of null if bytes null
- Throws:
SQLException - WKB Parse error
IOException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.