java.lang.Object
org.elasticsearch.common.geo.GeometryNormalizer
Transforms provided
Geometry
into a lucene friendly format by normalizing latitude and longitude
coordinates and breaking geometries that cross the dateline.-
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry
apply
(Orientation orientation, Geometry geometry) Transforms the providedGeometry
into a lucene friendly format.static boolean
needsNormalize
(Orientation orientation, Geometry geometry) Return false if the providedGeometry
is already Lucene friendly, else return false.