public class GeometryBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SRIDPREFIX
The prefix that indicates SRID presence
|
| Constructor and Description |
|---|
GeometryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
geomFromString(String value) |
static Geometry |
geomFromString(String value,
BinaryParser bp)
Maybe we could add more error checking here?
|
static Geometry |
geomFromString(String value,
BinaryParser bp,
boolean haveM) |
static Geometry |
geomFromString(String value,
boolean haveM) |
static String[] |
splitSRID(String whole)
Splits a String at the first occurrence of border character.
|
public static final String SRIDPREFIX
public static Geometry geomFromString(String value) throws SQLException
SQLExceptionpublic static Geometry geomFromString(String value, boolean haveM) throws SQLException
SQLExceptionpublic static Geometry geomFromString(String value, BinaryParser bp) throws SQLException
value - String representing the geometrybp - BinaryParser to use whe parsingSQLException - when a SQLException occurspublic static Geometry geomFromString(String value, BinaryParser bp, boolean haveM) throws SQLException
SQLExceptionpublic static String[] splitSRID(String whole) throws SQLException
whole - the String to be splitSQLException - when a SQLException occurrsCopyright © 2024. All rights reserved.