add class `geojson_list` to returned value
timelyportfolio opened this issue · 4 comments
timelyportfolio commented
As I started testing some experimental sfr
geo_json conversion functions (see r-spatial/sf#185 (comment)), I noticed that geo_point
and geo_polygon
return class list
. Would it be possible to also class the return values as geo_list
similar to geojsonio
?
Thanks so much for this very handy package!
sckott commented
thanks for the issue @timelyportfolio
Yeah, I think so. I'll have a play
sckott commented
@timelyportfolio let me know if that does what you need
timelyportfolio commented
thanks @sckott, does exactly as expected. Now, just need to figure out the best mechanism for sf
auto-conversion of geo_json
and geo_list
since character
and list
are assumed by sf
to be something other than geojson
.