osm.myBB_2_pol: osm.myBB_2_pol

osm.myBB_2_polR Documentation

osm.myBB_2_pol

Description

Create a polygon from a BB object

Usage

osm.myBB_2_pol(n, s, w, e, bbox = NA, proj4string = sp::CRS("+init=epsg:4326"))

Arguments

n

the top north latitude

s

the bottom south latitude

w

the most western longitude

e

the most eastern longitude

bbox

either a bounding box

proj4string

either a projection

Value

An polygon

Author(s)

Dimitris Kavroudakis dimitris123@gmail.com

See Also

Other osm: osm.ClipSFnetwork_with_poly(), osm.CreateEmptyRaster(), osm.bb_2_pol(), osm.combineAmenities(), osm.combineShops(), osm.getFrequency(), osm.getLength_footway(), osm.getPOI(), osm.getPOI_usingbb(), osm.getRoads(), osm.osmdata_result_2_bbox_pol()

Examples

library(devtools)
#install_github("dimitrisk/goal")
library(raster)
library(goal)
bb = c(38.1 , 26.5 , 39.05 , 27.7)
result = goal::osm.myBB_2_pol(n =bb[3], s =bb[1], w =bb[4], e =bb[2])
result

dimitrisk/goal documentation built on April 5, 2025, 5:04 p.m.