密度加压器

确定一组候选特征的密度。

密度是测量候选人values per unit area. It is calculated as a numeric value; the greater the value, the more dense are the候选人特征。

密度方程是总候选人/感兴趣的区域。

Total Candidatesis defined by either:

  • 总数候选人特征
  • The sum LENGTH of候选人特征
  • The sum区域of候选人特征

感兴趣的领域由进入的第一多边形功能的大小定义区域input port.

Caution

It’s VERY important to note that ALL候选人特征count towards the density calculation, even if they fall outside the区域feature.

换句话说,这种变形金机不测试候选对象是否在内部区域feature. If you wish to use only候选人特征that lie within, or overlap, the区域功能,您应该使用SpatialFilter或SpatialRelator变压器预处理数据。

Input Ports

Output Ports

参数

Group Processing

一般的

Usage Notes

  • 几何类型的候选人特征may be points, lines, or polygons. However,区域功能必须是多边形。
  • 如果过剩区域提供功能 - 即,有多个区域特定组的功能 - 然后将它们排除在密度的计算之外候选人s。However, they will still receive their own density calculation. In other words, each区域receives the density of候选人特点是他们自己的尺寸;但候选人特征only receive their density in relation to the size of the first区域feature.
  • If you need to find the density of候选人针对许多多边形功能的总面积的功能,使用聚合器聚合多边形并将结果汇​​总输入到区域该变压器的港口。

Example

此变压器有许多可能的用途,包括:

疾病密度(每公里的公告数2

交通网络密度(道路长度每公里2

土地利用密度(工业区划每公里数量)2

In this example, the density of cycle route network is calculated for a particular zipcode (postal code).

邮政编码领域:195355642.75英尺2

Total length of cycle route: 83017.28 ft

密度:0.000425

In this example, the cycle routes spatially overlap with the zipcode boundaries, and are clipped to match, but the DensityCalculator does not necessarily need this to be so.

如果有多个Zipcode功能要处理,则使用Zipcode属性作为属性到组的Zipcode属性,可以在DIFESScalculator中使用组。结果将是每个邮政编码的循环路由密度的计数。

编辑变换器参数

使用一组菜单选项,变压器参数s 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, seeTransformer Parameter Menu Options

Defining Values

有几种方法可以在变压器中定义使用的值。最简单的是简单地输入值或字符串,其可以包括各种类型的函数,例如属性引用,数学和字符串函数和工作区参数。有许多工具和快捷方式可以帮助构造值的值,通常可以从与值字段相邻的下拉上下文菜单中提供。

Dialog Options - Tables

Transformers with table-style parameters have additional tools for populating and manipulating values.

Related Transformers

斯卡利尔

FME社亚搏国际在线官网区

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 samples and information about this transformer on theFME社亚搏国际在线官网区