Tag: FME预览模式: 普通 | 列表

FME模糊匹配搜索函数应用及对比

FME的易用性,显而易见。

但工作中很多函数都没用过,真正用起来网上资料很少。经过摸索得出以下试用方法,希望在工作上帮助大家

查看更多...

Tags: FME MapInfo arcmap

分类:GIS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 174

关于FME中的正则表达式的应用

关于FME中的正则表达式的应用:
因工作需要,使用到了FME的模糊查找功能,举例帮助大家理解:

以下是FME帮助手册原文:
正则表达式(AREs)是一个或多个被‘|’分隔的分支,与任意能与之匹配的相匹配,以下为表达式中各符号的含义:        

查看更多...

Tags: FME

分类:GIS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 122

FME函数查询手册

TransFORMer
Brief Descrīption
简介(注意并非针对本文,可能有差异)

2DArcReplacer
Replaces the geometry of the feature with a two-dimensional arc whose shape is set by the parameters, which can be either constant floating point values or the values of existing attributes.
改为二维圆弧,圆弧的形状由参数控制,例如常数或属性值

2DBoxReplacer
Replaces the geometry of the feature with a two-dimensional box whose minimums and maximums are fixed val-ues, or are taken from attributes in the original feature.
改为二维矩形,矩形的最大最小坐标为指定的常数或原始要素的属性值

2DCreator
Creates a two-dimensional feature using the parameters supplied, and sends it into the workspace for processing.
根据参数创建二维要素,并输入转换流程

2DEllipseReplacer
Replaces the geometry of the feature with a two-dimensional ellipse whose shape is set by the parameters.
改为二维椭圆,椭圆的形状由参数控制

2DForcer
Removes any elevation (Z) coordinates which may (or may not) have been present on the original feature.
改为二维要素(删除Z坐标)

2DGridCreator
Creates a grid of two-dimensional point features, at the origin and using the offsets specified.
按格网方式生成一批二维点状要素,须指定原点和间距

2DGridReplacer
Replaces the input features with a grid of two-dimensional point features that have the specified spacing, and which cover (at least) the bounding box area of all the features that enter the transFORMer.
将输入的一批要素改为按格网方式生成的二维点状要素,格网的范围(至少)覆盖全部输入要素的外接矩形,格网间距须指定

2DPointAdder
Adds a two-dimensional point as the last vertex of the feature. The ordinates are taken from attributes in the original feature.
给要素增加一个二维的节点(最后一个节点),其坐标由原始要素的属性获得

2DPointReplacer
Replaces the geometry of the feature with a two-dimensional point whose ordinates are taken from attributes in the original feature.
改为二维的点,其坐标由原始要素的属性获得

3DArcReplacer
Replaces the geometry of the feature with a two-dimensional arc whose shape is set by the parameters, which can be either constant floating point values or the values of existing attributes.
改为二维圆弧(注:原文如此),圆弧的形状由参数控制,例如常数或属性值

3DCreator
Creates a three-dimensional feature using the parameters supplied, and sends it into the workspace for processing.
根据参数创建三维要素,并输入转换流程

3DForcer
Sets all the Z coordinates of the feature to the value of the specified attribute (or the entered floating point number).
改为三维要素,Z坐标由指定的属性或常数获得

3DInterpolator
Interpolates elevation values along a linear feature from a starting value to an ending value.
三维插值:沿着一个线状要素、根据起始值和结束值内插高程

3DPointAdder
Adds a three-dimensional point as the last vertex of the feature. The ordinates are taken from attributes in the original feature.
给要素增加一个三维的节点(最后一个节点),其坐标由原始要素的属性获得

3DPointReplacer
Replaces the geometry of the feature with a three-dimensional point whose ordinates are taken from attributes in the original feature.
改为三维的点,其坐标由原始要素的属性获得

Affiner
PerFORMs an affine transFORMation on the coordinates of the feature.
坐标仿射变换

AffineWarper
PerFORMs warping operations on the spatial coordinates of features. It is used to adjust a set of observed features so they more closely match some set of reference features.
仿射纠正,用于纠正一批要素使之最接近参考要素

AggregateFilter
Routes features differently depending on if their geometry consists of an aggregate of several primitive geometries, or if it is a simple, single piece geometry.
聚合过滤:根据图形是否为聚合类型而分别输出

Aggregator
Combines feature geometries into aggregates. One aggregate feature is output for each unique combination of values of the attributes specified in the GROUP BY.
聚合:凡是分组属性值相同的要素被组合为一个单独的聚合类型的要素输出

AnchoredSnapper
Snaps endpoints of features entering via the CANDIDATE port to endpoints of features entering via the ANCHOR port. ANCHOR features are not output.
锚点捕捉,将候选要素的端点捕捉到锚点要素的端点,锚点要素不输出

