曲线填点
Note:The CurveFitter transformer is available as an extra-cost add-on from Safe Software. Please contactsales@亚搏在线safe.com.或致电604-501-9985。
Smooths lines derived from line segments, points or raster data, and replaces a series of line segments with the optimal combination of straight lines and embedded arc segments required to create smooth curving lines. This process provides a truer representation of real-world features and can reduce file sizes by up to 80%.
除了处理简单的线条功能外,CurveFitter还保留在相邻区域特征的平滑边界时保留功能拓扑。
Before the advent of enhanced geometry, FME was forced to stroke arcs into line sections to be able to process that data. Many other GIS packages that did not support arcs also ended up forcing the stroking of arcs, the net results being a great amount of data that could be represented by arcs but isn't. The Curvefitter transformer will allow a user to replace such stroked line segments with true mathematical arc segments. It will likewise permit the replacement of surveyed line features with an arc representation.
Dependencies
CurveFitter变压器基于来自的线性优化技术TCI Corp. It is available for purchase as an add-on to FME. Please contactsales@亚搏在线safe.com..
Output Ports
输入的曲线拟合表示输出到此端口。它们将拥有原始功能的所有属性。
Parameters
Precision is the main transformer parameter that guides the curve fitting process. It sets the maximum deviation allowed at any point along the polyline between the original and the resulting polyline.
Allows very flat curves to be represented by straight segments. Any curve that has a mid-ordinate less than this amount will be replaced by a straight segment. A typical value is 10% of the precision setting.
三个的价值Weightparameters determine the importance of the three factors relative to each other.Compressionis the reduction in the number of vertices. Smoothness is the tangency of consecutive segments – how close the end angle of a segment is to the start angle of the next segment. Accuracy is how closely the resulting curve overlays the original.
当形成覆盖范围的区域功能被发送到变压器时,此参数非常有用。如果设置为否,则每个特征被认为独立于所有特征,并且如果任何特征存在共享边界,则可以介绍间隙或重叠。如果设置为是,则输入数据被分解为边界线,这些曲线拟合,然后重新组装区域。在这种情况下,将不会创建任何差距。如果只输入变压器的线性或非相邻区域特征,则不是最佳选择。
曲线填点Applications and Functionality
Using the Curvefitter, you can:
- Compress file sizes
- Smooth jagged polylines
- Process adjacent area features
- Restore arcs in legacy data
- 自动处理数据
Example: Parcel Data
Procedure
A subset 6.1 MB Esri shapefile (provided by Grays Harbor County, in Washington State) was extracted and converted into four different formats: DWG file (3.8 MB), MapGuide SDF (4.5 MB), Esri Personal Geodatabase (5.4 MB) and ArcGIS 9.2 File Geodatabase (1.89 MB).
然后使用以下曲线文件设置处理每个文件:精度0.1英尺;扁平化0.1;压缩体重1;平滑体重:1;精度重量:1;保留共享边界:是的。
Parcel Data Test Results
数据格式 | Before Curvefitter | 曲线件后 | 减少文件大小 |
---|---|---|---|
AutoCAD DWG | 3.8 MB. | 1.6 MB. | 58% |
MapGuide SDF3 | 4.5 MB | 1.6 MB. | 64% |
Esri Personal Geodatabase | 5.4 MB | 4.8 MB | 11% |
Esri ArcGIS 9.2 File Geodatabase | 1.89 MB | 1.07 MB. | 77% |
External References
有关更多信息和示例,请参阅:
- 如何从曲线上充分利用
- Technology brief(PDF格式)在安全软件的网站上亚搏在线。
Editing Transformer Parameters
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变换器参数菜单选项.
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.
TagsKeywords: smooth smoother generalize generalizer