Software
isoband

isoband

isoband: An R package to generate contour lines and polygons.

C++

The isoband package generates contour lines (isolines) and contour polygons (isobands) from regularly spaced elevation grids. It provides two main functions, isolines() and isobands(), that take grid coordinates and elevation data as input and return lists of contour features at specified levels.

The package outputs coordinate vectors with ID information that can be rendered directly with base R grid graphics or converted to spatial features for use with ggplot2 and sf. It handles large datasets efficiently, as demonstrated with the volcano elevation dataset, and provides a simple API for creating publication-quality contour visualizations. The coordinate format makes it straightforward to integrate contour output into existing spatial data workflows.

Contributors