Method | Description | |
---|---|---|
Parse ( System reader ) : Geometry |
Converts a Well-known Text representation to a SharpMap.Geometries.Geometry.
|
|
Parse ( string wellKnownText ) : Geometry |
Converts a Well-known text representation to a SharpMap.Geometries.Geometry.
|
Method | Description | |
---|---|---|
GetCoordinates ( |
Returns the next array of Coordinates in the stream.
|
|
GetNextCloser ( |
Returns the next ")" in the stream. ParseException is thrown if the next token is not ")". |
|
GetNextCloserOrComma ( |
Returns the next ")" or "," in the stream. ParseException is thrown if the next token is not ")" or ",". |
|
GetNextEmptyOrOpener ( |
Returns the next "EMPTY" or "(" in the stream as uppercase text. ParseException is thrown if the next token is not "EMPTY" or "(". |
|
GetNextNumber ( |
Returns the next number in the stream. ParseException is thrown if the next token is not a number. |
|
GetNextWord ( |
Returns the next word in the stream as uppercase text. Exception is thrown if the next token is not a word. |
|
ReadGeometryCollectionText ( |
Creates a GeometryCollection using the next token in the stream.
|
|
ReadGeometryTaggedText ( |
Creates a Geometry using the next token in the stream. Exception is thrown if the coordinates used to create a Polygon shell and holes do not form closed linestrings, or if an unexpected token is encountered. |
|
ReadLineStringText ( |
Creates a LineString using the next token in the stream. ParseException is thrown if an unexpected token is encountered. |
|
ReadMultiLineStringText ( |
Creates a MultiLineString using the next token in the stream.
|
|
ReadMultiPointText ( |
Creates a Point using the next token in the stream. ParseException is thrown if an unexpected token is encountered. |
|
ReadMultiPolygonText ( |
Creates a MultiPolygon using the next token in the stream.
|
|
ReadPointText ( |
Creates a Point using the next token in the stream. ParseException is thrown if an unexpected token is encountered. |
|
ReadPolygonText ( |
Creates a Polygon using the next token in the stream. ParseException is thown if the coordinates used to create the Polygon shell and holes do not form closed linestrings, or if an unexpected token is encountered. |
public static Parse ( System reader ) : Geometry | ||
reader | System | A Reader which will return a Geometry Tagged Text /// string (see the OpenGIS Simple Features Specification) |
return | Geometry |
public static Parse ( string wellKnownText ) : Geometry | ||
wellKnownText | string | A |
return | Geometry |