SkillAgentSearch skills...

Vec2dtransf

An R package to apply affine and similarity transformations on vector layers (sp objects)

Install / Use

/learn @gacarrillor/Vec2dtransf

README

CRAN checks

vec2dtransf

2D Cartesian Coordinate Transformation

Applies affine and similarity transformations on vector spatial data (sp objects). Transformations can be defined from control points or directly from parameters. If redundant control points are provided Least Squares is applied allowing to obtain residuals and RMSE.

Visit vec2dtransf in CRAN: https://cran.r-project.org/web/packages/vec2dtransf/index.html

Installation

Run in R:

install.packages("vec2dtransf")

Usage

Turn this (displaced spatial data):

Original scenario

Into this (alligned spatial data):

Ideal scenario

See my blog post describing a full example at: http://geotux.tuxfamily.org/index.php/en/component/k2/item/302-affine-and-similarity-transformations-in-r

For complete documentation of the package, see: https://cran.r-project.org/web/packages/vec2dtransf/vec2dtransf.pdf

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated7mo ago
Forks0

Languages

R

Security Score

67/100

Audited on Aug 20, 2025

No findings