csmapattributereprojector
Reprojects coordinates stored as attributes from one coordinate system to another using the CS-MAP library.
Typical Uses
- 需要在使用CS-Map库中明确时存储为属性的拼写坐标
- Reprojecting coordinates stored as attributes with Z values
- Performing reprojections with finer control than theAttributeReprojector变压器提供
它是如何工作的?
csmapattributereprojector接受任何功能。用户指定包含x,y和可选z坐标的属性,并提供两个Sourceand目的地坐标系.
变换器根据这些选择恢复坐标,使用CS-Map库,并更新X,Y, andz属性对新价值观。原始值被覆盖。
此变形器不会更改特征的几何形状 - 仅取消所选的值X,Y, andz属性(如果它们包含坐标值)会更改。
准确的结果取决于用户对源坐标系的正确选择。
The CS-Map library is FME’s default library, and so is generally used for most transformations. Using this transformer explicitly ensures that this library is used, and also provides options for handing Z (vertical) values.
动态坐标系
Features may be reprojected to a动态的目的地坐标系- that is, a local coordinate system that is created specifically for each individual feature. This is often used for tasks such as taking measurements or creating geometry in meters or other ground units, on data with geographic (latitude and longitude) coordinates.
有两种类型可用:
- _AZMEA_(动态重新注入平等地区) - Better for preserving area accuracy
- _AZMED_(动态重新注入Equal Distance) - 更好地保持距离精度
在任何一种情况下,将输入功能都恢复为居中在其边界框上的本地坐标系。虽然所有输出功能都将居中在共同的原点(除了极近的磁极附近的特征外)并显示在彼此顶部堆叠,每个输出功能都保留了重注(等原始位置)的具体细节,并且可以被安全亚搏在线地恢复回投影或地理坐标系。
注意,不考虑Z值,因此最佳地保护区域或距离在0米的椭圆形高度处的几何体。
Note: ">Note:To calculate and reproject to a single AZMED or AZMEA coordinate system that encompasses all input features, consider using thecommonlocalreprojector.
Geographic Transformations
Geographic Transformations control how coordinates are converted between different datums.
默认值转型是
如果an explicitly selected pair of coordinate systems has one or more geographic transformations available, they will be provided for explicit selection.
如果设置为
例子
In this example, we have a CSV file containing Community Gardens, along with their address and latitude/longitude coordinates. The features have no geometry - the coordinates are simply stored as attribute values.
We want to add a second of coordinates, also as attributes, in an appropriate UTM coordinate system.
这将采用两个步骤 - 首先,该功能被路由到attributemanager.创建坐标的副本,然后到一个csmapattributereprojector来重新删除它们。
In the parameters dialog of theattributemanager., we add the two new attributesX_COORD.andY_COORD., and copy the values fromLONGITUDEand纬度.
In the parameters dialog of the CsmapAttributeReprojector, we set theSourceand目的地坐标系toLL84andUTM83-10, respectively.转型留下默认,
由于数据是2D,垂直处理留下默认值,Ignore heights and leave them unchanged.
Thex属性andY Attribute被映射到我们刚刚添加的属性attributemanager..
输出功能仍然没有几何形状,现在包含第二组repeteed坐标,用于UTM区域10 NAD83。
使用说明
- FME还具有工作区参数,切除引擎,可以设置为FME(CS-MAP)或ESRI。此变换器将覆盖此参数设置。
- TheAttributeReprojectorprovides similar functionality, and will use the default library (CS-Map or Esri) set in FME. It does not handle z values.
Working With Coordinate System Transformers
FME使用CS-Map坐标系库本身支持坐标系转换和重注。
坐标系通常具有名称和定义,并且该定义的语法可以在空间数据格式和其他坐标系库之间变化很大。定制和本地坐标系也可以在FME中定义,进一步复杂化问题。对于深入的信息,请参阅使用坐标系documentation.
坐标系支持
这些变换器执行各种坐标与系统相关的任务,但不会恢复数据。如果任务需要坐标系库,则使用CS-MAP。
在FME的内部格式和常见第三方和开源表示之间转换坐标系名称和定义,将结果存储为属性。 |
|
Retrieves the FME coordinate system name of the feature into an attribute. |
|
从功能中删除坐标系,无需修改几何或坐标。 |
|
将指定的坐标系分配给特征,而不修改几何或坐标。 |
|
将指定的本地坐标系分配给特征,而不修改几何或坐标。 |
协调系统重新注明
Different coordinate system libraries (engines) not only contain coordinate system definitions, they also have unique reprojection algorithms. FME’s generic reprojection transformers, in the first table below, use CS-Map. A selection of other libraries is also available, some of which are specific to certain areas of the world or certain software platforms.
Default reprojections, as in a workspace with different input and output coordinate systems selected, are performed with the CS-Map library, also the equivalent of using the generic重新设计变压器。
如果you are reprojecting explicitly with a transformer in the workspace, using library-specific transformers is recommended. In the case ofcsmapreprojectorversus the Reprojector, the library is identical, but the CSMapReprojector handles vertical coordinate calculations whereas the Reprojector does not.
通用输注变压器
Library |
||
---|---|---|
Reprojects x and y coordinates stored as attributes from one coordinate system to another. |
CS-Map. |
|
Reprojects one or more features to a local coordinate system centered on the bounding box containing all features. |
CS-Map. |
|
Converts a given angle from one coordinate system to another. |
CS-Map. |
|
Converts a given distance from one coordinate system to another. |
CS-Map. |
|
将特征x和y坐标从一个坐标系重新注入另一个。 |
CS-Map. |
Library-Specific Reprojection Transformers (Recommended)
Library (External Links) |
||
---|---|---|
使用CS-Map库将作为属性存储为属性的X,Y和可选Z坐标。 |
||
Reprojects功能x, y,和选项ally z coordinates from one coordinate system to another using the CS-Map library. |
||
Reprojects feature coordinates from one coordinate system to another using the Esri reprojection library. |
||
大不列颠 北爱尔兰 Republic of Ireland |
使用Grid Ocquestie重新注入库将特征坐标从一个坐标系转到另一个坐标系。此库允许您使用GridInquestieRireprojector来转换Etrs89(WGS84)之间的坐标和英国,北爱尔兰和爱尔兰共和国的国家坐标系。 |
|
Sweden |
Reprojects attributes holding coordinate values from one coordinate system to another using the Gtrans reprojection library (from the National Land Survey of Sweden), and the specified translation file. |
|
Sweden |
使用GTRANS重新注明库(来自瑞典国家土地调查)和指定的翻译文件,将特征从一个坐标系重新注册到另一个坐标系。 |
|
Reprojects attributes from one coordinate system to another using the PROJ library. |
||
Reprojects feature coordinates from one coordinate system to another using the PROJ library. |
||
瑞士 |
将特征坐标从一个坐标系坐标坐到另一个坐标系,使用REMERAME库。该变压器处理瑞士的通常的平面图和完整参考帧变更。 |
Configuration
输入Ports
此变形器接受任何功能。
输出端口
具有参数中指定的reprojeted属性的功能。几何不变。
Parameters
源坐标系 |
指定传入功能的坐标系。 可以从FME坐标系库中明确地选择坐标系,或者通过属性值或用户参数由名称提供。 |
目的地坐标系 |
Specify the coordinate system to be reprojected to. Coordinate systems may be selected from the FME Coordinate System Gallery, or provided by name via an attribute value or user parameter. |
转型 |
Select a method for applying a geographic transformation if one is needed to move between different datums:
Note: ">Note: |
垂直处理 |
Select a method for handling Z values:
|
||||||||||
Geoid Height Grid |
如果垂直处理includes an Orthometric height, specify the Geoid height grid file to be applied to the Z values. FME supports the following vertical grid formats:
The CsmapReprojector can apply grids in any of these formats via a.gdc文件,它是一个文本文件,列出一个或多个grid files in the formats listed above. Grids will be tried in order until one is found that provides coverage for the point being transformed. Grid files may be listed with absolute paths, or by paths relative to the.gdcfile. 示例.gdc文件内容在同一文件夹中的网格文件作为.gdc: # comments start with '//www.baooytra.com/docs/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/#' ./CGG2000.byn Some of the.gdcfiles shipped with FME reference grid files that are not included in the Desktop installer. Download additionalReprojection Grid FilesatFME下载. See垂直网格想要查询更多的信息。 |
x属性 |
提供包含x坐标的属性是要重新删除的。 |
Y Attribute |
Provide the attribute containing the Y coordinate to be reprojected. |
Z Attribute |
如果垂直处理是不是调成忽略高度并使它们保持不变, provide the attribute containing the Z coordinate to be reprojected. |
编辑变换器参数
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, see变换器参数菜单选项.
Defining Values
有几种方法可以在变压器中定义使用的值。最简单的是简单地输入值或字符串,其可以包括各种类型的函数,例如属性引用,数学和字符串函数和工作区参数。有许多工具和快捷方式可以帮助构造值的值,通常可以从与值字段相邻的下拉上下文菜单中提供。
使用文本编辑器
The Text Editor provides a convenient way to construct text strings (including regular expressions) from various data sources, such as attributes, parameters, and constants, where the result is used directly inside a parameter.
Using the Arithmetic Editor
算术编辑器提供了一种方便的方法来构建来自各种数据源的数学表达式,例如属性,参数和特征函数,其中结果直接在参数内使用。
Conditional Values
根据通过或失败的一个或多个测试条件设置值。
Content
表达式和字符串可以包括许多函数,字符,参数等。
设置值 - 无论是否直接在参数中输入或使用其中一个编辑器和包含字符串的表达式都是构造的,都会评估这些函数的字符串和表达式。因此,这些函数的名称(以@ <function_name.>) should not be used as literal string values.
These functions manipulate and format strings. | |
Special Characters |
文本编辑器中提供了一组控制字符。 |
Math functions are available in both editors. | |
日期/时间函数 | 文本编辑器中提供日期和时间函数。 |
这些运算符可在算术编辑器中使用。 | |
这些主要是特定于特征的值。 | |
可以使用FME和工作区的参数。 | |
Creating and Modifying User Parameters | Create your own editable parameters. |
Dialog Options - Tables
具有桌面参数的变压器具有填充和操作值的其他工具。
行重新排序 |
启用后,单击行项目后。选择包括:
|
Cut, Copy, and Paste |
启用后,单击行项目后。选择包括:
Cut, copy, and paste may be used within a transformer, or between transformers. |
筛选 |
开始键入字符串,矩阵仅显示匹配这些字符的行。搜索所有列。这仅影响变换器内的属性的显示 - 它不会更改输出哪个属性。 |
进口 |
导入使用从数据集读取的一组新属性填充表。特定应用在变压器之间变化。 |
Reset/Refresh |
Generally resets the table to its initial state, and may provide additional options to remove invalid entries. Behavior varies between transformers. |
Note:Not all tools are available in all transformers.
参考
处理行为 |
|
Feature Holding |
No |
依赖性 | Some reprojections may require additional grid files. |
FME许可级别 | FME Base Edition and above |
Aliases | |
History |
FME社亚搏国际在线官网区
FME社区是演示亚搏国际在线官网,TOS,文章,常见问题和更多的地方。获取您的问题的答案,从其他用户学习,并建议,投票和评论新功能。
Search forall results about the CsmapAttributeReprojectoron the FME Community.
例子可能包含根据开放政府许可证的信息 - 温哥华和/或公开的政府许可证 - 加拿大。