osm.osmdata_result_2_bbox_pol | R Documentation |
Get the bbox of a result, as an SF polygon.
osm.osmdata_result_2_bbox_pol(osmdata_result)
osmdata_result |
An |
An SF polygon which is the bbox of the osmdata
result.
Dimitris Kavroudakis dimitris123@gmail.com
Other osm:
osm.ClipSFnetwork_with_poly()
,
osm.CreateEmptyRaster()
,
osm.bb_2_pol()
,
osm.combineAmenities()
,
osm.combineShops()
,
osm.getFrequency()
,
osm.getLength_footway()
,
osm.getPOI_usingbb()
,
osm.getPOI()
,
osm.getRoads()
library(devtools)
#install_github("dimitrisk/goal")
library(goal)
library(sf)
library(stringr)
am = goal::osm.getPOI_usingbb( c(26.547303,39.101658,26.564641,39.113247), inkey ="amenity" )
amenities = goal::osm.combineAmenities(am)
thepol = goal::osm.osmdata_result_2_bbox_pol(am)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.