presto-geospatial-toolkit/src/main/java/io/prestosql/geospatial/serde/GeometrySerde.java/GeometrySerde/getPointEnvelope
class GeometrySerde:    private static Envelope getPointEnvelope(BasicSliceInput input)
    {
        double x = input.readDouble();
        double y = input.readDouble();
        if (isNaN(x) || isNaN(y)) {
            // TODO: isn't it better to return empty envelope instead?
            return null;
        }
        return new Envelope(x, y, x, y);
    }