dwg2geo: Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON'

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.3
Depends: R (≥ 4.2)
Imports: cli, jsonlite, rlang, tibble
Suggests: sf, testthat (≥ 3.0.0), withr
Published: 2026-08-04
DOI: 10.32614/CRAN.package.dwg2geo (may not be active yet)
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 [issues need fixing before 2026-08-21]

Documentation:

Reference manual: dwg2geo.html , dwg2geo.pdf

Downloads:

Package source: dwg2geo_0.2.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dwg2geo to link to this page.