Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON'
Overview
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.
- Fixed installation on CRAN's macOS builders:
cargois invoked with~/.cargo/binappended to thePATH, covering rustup installations that are not on the defaultPATH(0.2.3 failed to install on all four CRAN macOS flavors with "cargo: command not found"). - Upgraded the embedded conversion core to dwg2geo 0.2.3, which adds six entity semantics (curve-fit polylines, dimensions, mlines, multileaders, polyface meshes, model-space attdefs) and geodata reporting.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK10 OK2026-08-06
- ERROR3 OK, 4 ERROR2026-08-05
Documentation
- Help pages
- 4 (1 internal)includes a package overview page
- Examples that run
- 33%1 run in a plain check · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/milkway/dwg2geo-r on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-23Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claudeCommits: at least 16 crediting it in the message
- Claude Fable 58 commits · Jul to Aug 2026
- Claude Opus 4.86 commits · Jul 2026
- Claude Opus 5.52 commits · Sep 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.4Latest
- 0.2.32026-08-04
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-04
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Download size
- 9.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dwg2geo")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.