Adding the following envelope to an index:

```
DELETE shape

PUT shape/
{
  "mappings": {
    "properties": {
      "geoLocationBox": {"type": "geo_shape"}
    }
  }
}

POST shape/_doc
{
  "geoLocationBox": {
    "type": "envelope",
    "coordinates": [
      [
        10.0,
        10.0
      ],
      [
        -10.0,
        -10.0
      ]
    ]
  }
}
```

If we try to plot it using vector tiles it gives the wrong bounding box as it should cross the dateline:

<img width="327" alt="image" src="https://user-images.githubusercontent.com/29038686/197124298-23855b83-91d0-4a92-a4d5-3ac728a917ef.png">

x-pack/plugin/vector-tile/src/main/java/org/elasticsearch/xpack/vectortile/feature/FeatureFactory.java
if (matrix.isContains()) {
                    
                    intersected.add(geometry);
                } else if (matrix.isWithin()) {
                    
                    intersected.add(envelope);
                } else if (matrix.isIntersects()) {
                    
                    intersected.add(envelope.intersection(geometry));
                } else {
                    
                    assert envelope.intersection(geometry).isEmpty();
                }
            } catch (TopologyException e) {
                
            }
        }
        return intersected;
    }
    private static void simplifyGeometry(List<org.locationtech.jts.geom.Geometry> geometries, double precision) {
        for (int i = 0; i < geometries.size(); i++) {
            geometries.set(i, TopologyPreservingSimplifier.simplify(geometries.get(i), precision));
        }
    }
    private static void convertToMvtGeometry(List<org.locationtech.jts.geom.Geometry> geometries, CoordinateSequenceFilter sequenceFilter) {
        for (org.locationtech.jts.geom.Geometry geometry : geometries) {
            geometry.apply(sequenceFilter);
        }
    }
    private static class JTSGeometryBuilder implements GeometryVisitor<org.locationtech.jts.geom.Geometry, IllegalArgumentException> {