powered by
Construct a axis-aligned rectangular bounding box object.
new_bounding_box(sc, min_x = -Inf, max_x = Inf, min_y = -Inf, max_y = Inf)
A bounding box object.
The Spark connection.
Minimum x-value of the bounding box, can be +/- Inf.
Maximum x-value of the bounding box, can be +/- Inf.
Minimum y-value of the bounding box, can be +/- Inf.
Maximum y-value of the bounding box, can be +/- Inf.
library(sparklyr) library(apache.sedona) sc <- spark_connect(master = "spark://HOST:PORT") bb <- new_bounding_box(sc, -1, 1, -1, 1)
Run the code above in your browser using DataLab