CRAN checks


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:


Run in R:



Turn this (displaced spatial data):

Original scenario

Into this (alligned spatial data):

Ideal scenario

See my blog post describing a full example at:

For complete documentation of the package, see: