Package: link2GI 0.7-4

Chris Reudenbach

link2GI: Linking Geographic Information Systems, Remote Sensing and Other Command Line Tools

Functions and tools for using open GIS and remote sensing command-line interfaces in a reproducible environment.

Authors:Chris Reudenbach [cre, aut], Tim Appelhans [ctb]

link2GI_0.7-4.tar.gz
link2GI_0.7-4.zip(r-4.7)link2GI_0.7-4.zip(r-4.6)link2GI_0.7-4.zip(r-4.5)
link2GI_0.7-4.tgz(r-4.6-any)link2GI_0.7-4.tgz(r-4.5-any)
link2GI_0.7-4.tar.gz(r-4.7-any)link2GI_0.7-4.tar.gz(r-4.6-any)
link2GI_0.7-4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
link2GI/json (API)

# Install 'link2GI' in R:
install.packages('link2GI', repos = c('https://r-spatial.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-spatial/link2gi/issues

Pkgdown/docs site:https://r-spatial.github.io

On CRAN:

Conda:

8.82 score 28 stars 2 packages 94 scripts 810 downloads 44 exports 18 dependencies

Last updated from:3f81dfd682. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK213
source / vignettesOK223
linux-release-x86_64OK127
macos-release-arm64OK134
macos-oldrel-arm64OK95
windows-develOK99
windows-releaseOK140
windows-oldrelOK125
wasm-releaseOK148

Exports:add2PathcreateFoldersfindGDALfindGRASSfindOTBfindSAGAgdal_build_argsgdal_contextgdal_context_from_linkgdal_fingerprintgdal_helpgdal_skeletongvec2sfinitProjlinkGDALlinkGRASSlinkOTBlinkSAGAloadEnviotb_args_specotb_build_cmdotb_capabilitiesotb_optionalotb_requiredotb_required_with_outputotb_set_outotb_showparseOTBAlgorithmsparseOTBFunctionrun_gdalrunOTBrunOTB_isolatedsaveEnvisearchGDALWsearchGDALXsearchGRASSWsearchGRASSXsearchOTBWsearchOTBXsearchSAGAWsearchSAGAXsetup_defaultsetupProjsf2gvec

Dependencies:brewclassclassIntDBIe1071jsonliteKernSmoothMASSproxyRcpprenvrstudioapis2sfterraunitswkyaml

OTB Wrapper in link2GI
Two APIs: legacy vs. Self-describing | Legacy API (parseOTBFunction() / runOTB()) | Self-describing API (recommended) | Minimal workflow (Self-describing) | Typical transparent workflow (Self-describing) | Example: DimensionalityReduction (PCA) | Legacy workflow (supported but not recommended) | What changed (Self-describing) | Compatibility and deprecations | Compatibility | Deprecations (explicit list)

Last update: 2025-12-28
Started: 2019-11-28

Installation guide for link2GI related software
Vignette scope | Windows | Recommended baseline: OSGeo4W | Express installation (minimal) | Advanced installation (recommended) | Important note: starting R/RStudio | Orfeo Toolbox (Windows) | Linux | Baseline: use distribution packages where possible | Ubuntu / Debian | Orfeo Toolbox (Linux) | Note on SAGA versions | Arch Linux | Fedora | macOS | GDAL | GRASS | SAGA | QGIS | Homebrew | Practical guidance: “default” vs. “anything else”

Last update: 2025-12-25
Started: 2024-05-07

Link GI to R
What is link2GI? | Why link2GI? | What does “linking” mean? | GRASS GIS | SAGA GIS | Orfeo Toolbox (OTB) | GDAL

Last update: 2025-12-25
Started: 2017-02-09

A Deterministic GDAL CLI Context for Reproducible Workflows
Motivation | Design Goals | Core Concept: The GDAL Context | Creating a Context from linkGDAL() | Inspecting Capabilities (Fingerprinting) | Running GDAL Commands Deterministically | Help-Driven Skeleton Generation | Building Arguments Programmatically | NDJSON Logging for Reproducibility | Relationship to Existing Packages | When Is This Useful? | Summary

Last update: 2025-12-25
Started: 2020-12-05

Basic usage of link2GI
Brute force search | Setting up project structures | linkSAGA - Find and set up 'SAGA' API bindings | Find and set up GRASS 7/8 API bindings | Important note: GRASS runtime environment | Windows (OSGeo4W) | Linux | macOS | linkGRASS | Standard full search usage | Typical for specified search paths and OS | Specific examples | Manual version selection | Creating a permanent gisdbase folder | Using a permanent gisdbase folder | Manual Setup of the spatial attributes | A typical use case for the Orfeo Toolbox wrapper | Usecases presented on the GEOSTAT August 2018 | Find slides and materials | The examples

Last update: 2025-12-22
Started: 2019-11-28

GRASS application for real world big data
Real world example | Downloading census data | Preprocessing the data | Setting up a GRASS project | Importing raster data into GRASS | Importing data as GRASS vector points

Last update: 2025-12-21
Started: 2019-11-28

Create reproducible project structures in link2GI
Using the RStudio GUI | Console Best-Practice Workflow | Minimal recommended lifecycle | Ad 1 - Project creation | Ad 2 - Project entry point | Comprehensive Workflow Description and Design Principles | Scope of initProj() in link2GI | Separation of responsibilities: initProj() vs setupProj() | initProj() | setupProj() | Default setups and configuration-driven structure | Creating a project from the console | Customising a project at creation time | Location tags (loc_name) | The role of src/functions/000_setup.R | Template system and file generation | Common failure modes

Last update: 2025-12-20
Started: 2019-11-28

Readme and manuals

Help Manual

Help pageTopics
Compile folder list and create folderscreateFolder createFolders
Locate Orfeo ToolBox (OTB) installationsfindOTB
Assemble args from a skeleton and a named listgdal_build_args
Create a GDAL CLI context from linked binariesgdal_context
Create a GDAL context from linkGDAL()gdal_context_from_link
Collect a GDAL capability fingerprint for a contextgdal_fingerprint
Get and cache "-help" output for a GDAL commandgdal_help
Build a minimal CLI skeleton from "-help"gdal_skeleton
Converts from an existing `GRASS` environment an arbitrary vector dataset into a sf objectgvec2sf
Simple creation and reproduction of an efficient project environmentinitProj
Locate and set up 'GDAL' API bindingslinkGDAL
Locate and set up GRASS GIS API bindingslinkGRASS
Locate and describe Orfeo ToolBox (OTB) API bindingslinkOTB
Load data from rds format and associated yaml metadata file.loadEnvi
Orfeo ToolBox (OTB) helpers: introspection and command constructionotb_api otb_args_spec otb_build_cmd otb_capabilities otb_optional otb_required otb_required_with_output otb_set_out otb_show
Linux/macOS: lists plugin libs otbapp_*.so, otbapp_*.dylib, otbapp_*.dll Windows: lists wrappers otbcli_<Algo>.ps1, otbcli_<Algo>.bat, otbcli_<Algo>.exe# Retrieve available OTB applicationsparseOTBAlgorithms
Retrieve the argument list from an OTB applicationparseOTBFunction
Run a GDAL utility deterministicallyrun_gdal
Run an OTB application (new workflow C)runOTB
Execute an OTB application in an isolated OTB environment (mainly Windows)runOTB_isolated
Saves data in rds format and adds a yaml metadata file.saveEnvi
Search for OTB installations on Windows (bounded, cmd-free)searchOTBW
Define working environment default settingssetup_default
Setup project folder structuresetupProj
Write sf object directly to `GRASS` vector utilising an existing or creating a new GRASS environmentsf2gvec