encode_pl.Rd
Encodes a series of lat/lon coordinates that specify a path into an encoded polyline
encode_pl(lat, lon)
lat | vector of latitude coordinates |
---|---|
lon | vector of longitude coordinates |
string encoded polyline
An encoded polyline is generated from google's polyline encoding algorithm (https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
#> [1] "_p~iF~ps|U_ulLnnqC_mqNvxq`@"## "_p~iF~ps|U_ulLnnqC_mqNvxq`@"