Skip to content

dwg2geo

0.2.4Package record

Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON'

0packages depend
756downloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.4
  • Fixed installation on CRAN's macOS builders: cargo is invoked with ~/.cargo/bin appended to the PATH, covering rustup installations that are not on the default PATH (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

CRAN checks
13OK
Slowest check: 10.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK10 OK2026-08-06
  • ERROR3 OK, 4 ERROR2026-08-05
Advisories

none known

Documentation

In release 0.2.4
READMEYes · 247 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.4Citation fileNoWebsiteYes · pkgdown
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

756
CRAN downloads in the past year
Rank #16,953 · ~2/day · ~63/mo
Daily download trend is not available in this view yet.
22730 days
75690 days
7561 year
Compare downloads with other packages →
Also on44 r2u

Repository

2Stars
0Forks
0Open issues
0Open PRs
2Releases
16Commits
1Commit identities
16 commits · Last activity 2026-09-30 · +100% stars, 30d
Responsiveness
How these are sampled
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

2026-08-05 · 02026-09-29 · 2
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-07-23
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude
    Commits: at least 16 crediting it in the message
Models named in its commits
  • Claude Fable 58 commits · Jul to Aug 2026
  • Claude Opus 4.86 commits · Jul 2026
  • Claude Opus 5.52 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing dwg2geo adds 11 packages (8 with compiled code, 5.0 MB of source tarballs). Heaviest: jsonlite 1.0 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.2
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.3 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.4Latest
    record
    2026-08-05 · current release · diff ↗
  • 0.2.3
    record
    2026-08-04
  • R
    R 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")
Leite, A. (2026). dwg2geo: Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON' (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dwg2geo version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy