# Package org.apache.lucene.spatial.util

Various spatial utilities.

See: Description

- Class Summary
  Class | Description
  --- | ---
  CachingDoubleValueSource | Caches the doubleVal of another value source in a HashMap so that it is computed only once.
  DistanceToShapeValueSource | The distance from a provided Point to a Point retrieved from a ValueSource via `FunctionValues.objectVal(int)`.
  GeoDistanceUtils | Reusable geo-spatial distance utility methods.
  GeoEncodingUtils | Basic reusable geopoint encoding methods
  GeoHashUtils | Utilities for converting to/from the GeoHash standard The geohash long format is represented as lon/lat (x/y) interleaved with the 4 least significant bits representing the level (1-12) [xyxy...xyxyllll] This differs from a morton encoded value which interleaves lat/lon (y/x).
  GeoProjectionUtils | Reusable geo-spatial projection utility methods.
  GeoRect | Represents a lat/lon rectangle.
  GeoRelationUtils | Reusable geo-relation utility methods
  GeoUtils | Basic reusable geo-spatial utility methods
  ShapeAreaValueSource | The area of a Shape retrieved from a ValueSource via `FunctionValues.objectVal(int)`.
  ShapeFieldCache<T extends com.spatial4j.core.shape.Shape> | Bounded Cache of Shapes associated with docIds.
  ShapeFieldCacheDistanceValueSource | An implementation of the Lucene ValueSource that returns the spatial distance between an input point and a document's points in `ShapeFieldCacheProvider`.
  ShapeFieldCacheProvider<T extends com.spatial4j.core.shape.Shape> | Provides access to a `ShapeFieldCache` for a given `LeafReader`.
  ShapePredicateValueSource | A boolean ValueSource that compares a shape from a provided ValueSource with a given Shape and sees if it matches a given `SpatialOperation` (the predicate).

## Package org.apache.lucene.spatial.util Description

Various spatial utilities.

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.