Closed SymbolixAU closed 6 years ago
js <- '{"type":"GeometryCollection","geometries":[{"type":"Polygon","coordinates":[[[0,0],[0,1],[1,1],[1,0],[0,0]]]},{"type":"Point","coordinates":[0,0]}]}' sf <- geojson_sf(js) geo <- geojsonsf::sf_geojson(sf) geojsonsf::geojson_sf(geo)