osm.bb_2_pol: osm.bb_2_pol

View source: R/osm.r

osm.bb_2_polR Documentation

osm.bb_2_pol

Description

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

Usage

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(s)

Dimitris Kavroudakis dimitris123@gmail.com

See Also

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()

Examples

library(goal)
library(sf)

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


dimitrisk/goal documentation built on April 30, 2024, 7:21 p.m.