tile_bbox {slippymath} | R Documentation |
tile_bbox
Description
Calculate the bounding box for a tile in latitude and longitude
Usage
tile_bbox(x, y, zoom)
Arguments
x |
slippy map tile x number |
y |
slippy map tile y number |
zoom |
zoom level for tile |
Details
Given a slippy maps tile specified by 'x', 'y', and 'zoom', return the an 'sf' bounding box object for the tile with units in metres using the EPSG:3857 coordinate reference system (Web Mercator).
Value
an sf bbox object.
Examples
## return an sf style bbox object in with epsg and proj4string
tile_bbox(x = 30304, y = 18929, zoom = 15)
[Package slippymath version 0.3.1 Index]