public class GeographyLineString extends GeographyValue
A sequence of geography points which represents a joined string of lines.
DEFAULT_SRID| Constructor and Description |
|---|
GeographyLineString()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static GeographyLineString |
castOptional(DataValue value)
For internal use only.
|
static GeographyLineString |
castRequired(DataValue value)
For internal use only.
|
java.lang.String |
formatWKT()
See formatWKT(boolean).
|
java.lang.String |
formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
|
LineStringCoordinates |
getCoordinates()
Return the coordinates of this value.
|
DataType |
getDataType()
Return data type of the wrapped value.
|
static GeographyLineString |
parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
|
static GeographyLineString |
parseWKT(java.lang.String text)
|
static GeographyLineString |
parseWKT(java.lang.String text,
boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
|
void |
setCoordinates(LineStringCoordinates value)
Set the coordinates of this value.
|
getSrsCode, getSrsName, parseAny, parseAnyWKT, parseAnyWKT, setSrsCode, setSrsName, toStringcloneMutable, equals, getTypeCode, hashCodepublic static GeographyLineString castOptional(DataValue value)
For internal use only.
value - (internal use only)public static GeographyLineString castRequired(DataValue value)
For internal use only.
value - (internal use only)public java.lang.String formatWKT()
formatWKT in class GeographyValuepublic java.lang.String formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
formatWKT in class GeographyValuesridRequired - Is SRID prefix required?public LineStringCoordinates getCoordinates()
Return the coordinates of this value.
public DataType getDataType()
Return data type of the wrapped value.
getDataType in class DataValuepublic static GeographyLineString parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
text - A value in GeoJSON format.public static GeographyLineString parseWKT(java.lang.String text)
text - Text parameter.public static GeographyLineString parseWKT(java.lang.String text, boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
text - A value in OData WKT format.sridRequired - Is SRID prefix required?public void setCoordinates(LineStringCoordinates value)
Set the coordinates of this value.
value - The coordinates of this value.