Closed sckott closed 7 years ago
@Ironholds seems to not be totally fixed, with newest version:
bounding_wkt(values = list(c(10, 12, 14, 16)))
#> [1] "POLYGON((10 14,10 16,12 16,12 14,10 14))"
bounding_wkt(10, 12, 14, 16)
#> [1] "POLYGON((10 12,10 16,14 16,14 12,10 12))"
Oooh, that's weird. Okay, will work on.
New version:
library(wicket)
bounding_wkt(values = list(c(10, 12, 14, 16))) [1] "POLYGON((10 12,10 16,14 16,14 12,10 12))" bounding_wkt(10, 12, 14, 16) [1] "POLYGON((10 12,10 16,14 16,14 12,10 12))"
bounding_wkt
expects min_x, max_x, min_y, max_ywkt_bounding
gives data back in min_x min_y max_x max_ycould these be in consistent order?
I don't think there's one golden standard for bounding boxes, but
so those two are at least consistent