Show / Hide Table of Contents

    Namespace Lucene.Net.Spatial.Queries

    Spatial Query options useful for client side requests

    Classes

    SpatialArgs

    Principally holds the query and the SpatialOperation. It's used as an argument to some methods on SpatialStrategy.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    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 , 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.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    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

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    UnsupportedSpatialOperation

    Exception thrown when the SpatialStrategy cannot implement the requested operation.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)