osm.getPOI_usingbb: osm.getPOI_usingbb

View source: R/osm.r

osm.getPOI_usingbbR Documentation

osm.getPOI_usingbb

Description

Get all POIs of a city. Providing the bounding box we get back an osmdata object of Spatial Feature ("sf") type.

Usage

osm.getPOI_usingbb(
  inbb = c(26.547303, 39.101658, 26.564641, 39.113247),
  inkey = "amenity"
)

Arguments

inbb

A vector of coordinates, representing the bounding box of the area.

inkey

The name of a key such as: amenities, shops, ...

Value

An osmdata object of Spatial Feature ("sf") type.

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.getRoads(), osm.osmdata_result_2_bbox_pol()

Examples

library(goal)
myt = osm.getPOI_usingbb( c(26.547303,39.101658,26.564641,39.113247) )
myt

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