POIradius: Points of Interest Within A Given Radius

Description Usage Arguments Value Examples

View source: R/apicalls.R

Description

Returns a list of name and coordinates of POI's based on the search parameters.

Usage

1
POIradius(fromaddress = NULL, fromcoord = NULL, poitypes = NULL)

Arguments

fromaddress

is an adress type: roadname+housenumber+postalcode

fromcoord

is a coordinate type: latitude, longtitude

poitypes

is a vector poi types to search for

Value

Returns a list

Examples

1
2
3
4
5
# POIs of type pharmacy, lake or coast within default 20km radius of address:
POIradius(fromaddress = "elmegade 5 2200", poitypes = c("pharmacy", "lake", "coast", "forest"))

# POIs of type pharmacy, lake or coast within default 20km radius of coordinate:
POIradius(fromcoord = "55.69043,12.53527", poitypes = c("pharmacy", "lake", "coast", "forest"))

56north/hvorlangterder documentation built on May 5, 2019, 11:27 a.m.