How cran/dsn works
dsn is a small R library for composing and interpreting GDAL-style data-source strings; it does not itself open or process GDAL data. Users call helpers to add or remove prefixes, wrap subdataset or VRT declarations, build MEM-driver connections, and access datatype or GCP utilities. The MEM connection uses a native address helper, whose registration is visible in the sampled C source. The README documents the capabilities, but the R implementations were not sampled, so detailed call relationships between them are not shown.
Main entry points: init.c Native registration · prefix.R Prefix helpers · wrap.R DSN wrappers · mem.R MEM connections
Components 8
DSN strings
- Prefix helpers
R/prefix.R - DSN wrappers
R/wrap.R - MEM connections
R/mem.R
Raster metadata
- Datatype helpers
R/datatype.R - GCP helpers
R/gcp.R
Native support
- Vector address
src/addr.c - Native registration
src/init.c
Other components
- R user
Connections 6
- R user → Prefix helpers: adds or removes
README.md - R user → DSN wrappers: wraps declarations
README.md - R user → MEM connections: creates connections
README.md - R user → Datatype helpers: uses datatype helpers
README.md - R user → GCP helpers: creates GCP lists
README.md - Native registration → Vector address: registers
src/init.c