new_bounding_box | R Documentation |
Construct a axis-aligned rectangular bounding box object.
new_bounding_box(sc, min_x = -Inf, max_x = Inf, min_y = -Inf, max_y = Inf)
sc |
The Spark connection. |
min_x |
Minimum x-value of the bounding box, can be +/- Inf. |
max_x |
Maximum x-value of the bounding box, can be +/- Inf. |
min_y |
Minimum y-value of the bounding box, can be +/- Inf. |
max_y |
Maximum y-value of the bounding box, can be +/- Inf. |
A bounding box object.
library(sparklyr)
library(apache.sedona)
sc <- spark_connect(master = "spark://HOST:PORT")
bb <- new_bounding_box(sc, -1, 1, -1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.