Description Usage Arguments Value See Also Examples
Functions to convert a given sp
object to osmar
infrastructure and objects.
1 2 | ## S3 method for class 'Spatial'
as_osmar_bbox(obj, ...)
|
obj |
A |
... |
Ignored |
A bbox
object
Other as_osmar_bbox: as_osmar_bbox
,
corner_bbox
1 2 3 4 | data("muc", package = "osmar2")
muc_points <- as_sp(muc, "points")
bbox(muc_points) # sp::bbox object
as_osmar_bbox(muc_points) # osmar::bbox object
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.