Method Parse
Parse(String, SpatialContext)
Parses a string such as "Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025".
Declaration
public virtual SpatialArgs Parse(string v, SpatialContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.String | v | The string to parse. Mandatory. |
SpatialContext | ctx | The spatial context. Mandatory. |
Returns
Type | Description |
---|---|
SpatialArgs | Not null. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | if the parameters don't make sense or an add-on parameter is unknown |
ParseException | If there is a problem parsing the string |
InvalidShapeException | When the coordinates are invalid for the shape |