tarakc02 / rmapzen

R client for the Mapzen API
https://tarakc02.github.io/rmapzen/
Other
34 stars 4 forks source link

sf support #8

Closed tarakc02 closed 7 years ago

tarakc02 commented 7 years ago

In addition to (or instead of) ability to convert to Spatial* (using as_sp()), would be nice to be able to do as_sf() to make it easier to plug in to the growing suite of tools that support simple features.

tarakc02 commented 7 years ago

(see edzer/sfr#185)

tarakc02 commented 7 years ago

as_sf now converts any response to sf. This is in addition to as_sp. So now there are these options for conversion of the objects returned by the various Mapzen services: