README.md

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



Try the vec2dtransf package in your browser

Any scripts or data that you put into this service are public.

vec2dtransf documentation built on Aug. 23, 2023, 5:07 p.m.