RasterGCPExtractor
Extracts地面控制点(GCP)来自栅格功能的坐标系和点值,并将其视为属性。
Typical Uses
- 将GCP栅格属性提取到属性以在工作区中的其他位置使用。
How does it work?
The RasterGCPExtractor receives raster features and extracts any Ground Control Points (GCPs) that exist as a raster property on the input feature. The following attributes are added to the output features:
_gcp_coordsys | The GCP coordinate system. |
_gcp_value. | All existing GCPs, as a string. Each GCP has five components, separated by spaces: Column Row X-Coordinate Y-Coordinate Z-Coordinate 例如: 1442 6863 483000 5456000 0 Multiple GCPs are combined into one string, separated by semicolons: 1442 6863 483000 5456000 0; 1415 1143 483000 5468000 0; 4754 1120 490000 5468000 0 |
没有从栅格属性中删除GCP,因此输出功能上的属性和属性也存在。
This transformer is unaffected by raster band and palette selection.
例子
In this example, we will extract the GCP coordinate system and values from a GeoTIFF raster.
不te that the source raster has GCPs stored as raster properties.
栅格被路由到Rastergcpextractor中。
There are no parameters to configure.
The output raster feature has new attributes containing the GCP Coordinate System, and the GCP points as a string. The original GCP raster properties remain intact.
Usage Notes
Choosing a Raster Transformer
FME has an extensive selection of transformers for working with raster data. They can be generally categorized as working with whole rasters, bands, cells or palettes, and those designed for workflow control or combining raster with vector data.
有关光栅几何和属性的信息,请参阅罗斯克斯(IFMERaster).
Working with Rasters
RasterCellOriginSetter | Sets the cell origin point within cells in a raster. |
RasterConvolver | Applies a convolution filter (sometimes called akernel或者lens)栅格功能并输出结果。 |
RasterExpressionEvaluator | 评估栅格或一对栅格中的每个单元格的表达式,包括代数操作和条件陈述。 |
RasterExtentsCoercer | Replaces the geometry of input raster features with a polygon covering either the extents of a raster or the extent of data within a raster. |
RasterGCPExtractor | Extracts地面控制点(GCP)来自栅格功能的坐标系和点值,并将其视为属性。 |
RasterGCPSetter | Sets地面控制点s(GCPS)在光栅上,用已知坐标配对单元位置。 |
RasterGeoreferencer | Georeferences a raster by either known corner coordinates or origin, cell size, and rotation. |
RasterHillshader | 基于高程值,生成地形的灰度阴影浮雕表示。 |
RasterInterpretationCoercer. | Alters the interpretation type of rasters, including all bands, and converts cell values if necessary. |
rastermosaicker. | Merges multiple raster features into a single raster feature. |
RasterPropertyExtractor | 提取栅格功能的几何属性并将其视为属性。 |
RasterPyramider | Resamples rasters to multiple resolutions, based on either number of levels or dimensions of the smallest output raster. |
RasterRegisterer | Transforms an image to minimize its difference with another. |
RasterResampler. | Resamples rasters, based on specified output dimensions, cell size in ground units, or percentage of original, and interpolates new cell values. |
RasterRotationApplier | Rotates a raster feature according to its rotation angle property, interpolating new cell values, updating all other affected raster properties, and producing an output raster feature with a rotation angle of zero. |
rastersharpener. | 增强光栅图像的特征。Rastersharpener增强边界,线条和曲线,同时降低光栅图像的平坦区域中的噪音。 |
RasterSubsetter | Clips raster features using pixel bounds instead of ground coordinates, and optionally adds cells around the perimeter. |
rastertiler. | Splits each input raster into a series of tiles by specifying either a tile size in cells/pixels or the number of tiles. |
范特利奥戈翁塞纳克 | Creates polygons from input raster features. One polygon is output for each contiguous area of pixels with the same value in the input raster. |
WebMapTiler | 创建一系列可通过Web映射应用程序使用的图像块,例如Bing™Maps,Google Maps™或Web地图图块服务。这是通过重新采样仪器来完成各种不同分辨率的,然后将它们拆分为瓷砖。 |
与乐队一起使用
RasterBandAdder | Adds a new band to a raster feature. |
RasterBandCombiner. | 将巧合栅格功能合并到单个输出栅格功能,保留和附加所有频段。 |
RasterBandInterpretationCoercer | 改变单个光栅带的解释类型,如有必要,转换单元值。 |
RasterBandKeeper | 从栅格功能中删除所有未选择的频带。 |
Rasterbandminmaxxtractor. | Extracts the minimum and maximum band values, palette keys, and palette values from a raster feature, and adds them to a list attribute. |
Rasterbandnamesetter. | 将所选频段的频带名称设置在栅格上,与频带数字相比,使栅格内容更加简单地理解。 |
RasterBandNodataRemover | Removes the existing nodata identifier from selected bands of a raster feature. Any values previously equal to the nodata value are considered valid data. |
RasterBandNodataSetter | Sets a new nodata value on selected bands of a raster feature. |
RasterBandOrderer | Specifies the required order of bands in a raster. Bands are reordered according to the input band indices. |
RasterBandPropertyextractor. | Extracts the band and palette properties of a raster feature and exposes them as attributes. |
RasterBandremover | 从栅格功能中删除任何选定的频段。 |
漂流带带子 | 将频带或唯一频带和调色板组合分开,并输出单个栅格功能或包含所有组合的单个新栅格功能。 |
RasterStatisticsCalculator | Calculates statistics on raster bands and adds the results as attributes. |
使用细胞
RasterAspectCalculator | 计算光栅的每个单元的方面(斜率方向)。方面以从北方顺时针的0到360测量。 |
RasterCellCoercer | 为栅格中的每个单元格创建各个点或多边形,可选地将频带值提取为z坐标或属性。 |
RasterCellvaluecalculator. | 在一对栅格的单元格值上评估基本算术,最小值或平均操作。 |
RasterCellValueReplacer | 用新的单个值替换栅格中的一系列频带值。 |
RasterCellValueRounder | 舍入光栅单元值。 |
RasterSegmenter | 基于输入光栅图像单元中的强度差,将光栅图像分配到从输入图像中的任意大小的小区组。 |
rastersingularcellvaluecalculator | Performs basic arithmetic operations on the cell values of a raster against a numeric value. |
rasterslopecalculator. | Calculates the slope (maximum rate of change in z) for each cell of a raster. |
Working with Palettes
RasterPaletteAdder | Creates a palette from an attribute, and adds this palette to all selected bands on a raster. |
RasterPaletteExtractor | Creates a string representation of an existing palette on a raster and saves it to an attribute. |
Rasterpalettegenerator | 从光栅的选定频段中生成调色板。输出栅格将使所选频段由带有调色板的新频段替换。 |
RasterPaletteInterpretationCoercer | Alters the interpretation type of raster palettes. |
RasterPaletteNodataSetter | Identifies the palette key that matches a raster band’s nodata value, and sets a value on it. |
RasterPaletteRemover | Removes selected palette(s) from raster features. |
RasterPaletteResolver | 通过用相应的调色板值替换单元值来解析栅格上的调色板。具有多个组件(如RGB)的调色板值被分解,并且分配给多个新添加频段的单个值。 |
Workflow Control
RasterCheckpointer | 强制累计覆盖栅格操作要处理,将状态保存到磁盘并释放资源以调整性能或协助内存限制。 |
RasterConsumer | Reads raster features for testing purposes, including any accumulated raster operations. No additional operations are performed, and nothing is done with the features. |
RasterExtractor | 将栅格功能的几何图中序列化为Blob属性,根据常用二进制栅格格式的选择编码内容。 |
RasterNumericCreator | 创建指定大小和分辨率的数字栅格,具有默认单元格值。 |
RasterReplacer | 解码包含存储为Blobs的编码栅格的二进制属性,用解码栅格替换要素的几何图形。 |
RasterRGBCreator | Creates a color raster feature of specified size, resolution, and interpretation type, with default cell values. |
rasterselector | Selects specific bands and palettes of a raster for subsequent transformer operations. |
Vectors and Rasters
ImageRasterizer | Creates a raster representation of vector or point cloud input features, using the fme_color attribute over a solid background fill for vector features. Point clouds may be rendered using their color or intensity components. |
NumericRasterizer | Creates a numeric raster representation of vector or point cloud input features, where cell values are taken from the z coordinates of the input features and overlaid on a uniform background. |
Mapnikerasterizer. | 从输入向量和光栅功能生成光栅,使用MapNik Toolkit对符号化和标签进行精细控制。 |
PointCloudonRasterComponentsEtter. | 通过覆盖光栅上的点云来设置点云组件值。每个点的组件值从点位置处的频带值内插。 |
PointonRasterValueExtractor. | 从一个或多个输入点的位置处从栅格中提取频带和调色板值,并将其设置为特征上的属性。 |
RasterDemgenerator. | 通过统一采样从输入点和断裂线产生的Delaunay三角测量来产生光栅数字高度模型(DEM)。 |
VectorOnRasterOverlayer | Rasterizes vector or point cloud features onto an existing raster. For vector features the fme_color attribute sets pixel color, and point clouds may be rendered using their color or intensity components. |
配置
输入端口
此变形器仅接受栅格功能。
Output Ports
具有GCP点值和坐标系的栅格功能作为属性添加。
不n-raster features will be routed to the
Rejected features will have an fme_rejection_code attribute with one of the following values:
Invalid_geometry_type.
Rejected Feature Handling:可以设置为终止翻译或在遇到被拒绝的功能时继续运行。此设置可用作默认设置FME option和A.工作区参数.
Parameters
This transformer has no parameters.
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options.
定义值
There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.
Using the Text Editor
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
Set values depending on one or more test conditions that either pass or fail.
Parameter Condition Definition Dialog
内容
Expressions and strings can include a number of functions, characters, parameters, and more.
When setting values - whether entered directly in a parameter or constructed using one of the editors - strings and expressions containing String, Math, Date/Time or FME Feature Functions will have those functions evaluated. Therefore, the names of these functions (in the form @<function_name>) should not be used as literal string values.
These functions manipulate and format strings. | |
Special Characters |
A set of control characters is available in the Text Editor. |
两个编辑器都有数学函数。 | |
Date/Time Functions | 文本编辑器中提供日期和时间函数。 |
这些运算符可在算术编辑器中使用。 | |
These return primarily feature-specific values. | |
FME and workspace-specific parameters may be used. | |
创建和修改用户参数 | 创建自己的可编辑参数。 |
对话框选项 - 表格
Transformers with table-style parameters have additional tools for populating and manipulating values.
行重新排序 |
Enabled once you have clicked on a row item. Choices include:
|
Cut, Copy, and Paste |
Enabled once you have clicked on a row item. Choices include:
Cut, copy, and paste may be used within a transformer, or between transformers. |
Filter |
输入一个字符串,和矩阵只会display rows matching those characters. Searches all columns. This only affects the display of attributes within the transformer - it does not alter which attributes are output. |
Import |
Import populates the table with a set of new attributes read from a dataset. Specific application varies between transformers. |
重置/刷新 |
Generally resets the table to its initial state, and may provide additional options to remove invalid entries. Behavior varies between transformers. |
不te:不t all tools are available in all transformers.
参考
Processing Behavior |
|
Feature Holding |
不 |
Dependencies | 没有任何 |
FME Licensing Level | FME Professional Edition and above |
Aliases | |
History |
FME Community
The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.
Search for所有结果都是关于Rastergcpextractor的on the FME Community.
例子may contain information licensed under the Open Government Licence – Vancouver and/or the Open Government Licence – Canada.
包含根据开放式政府许可证的信息 - 加拿大。