斯潘8
span4
gtrans被广泛用于瑞典境内的坐标转换,正如官方推荐的那样,在许多局部坐标系之间转换,并支持橡胶纸转换。Within FME,对gtrans的支持自然地补充和扩展了全面的转换和再投影能力。
The Gtrans transformers (G变压器andGTransattributereProjector)(变压器)are based on the Gtrans reprojection engine that the geodesy unit at the National Land Survey of Sweden (Lantmäteriet) has developed.它们用于在坐标系和大地水准面之间进行重投影。
Gtrans is available within the standard FME product and also within FME Server (which means it can be used from SpatialDirect).GTrans仅在Windows平台上可用(在FME 2015之前,仅限32位版本的FME)。出于许可的原因,ESRI数据互操作性扩展中不提供它。
如果gtrans不可用,CS地图重投影引擎还支持瑞典坐标系。重要的是要知道,CS MAP使用 direct projection.
变压器使用外部文件在坐标系之间进行重投影。这些文件存储在
Explanation of the files:
Each *.tf/*.tfi file in the folder correspond to one line in the Gtrans Translation Files library that can be opened up within the transformers (see image below).When typing in the "Filter" space FME searches the file names of the *.tf/*.tfi files and not the source or destination coordinate systems.
When moving between geoids with the Gtrans transformers you have to make sure that these files exist:
GTrans变换是通过变压器完成的,and not reader/writer settings.
The first attached workspace (小精灵) 是矢量数据的gtrans重投影的一个例子。
上面: Workspace set up to read data and carry out Gtrans reprojection.
上面:gtranreprojector transformer的设置对话框。
上面: Clicking the button to browse for the "translation file" opens this dialog.Here is selected the TF for converting SWEREF 99 lat long to SWEREF 99 14 15.
上面:ll中之前的数据…
上面:…之后的数据,in RT90
第二个附加工作区(gtrans2.zip) 是光栅数据转换的一个例子。
For raster transformations the Reverse Translation File must be supplied in addition to the normal (forward) Translation File.You may also select the raster interpolation type and cell size.
第三个附加工作区(gtrans3.zip) is an example of Gtrans reprojection of attribute data.
Gtrans attribute transformations work the same way as the usual AttributeReprojector transformer.
q)当我已经在目标数据集上设置了坐标系时会发生什么?Will FME reproject the data a second time?
a)不。The data that exits a GtransReprojector transformer has no coordinate system tag,therefore it will not get reprojected by a writer (unless you set the coordinate system deliberately with aCoordinateSystemSetter)
Q) How does FME match its own coordinate systems with the ones in Gtrans?
a)It doesn't.There is no correlation between the two and (as yet) no lookup table that lists matches.If you are aware that your Gtrans coordinate system is an exact match for one of FME's,then you can tag your features using theCoordinateSystemSetter transformer.The main reason to do this is so that when you write the data to an output format,输出格式将最终存储正确的坐标系。
i:\home\hans\prog\gtrans3\gmat\gproj.for(173):运行时错误m6203:数学 -exp:溢出错误 执行回溯: 来自i:\home\hans\prog\gtrans3\gmat\gproj.for(173) from EXE_PROJ in I:\Home\Andalf\Prog\Gtrans3\GATE\GATEEXE.FOR(360) 来自i:\home\andalf\prog\gtrans3\gate\gateexe.for(186) from T_EXETRANS in I:\Home\Andalf\Prog\Gtrans3\MAIN\FOR\GTRANS32.FOR(954)或I:\Home\Hans\Prog\Gtrans3\gmat\gproj.for(189) : run-time error M6205: MATH -sin:tloss错误 执行回溯: 来自i:\home\hans\prog\gtrans3\gmat\gproj.for(189) from EXE_PROJ in I:\Home\Andalf\Prog\Gtrans3\GATE\GATEEXE.FOR(360) 来自i:\home\andalf\prog\gtrans3\gate\gateexe.for(186) from T_EXETRANS in I:\Home\Andalf\Prog\Gtrans3\MAIN\FOR\GTRANS32.FOR(954)
这意味着输入数据的坐标值过大。It usually happens when you try to reproject data that are in millimeters instead of meters,or that you chosen the wrong *.tr/*.tfi file
0.5| 0.2|WARN |Reprojector: The Gtrans reprojection library call GT_SETTRANS() failed with message NOTFOUND xxxx.tr2 0.5| 0.0|WARN |Reprojector: Failed to set active Gtrans translation file to C:\Program Files (x86)\FME/Reproject\Gtrans\Sys\xxxx.tfi 0.5| 0.0|WARN |Reprojector: Invalid reprojection parameters
这意味着FME已经分析了文件C:\Program Files(x86)\FME/reproject\gtrans\sys\XXXX.tfi,发现它引用了文件XXXX.tr2,该文件应在同一文件夹中找到,但FME找不到该文件。确保文件夹中存在文件XXXX.TR2。
0.6_0.2_warn_reprojector:gtrans reprojection library调用gt_settrans()失败,消息为eprojpar/0.6_0.0_warn_reprojector:未能将活动的gtrans转换文件设置为C:\Program Files(x86)\fme2013/reproject\gtrans\sys\xxxx.tfi 0.6_0.0_warn reprojector:无效的reprojection参数
This means that the file C:\Program Files (x86)\FME2013/Reproject\Gtrans\Sys\xxxx.tfi has errors in it's contents.确保.tfi文件正确。
Swedish Direct Reprojection using SWEREF99 and RT90 datums
Coordinate Systems and Measurements with the Reprojector
MicroStation Text Styles in FME 2015.0 and older
Projection Definition and Coordinate Transformation
Resolving an unrecognized Esri Coordinate System Exception
Reading KML | KML to MapInfo TAB
Using external coordinate system names with CoordinateSystemDescriptionConverter
© 2019 亚搏在线Safe Software Inc |Legal