Class SpatialEnvelopeVisitor.GeoPointVisitor

java.lang.Object
org.elasticsearch.geometry.utils.SpatialEnvelopeVisitor.GeoPointVisitor
All Implemented Interfaces:
SpatialEnvelopeVisitor.PointVisitor
Enclosing class:
SpatialEnvelopeVisitor

public static class SpatialEnvelopeVisitor.GeoPointVisitor extends Object implements SpatialEnvelopeVisitor.PointVisitor
The geographic point visitor determines the envelope by the minimum and maximum x/y coordinates, while allowing for wrapping the longitude around the dateline. When longitude wrapping is enabled, the visitor will determine the smallest bounding box between the two choices:
  • Wrapping around the front of the earth, in which case the result will have minx < maxx
  • Wrapping around the back of the earth, crossing the dateline, in which case the result will have minx > maxx