Converts engineering 'DWG' drawings ('AutoCAD' 2013+ format) to 'GeoJSON' entirely in-process, with no 'CAD' software, 'LibreDWG', or 'GDAL' required. Wraps the pure-Rust 'dwg2geo' conversion core <https://github.com/milkway/dwg2geo>: every feature carries resolved 'CAD' style metadata (layer, colour, line weight, text), skipped and failed entities are reported with reasons, and the output is deterministic: the same bytes always produce byte-identical 'GeoJSON'. Coordinates are kept in the drawing's local system; the package never guesses a coordinate reference system.
| Version: | 0.2.4 |
| Depends: | R (≥ 4.2) |
| Imports: | cli, jsonlite, rlang, tibble |
| Suggests: | sf, testthat (≥ 3.0.0), withr |
| Published: | 2026-08-05 |
| DOI: | 10.32614/CRAN.package.dwg2geo |
| Author: | André Leite [aut, cre] |
| Maintainer: | André Leite <leite at castlab.org> |
| BugReports: | https://github.com/milkway/dwg2geo-r/issues |
| License: | MIT + file LICENSE |
| URL: | https://milkway.github.io/dwg2geo-r/, https://github.com/milkway/dwg2geo-r |
| NeedsCompilation: | yes |
| SystemRequirements: | Cargo (Rust's package manager), rustc (>= 1.85) |
| Materials: | README, NEWS |
| CRAN checks: | dwg2geo results |
| Reference manual: | dwg2geo.html , dwg2geo.pdf |
| Package source: | dwg2geo_0.2.4.tar.gz |
| Windows binaries: | r-devel: not available, r-release: dwg2geo_0.2.3.zip, r-oldrel: dwg2geo_0.2.4.zip |
| macOS binaries: | r-release (arm64): dwg2geo_0.2.4.tgz, r-oldrel (arm64): dwg2geo_0.2.4.tgz, r-release (x86_64): dwg2geo_0.2.4.tgz, r-oldrel (x86_64): dwg2geo_0.2.4.tgz |
| Old sources: | dwg2geo archive |
Please use the canonical form https://CRAN.R-project.org/package=dwg2geo to link to this page.