Parses the GeoJSON produced by dwg_convert() into an
sf data frame. The geometry keeps the drawing's local
coordinates and carries no CRS; set the known one explicitly with
sf::st_set_crs() before any reprojection.
Arguments
- result
A
"dwg2geo_result"object fromdwg_convert().- quiet
Suppress the reading message. Defaults to
TRUE.
Examples
if (FALSE) { # \dontrun{
shapes <- dwg_convert("drawing.dwg") |>
dwg_as_sf() |>
sf::st_set_crs(31983)
} # }