public class ST_PointFromText
extends org.h2gis.api.DeterministicScalarFunction
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_ERROR |
| Constructor and Description |
|---|
ST_PointFromText()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaStaticMethod() |
static org.locationtech.jts.geom.Geometry |
toGeometry(String wKT)
Convert the WKT String to a Geometry with the given SRID.
|
static org.locationtech.jts.geom.Geometry |
toGeometry(String wKT,
int srid)
Convert the WKT String to a Geometry with the given SRID.
|
addProperty, getProperty, removePropertypublic static final String TYPE_ERROR
public String getJavaStaticMethod()
public static org.locationtech.jts.geom.Geometry toGeometry(String wKT) throws SQLException
wKT - Well Known Text valueSQLException - Invalid argument or the geometry type is wrong.public static org.locationtech.jts.geom.Geometry toGeometry(String wKT, int srid) throws SQLException
wKT - Well Known Text valuesrid - Valid SRIDSQLException - Invalid argument or the geometry type is wrong.Copyright © 2019 CNRS. All rights reserved.