Bounding Box to Polygon Either by name of area (inPerioxi) or by bounding box (incoordinates).

osm.bb_2_pol(
  inVec = c(26.545029, 39.088569, 26.570177, 39.11681),
  outcrs = 4326
)

Arguments

inVec

Four

outcrs

CRS of the the output

Value

An sf polygon

Author

Dimitris Kavroudakis dimitris123@gmail.com

Examples

library(goal)
library(sf)

q=c(26.545029,39.088569,26.570177,39.116810)
poly = goal::osm.bb_2_pol(q, outcrs=4326)