Package org.springframework.data.elasticsearch.utils.geohash
package org.springframework.data.elasticsearch.utils.geohash
package collecting classes needed for GeoHash calculations. Copied from Elasticsearch 7.10 code which was the last
one under the Apache license V2.
- Since:
- 4.4
- Author:
- Peter-Josef Meisch
-
ClassDescription/** Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/BitUtil.java
Utilities for common Bit twiddling methods.Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/Geohash.java
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).Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/Geometry.java
Base class for all Geometry objects supported by elasticsearch/** Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/GeometryValidator.java
Generic geometry validator that can be used by the parser to verify the validity of the parsed geometryGeometryVisitor<T,E extends Exception> Support class for creating Geometry Visitors./** Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/Point.java
Represents a Point on the earth's surface in decimal degrees and optional altitude in meters.Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/Rectangle.java
Represents a lat/lon rectangle in decimal degrees and optional altitude in meters.Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/ShapeType.java
Shape types supported by elasticsearchCode copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/StandardValidator.java
Validator that only checks that altitude only shows up if ignoreZValue is set to true.Utility class for converting to and from WKT