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
Run in R:
install.packages("vec2dtransf")
Turn this (displaced spatial data):
Into this (alligned spatial data):
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