AngleConverter
Converts angles of a feature's geometry and/or attributes from one representation to another.
转换要素的图形或属性中的角度为不同的表达格式

ArcCreator
Creates an arc feature using the parameters supplied, and sends it into the workspace for processing.
根据参数创建二维圆弧要素,并输入转换流程

ArcEstimator
Replaces the geometry of the feature with a two-dimensional circular arc whose shape is estimated from the first, middle, and last point of the linear feature passed in.
改为二维圆弧,其参数由原始线状要素的开始、中间、结束三个点计算而出

ArcSDEQuerier
PerFORMs queries on an ArcSDE spatial database. The queries can have both a spatial as well as nonspatial component.
对ArcSDE空间数据库执行查询,可包含空间和非空间条件

ArcStroker
Converts arc features into lines replacing the feature geometry with a series of points interpolated along the arc boundary.
将圆弧打散为线串:沿着圆弧内插节点。

AreaCalculator
Calculates the area of a polygonal feature and adds it as a new attribute.
面积计算:将多边形要素的面积写为属性

AreaFillColorSetter
Sets the fill color for the feature's area. FORMats that support color will then render the interior feature in the set color.
面状要素的填充颜色设置,适用于支持颜色的数据格式

AreaGeneralizer
Reduces the density of area feature boundary coordinates by removing points from the original feature while preserving the original coverage topology.
面状要素的边界节点抽稀

AreaOnAreaOverlayer
PerFORMs an area-on-area overlay. All input areas are intersected against each other and resultant area features are created and output.
面-面叠置运算:所有输入要素互相求交并输出结果

AreaSmoother
Smooths the feature's boundary lines by determining a new location for each vertex.
面状要素的边界平滑处理

AttributeAccumulator
Combines feature attributes.
多项属性进行组合

AttributeClassifier
Tests if the contents of the source attribute are entirely of a particular character classification, and routes the feature accordingly.
根据属性值是否完全属于某个字符分类(集合)而分别输出

AttributeCopier
Copies the value of an attribute to a newly created attribute.
复制属性为一个新属性

AttributeCreator
Adds an attribute to the feature, supplying it some constant value.
添加一个新属性并设置其值

AttributeExposer
Exposes a series of attributes.
暴露一系列属性

AttributeExpressionRemover
Removes all attributes on incoming features that match a given regular expression.
删除那些名称与指定的表达式匹配的属性

AttributeFileReader
Reads the contents of a file and stores them as the value for the specified attribute.
读属性数据文件,将其内容保存到指定的属性

AttributeFileWriter
Writes the contents of the specified attribute to a file.
将属性值写入数据文件

AttributeFilter
Routes features to different output ports depending on the value of an attribute.
属性过滤:根据属性值区分为不同的输出

AttributeKeeper
Removes all attributes from the feature, except those chosen in the list.
保留指定的属性,其余全部删除

AttributePrefixer
Adds a prefix or suffix to all attributes coming into the transFORMer.
给所有输入要素的属性增加前缀或后缀

AttributeRemover
Removes the attributes chosen from the feature. This is normally not necessary unless the feature will later be processed by a transFORMer that merges attributes onto it from other features.
删除指定的属性。通常在需要合并获得其它要素的属性之前才需要做

AttributeRenamer
Renames a set of attributes.
属性改名

AttributeReprojector
Reprojects attributes holding coordinate values from one coordinate system to another.
对属性中包含的坐标进行投影变换

AttributeSetter
Sets an existing attribute to a constant value.
指定属性值为常量

AttributeSplitter
Gives values to a number of attributes (with the specified prefix) which result from splitting the source attribute's value at the delimiter character.
分割字符串:将输入属性的值按照指定的分隔符写入一组属性(具有指定的前缀)

AttributeTrimmer
Removes any leading or trailing trim characters from the value contained in the source attribute and stores the resulting character string in the result attribute.
删除输入属性的开头或结尾的空格或其它指定的字符,并写入输出属性

BaseConverter
Converts an attribute's value from one numeric system (base) to another, putting the resulting value in a new attribute.
基数转换(例如十进制转为十六进制)并写入新的属性

BoundingBoxAccumulator
Creates bounding boxes for groups of features. One bounding box feature is output for each unique combination of values of the attributes specified in the GROUP BY.
获得一组要素的外接矩形,输入要素将按照指定的属性的值而分别计算

BoundingBoxReplacer
Replaces the geometry of the feature with a two dimensional box whose minimums and maximums are taken from the bounds of original feature.
改为原始要素的最小外接矩形

BoundsExtractor
Extracts the minimum and maximum values of the feature's coordinates into new attributes.
获得坐标范围(外接矩形)并写入新的属性

