osm.bb_2_pol | R Documentation |
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
)
inVec |
Four |
outcrs |
CRS of the the output |
An sf polygon
Dimitris Kavroudakis dimitris123@gmail.com
Other osm:
osm.ClipSFnetwork_with_poly()
,
osm.CreateEmptyRaster()
,
osm.combineAmenities()
,
osm.combineShops()
,
osm.getFrequency()
,
osm.getLength_footway()
,
osm.getPOI_usingbb()
,
osm.getPOI()
,
osm.getRoads()
,
osm.osmdata_result_2_bbox_pol()
library(goal)
library(sf)
q=c(26.545029,39.088569,26.570177,39.116810)
poly = goal::osm.bb_2_pol(q, outcrs=4326)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.