HERE_isoline: Get polygon line drawing output from HERE.com

Description Usage Arguments Value

View source: R/HERE_isoline.R

Description

HERE_isoline is designed to take an origin lat-lon and range constraint and return a data.frame with polygon isoline coordinates for making polygon map shapes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
HERE_isoline(
  origin = NULL,
  app_api = NULL,
  app_id = NULL,
  app_code = NULL,
  coord_type = "deg",
  mode_type = "fastest",
  mode_tran = "car",
  mode_traf = "disabled",
  range_type = "distance",
  range_unit = "mi",
  range_val = NULL,
  dev = FALSE,
  verbose = FALSE
)

Arguments

origin

a vector of length two (2); the latitude and longitude coordinates of the origin location

app_api

a string; the user's API Key Credentials for the HERE.com JavaScript/REST (requires registration)

app_id

a string; the user's App ID for the HERE.com JavaScript/REST (requires registration)

app_code

a string; the user's App Code for the HERE.com JavaScript/REST (requires registration)

coord_type

a string; if the geocoordinates are in degrees or radians:

  1. "rad" (radians)

  2. "deg" (degrees)

mode_type

a string; a method of deciding optimal travel route:

  1. "fastest"

  2. "shortest"

mode_tran

a string; a transportation method for the route:

  1. "car"

  2. "carHOV"

  3. "pedestrian"

  4. "truck"

  5. "bicycle"

mode_traf

a string; whether or not to factor in traffic:

  1. "disabled"

  2. "enabled"

range_type

a string; what range constraint the user desires to use:

  1. "distance"

  2. "time"

range_unit

a string; the units the provided range are given in:

  1. "mi"

  2. "ft"

  3. "km"

  4. "m"

  5. "hrs"

  6. "min"

  7. "sec"

range_val

a numeric; the value of the range constraint

dev

a boolean; whether to use development or production site

verbose

a boolean; TRUE to display json webaddress, FALSE to not display json webaddress

Value

the polygon data.frame


mike-decarlo/gcd documentation built on Oct. 19, 2020, 9:16 a.m.