vec2dtransf-package(vec2dtransf)
vec2dtransf-package()所属R语言包:vec2dtransf
2D Cartesian Coordinate Transformation
二维直角坐标变换
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This package provides classes for defining and applying both 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.
这个包提供的类的定义和应用仿射相似变换的矢量空间数据(SP对象)。转换可以从控制点或直接从参数定义。如果多余的控制点,应用最小二乘允许获得残差RMSE。
Details
详细信息----------Details----------
This package helps to define a transformation object (either similarity or affine) from control points or directly from parameters. Similarity transformations can rotate, shift and scale geometries whereas affine transformations can rotate, shift, scale (even applying different factors on each axis) and skew geometries.
这个包可以从控制点定义一个转换对象(或者相似或仿射),或直接从参数。相似变换可以旋转,平移和规模的几何而仿射变换旋转,移位,缩放(即使采用不同的因素对每个轴)和歪斜的几何形状。
If control points are provided, the 'calculateParameters' method must be used in order to calculate the transformation parameters. If there are more control points than required (2 for similarity and 3 for affine) Least Squares is applied and therefore residuals as well as Root Mean Square Error (RMSE) are available via 'getResiduals' and 'getRMSE' methods. Parameters can always be accessed via 'getParameters' method.
如果控制点中所提供的,calculateParameters的方法,必须使用以计算变换参数。如果有更多的控制点,比要求的相似性和仿射(2)最小二乘法的应用,因此残差以及均方根误差(RMSE)都可以通过“getResiduals”和“getRMSE”的方法。参数始终可以访问通过“getParameters函数的方法。
Once parameters are known, sp objects can be transformed by usign the 'applyTransformation' method. Supported sp objects are SpatialPoints, SpatialPointsDataFrame, SpatialLines, SpatialLinesDataFrame, SpatialPolygons and SpatialPolygonsDataFrame.
一旦参数是已知的,属对象可以转化来限定方法applyTransformation。支持SP的对象是SpatialPoints,SpatialPointsDataFrame,SpatialLines,SpatialLinesDataFrame,SpatialPolygons SpatialPolygonsDataFrame。
Additionally, the method 'plotGridTransformation' can plot a grid of points to see the effect of the transformation on a given extent.
此外,的方法plotGridTransformation可以绘制的网格点,一个给定的程度上看到的效果的变换。
(作者)----------Author(s)----------
German Carrillo (<a href="http://geotux.tuxfamily.org">http://geotux.tuxfamily.org</a>) <br>
Maintainer: German Carrillo <gcarrillo@uni-muenster.de>
参考文献----------References----------
GIS and surveying. Section 4.5. pp.109-117,135-137, 2008. <br>
with R and PostGIS. <URL: http://casoilresource.lawr.ucdavis.edu/drupal/node/433> <br>
<URL: http://kartoweb.itc.nl/geometrics/Coordinate%20transformations/coordtrans.html><br>
<URL: http://cran.r-project.org/web/packages/sp/index.html>
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|