Bufferer
Replaces the geometry of the feature with a area feature (polygon or donut polygon) that buffers the original feature (or a line feature that is some distance away from the original feature).
改为缓冲区(多边形或环状多边形),或者缓冲区左侧和/或右侧的边界线

CaseChanger
Changes the case of the value contained in the source attribute and stores the resulting character string in the result attribute.
改变输入属性值的大小写并写入输出属性

CenterLineReplacer
Replaces the geometry of an area feature with a line that threads through the center of the feature. Only works well with long, thin features.
改为面状要素的中心线。适用于细长型要素

CenterOfGravityReplacer
Replaces the geometry of the feature with a point that is the "center of gravity" of the feature. The center of gravity is the average x, y, and possibly z coordinate of the feature.
改为点状要素,坐标为原始要素的“重心”——坐标的平均值

CenterPointReplacer
Replaces the geometry of the feature with a point that is in the center of the feature's bounding box.
改为点状要素,坐标为原始要素的最小外接矩形的中心

ChangeDetector
Detects changes between two sets of input features.
检查输入的两组属性的差异(变化)

CharacterCodeExtractor
Extracts the integral character code of the first character in the source string attribute, and adds its integer value in the character set to the feature as another attribute.
获取输入属性值的第一个字符的整数字符编码,输出为新的属性

CharacterEncoder
Sets the result attribute to the character whose numeric code was contained in the source code attribute (or the integer entered in).
根据输入的字符编码值生成字符给输出属性

Chopper
Ensures that all features output have less than or equal to <maximum vertices> vertices.
按最大节点数截断所有输入要素

CircularityCalculator
Calculates the "circularity" of an area feature, which indicates how elongated the feature is.
圆率,计算输入的面状要素的细长程度

Clipper
PerFORMs a geometric clipping operation.
图形剪切

Cloner
Makes copies of the features input and outputs all copies through its single output port.
复制所有输入要素

ColorRasterCreator
Creates a feature with a raster of the specified size using the parameters supplied, and sends it into the workspace for processing.
根据参数创建栅格要素,并输入转换流程

CommonSegmentFinder
Tests to see which of the CANDIDATE features have even one segment in common with any BASE feature.
公共边检查:候选要素是否具有与基准要素相同的公共边

Concatenator
Concatenates the values of any number of attributes and constants together, and stores the result in a new attribute.
字符串连接:将任意数量的属性值或常量数次连接起来并输出为新的属性

ContourGenerator
Generates contours from the underlying surface which is defined by the input POINTS, DEM_GRIDS, 3D_LINES, and BREAKLINES.
生成等高线,相应的表面由输入的点、DEM格网、三维的线、以及断裂线等来定义

ConvexHullAccumulator
Creates convex hulls for groups of features.
生成分组要素的外接凸多边形

ConvexHullReplacer
Replaces the geometry of the feature with a polygon representing its convex hull.
将图形改为其外接凸多边形

CoordinateConcatenator
Retrieves the value of all the feature's coordinates into an attribute, separated by the delimiter characters.
将要素的全部坐标写入一个属性,坐标之间用指定的字符进行分隔

CoordinateCounter
Stores the number of coordinates the feature has into an attribute.
将坐标数量写入属性

CoordinateFetcher
Retrieves the value of the x, y, and z coordinate at the specified index into attributes.
获得指定节点号的坐标并写入属性

CoordinateRemover
Removes a single coordinate from the geometry of the feature.
删除要素的某个坐标

CoordinateRounder
Rounds off the coordinates of the feature to the specified number of decimal places.
坐标保留指定位数小数

CoordinateSystemFetcher
Retrieves the coordinate system of the feature into an attribute.
获得坐标系统并写入属性

CoordinateSystemRemover
Removes the coordinate system from all input features.
删除所有输入要素的坐标系统

CoordinateSystemSetter
Tags all features with the given coordinate system.
设置所有输入要素的坐标系统

Counter
Adds an attribute holding the next integer in a sequence.
计数器:将一个序列发生器的下一个值输出为新的属性

CRCCalculator
Calculates a CRC value as directed for a feature and places the calculated CRC value into the attribute specifed.
对要素计算CRC校验值并写入属性

DateFORMatter
ReFORMats a date or time string (in the Source Date attribute) into a new date FORMat.
将日期或时间属性改为其它格式

Deaggregator
Decomposes an aggregate feature into its components.
聚合要素打散

DecimalDegreesCalculator
Calculates a decimal degree value from separate degrees, minutes, and seconds (DMS) values, stored in attributes.
根据属性中分别保存的度、分、秒,计算以度为单位的角度值

DEMDistanceCalculator
For each input line feature, a DEM is created after the reference DEM, and then output.
DEM高差:对输入的线状要素,计算它与输入的DEM上对应点的三维距离,并生成为另一个DEM

Tags: FME 函数 查询 手册

分类:GIS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2569