Converts a range of spatial data formats into a matrix representing the bounding box
geo_bb_matrix(shp)
Spatial object (from sf or sp packages)
Other geo:
bbox_scale()
,
gclip()
,
geo_bb()
,
mapshape_available()
,
mapshape()
,
quadrant()
,
reproject()
# NOT RUN {
geo_bb_matrix(routes_fast)
geo_bb_matrix(routes_fast_sf)
geo_bb_matrix(cents[1, ])
geo_bb_matrix(c(-2, 54))
geo_bb_matrix(sf::st_coordinates(cents_sf))
# }
Run the code above in your browser using DataLab