decodePolyline {gepaf} | R Documentation |
Decode a Google Polyline to a Data Frame
Description
Decode a Google polyline to a data frame of coordinates.
Usage
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
coords <- decodePolyline(enc_polyline = "_p~iF~ps|U_ulLnnqC_mqNvxq`@")
coords
[Package gepaf version 0.1.1 Index]