osmtile_bbox function

compute the bounding box of an OpenStreetmap tile

compute the bounding box of an OpenStreetmap tile

inspired by osmtile from the package OpenStreetmap

returns the Mercator projection bounding box

osmtile_bbox(x = 61, y = 41, zoom = 7, minim = -20037508)

Arguments

  • x: x tile coordinate
  • y: x tile coordinate
  • zoom: zoom level
  • minim: parameter for OSM projection

Returns

bounding box, Mercator projection

Author(s)

Markus Loecher