Namespace Lucene.Net.Spatial.Queries
Spatial Query options useful for client side requests
Classes
SpatialArgs
Principally holds the query Spatial4n.Core.Shapes.IShape and the SpatialOperation. It's used as an argument to some methods on SpatialStrategy.
SpatialArgsParser
Parses a string that usually looks like "OPERATION(SHAPE)" into a SpatialArgs object. The set of operations supported are defined in SpatialOperation, such as "Intersects" being a common one. The shape portion is defined by WKT Spatial4n.Core.IO.WktShapeParser, but it can be overridden/customized via ParseShape(String, SpatialContext). There are some optional name-value pair parameters that follow the closing parenthesis. Example:
Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025
In the future it would be good to support something at least semi-standardized like a variant of [E]CQL.
SpatialOperation
A clause that compares a stored geometry to a supplied geometry. For more explanation of each operation, consider looking at the source implementation of Evaluate(IShape, IShape).
See ESRIs docs on spatial relations
UnsupportedSpatialOperation
Exception thrown when the SpatialStrategy cannot implement the requested operation.