Skip to content

Commit 6b87905

Browse files
authored
Increase GeoHexGridTiler#FACTOR (#101142)
we added a more aggressive way to handle geotile boundaries which affects the correction factor for GeoHexGridTiler.
1 parent 9794c6e commit 6b87905

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/search/aggregations/bucket/geogrid

1 file changed

+1
-1
lines changed

x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/search/aggregations/bucket/geogrid/GeoHexGridTiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static class BoundedGeoHexGridTiler extends GeoHexGridTiler {
240240
private final GeoBoundingBox bbox;
241241
private final GeoHexVisitor visitor;
242242
private final int resolution;
243-
private static final double FACTOR = 0.36;
243+
private static final double FACTOR = 0.37;
244244

245245
BoundedGeoHexGridTiler(int resolution, GeoBoundingBox bbox) {
246246
super(resolution);

0 commit comments

Comments
 (0)