osm_url {rosm} | R Documentation |
Resolve a tile into a URL
Description
Resolve a tile into a URL
Usage
osm_url(tile, spec)
Arguments
tile |
A 'data.frame()' with columns 'x', 'y', and 'zoom'. |
spec |
An [osm_url_spec()] |
Value
A character vector of URLs
Examples
bounds <- wk::rct(
-7514064, 5009380,
-6261722, 6261715,
crs = osm_crs_native()
)
tiles <- osm_tile_covering(bounds, zoom = 6)
osm_url(tiles, osm_url_spec())
[Package rosm version 0.3.0 Index]