Package: bigcurve
Title: Adaptive Densification of Lines for Map Projections
Version: 0.6.0
Authors@R: c(
    person("Michael D.", "Sumner", , "mdsumner@gmail.com", role = c("aut", "cre", "cph")),
    person("Simon", "Wotherspoon", role = "ctb",
           comment = "developed the spherical track midpoint method that the great circle midpoint used here is based on"),
    person("Mike", "Bostock", role = c("ctb", "cph"),
           comment = "author of the 'd3-geo' adaptive resampling method ported here; see inst/COPYRIGHTS")
  )
Description: Densify lines adaptively, as required by the curvature a map
    projection imposes on them. Edges are read as great circle arcs, and
    vertices are inserted along them only where the projected curve
    deviates from a straight chord by more than a tolerance measured on the
    map, following the adaptive resampling method of the 'd3-geo'
    'JavaScript' library described in Bostock (2016)
    <https://github.com/d3/d3-geo>. Projections are computed with the
    'PROJ' coordinate transformation library (<https://proj.org/>), so any
    coordinate reference system it supports can be a target. Inputs can be
    coordinate matrices, segment meshes or vertex pool topology from
    'wkpool', and edges shared by neighbouring polygons receive identical
    new vertices.
License: MIT + file LICENSE
Encoding: UTF-8
Imports: stats
URL: https://github.com/hypertidy/bigcurve,
        https://hypertidy.github.io/bigcurve/
BugReports: https://github.com/hypertidy/bigcurve/issues
Suggests: geographiclib, knitr, maps, PROJ, rmarkdown, s2, testthat (>=
        3.0.0), textures, wk, wkpool (>= 0.4.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
LinkingTo: cpp11
SystemRequirements: PROJ (>= 8.0.0): libproj-dev (deb), proj-devel
        (rpm), proj (brew)
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-10-23 00:34:54 UTC; mdsumner
Author: Michael D. Sumner [aut, cre, cph],
  Simon Wotherspoon [ctb] (developed the spherical track midpoint method
    that the great circle midpoint used here is based on),
  Mike Bostock [ctb, cph] (author of the 'd3-geo' adaptive resampling
    method ported here; see inst/COPYRIGHTS)
Maintainer: Michael D. Sumner <mdsumner@gmail.com>
Repository: CRAN
Date/Publication: 2026-11-06 12:40:09 UTC
