Package: dwg2geo
Title: Convert Engineering 'DWG' Drawings to Auditable 'GeoJSON'
Version: 0.2.5
Authors@R: c(
    person("André", "Leite", , "leite@castlab.org", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-4718-9766")),
    person("Raydonal", "Ospina", email = "raydonal@castlab.org", role = "aut",
           comment = c(ORCID = "0000-0002-9884-9090")),
    person("Hugo", "Vasconcelos", email = "hugo.vasconcelos@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0001-6249-0920")),
    person("Diogo", "Bezerra", email = "diogo.bezerra@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0002-1216-8674")),
    person("Hakan", "AK", role = "cph",
           comment = "Author of the bundled 'acadrust' Rust crate, which reads the 'DWG' format (MPL-2.0)"),
    person("Authors of the vendored Rust crates", role = "cph",
           comment = "see inst/AUTHORS")
  )
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>, which reads the 'DWG' format with
    the third-party 'acadrust' library by Hakan AK
    <https://github.com/hakanaktt/acadrust> (Mozilla Public License 2.0),
    bundled with the package: 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. Not affiliated with 'Autodesk';
    'DWG' and 'AutoCAD' are trademarks of 'Autodesk, Inc.'.
Copyright: The R interface and the 'dwg2geo' conversion core are
        copyright of the package authors. The bundled 'acadrust' crate,
        which reads the 'DWG' format, is copyright of Hakan AK and
        distributed under the Mozilla Public License 2.0; its source is
        included in src/rust/vendor.tar.xz and the license text in
        inst/COPYRIGHTS. See inst/AUTHORS for the copyright holders and
        licenses of all bundled 'Rust' crates.
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
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.85)
NeedsCompilation: yes
Config/roxygen2/version: 8.0.0
Packaged: 2026-11-30 15:14:48 UTC; leite
Author: André Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),
  Raydonal Ospina [aut] (ORCID: <https://orcid.org/0000-0002-9884-9090>),
  Hugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),
  Diogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),
  Hakan AK [cph] (Author of the bundled 'acadrust' Rust crate, which
    reads the 'DWG' format (MPL-2.0)),
  Authors of the vendored Rust crates [cph] (see inst/AUTHORS)
Maintainer: André Leite <leite@castlab.org>
Repository: CRAN
Date/Publication: 2026-11-30 16:00:33 UTC
