decodePolyline: Decode a Google Polyline to a Data Frame

Description Usage Arguments Value Examples

Description

Decode a Google polyline to a data frame of coordinates.

Usage

1
decodePolyline(enc_polyline, factor = 5)

Arguments

enc_polyline

a Google polyline.

factor

number of decimal digits to be used.

Value

A data frame of latitudes and longitudes is returned.

Examples

1
2
coords <- decodePolyline(enc_polyline = "_p~iF~ps|U_ulLnnqC_mqNvxq`@")
coords

mthh/gepaf documentation built on May 23, 2019, 8:18 a.m.