googlePolylines icon indicating copy to clipboard operation
googlePolylines copied to clipboard

GeoJSON to encoded polylines

Open dcooley opened this issue 7 years ago • 0 comments

similar to how geojsonsf encodes GeoJSON - use the same 'geojson_to_` code, but at each iteration of extracting lon/lat, encode it into a polyline.

It would replace this workflow

library(geojsonsf)
library(googlePolylines)

googlePolylines::encode(
  geojsonsf::geojson_sf(geo_melbourne)
)

dcooley avatar May 12 '18 05:05 dcooley