Package: dwg2geo
Title: Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON'
Version: 0.2.3
Authors@R: c(
    person("André", "Leite", , "leite@castlab.org", role = c("aut", "cre"))
  )
Description: 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.
License: MIT + file LICENSE
URL: https://milkway.github.io/dwg2geo-r/,
        https://github.com/milkway/dwg2geo-r
BugReports: https://github.com/milkway/dwg2geo-r/issues
Depends: R (>= 4.2)
Imports: cli, jsonlite, rlang, tibble
Suggests: sf, testthat (>= 3.0.0), withr
Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.3.3
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.85)
NeedsCompilation: yes
Packaged: 2026-07-24 10:12:04 UTC; leite
Author: André Leite [aut, cre]
Maintainer: André Leite <leite@castlab.org>
Repository: CRAN
Date/Publication: 2026-08-04 10:10:02 UTC
