斯潘8
斯潘4
Previous: Topological Intersection|下一步:一个光栅上的数学运算
In this exercise,you will use the空间滤波器to set a spatial predicate that will determine which line features intersect polygon features.空间过滤器比较两组特征,以查看它们的空间关系是否满足选定的测试条件。正在测试的功能(候选功能)被标识为通过或未通过测试。例如,如果您有道路数据集(线路),想把所有经过公园(多边形)的道路都挖出来,您将引导道路进入候选输入端口,and the parks into the Filter input port.
注:既然你是working on a public facing database,有时可以覆盖和/或修改表。If your translation produces unexpected results,查看Resetting the PostGIS Training Database文章.或者,您可以下载提供的文件,并用适当格式的读卡器替换PostGIS读卡器。
In this scenario,将mountplesantclipboundary多边形特征与线性街道特征合并,并基于空间谓词连接属性,“筛选交叉候选”。In this case,the Neighborhoods dataset is the filter because you want to extract all of the Streets that intersect the MountPleasantClipBoundary and merge the attributes of both features.
In this case,you do not have to modify any of the SpatialFilter's parameters as the default is spatial predicate is "Filter Intersects Candidate" and Merge Attributes is already selected.For more information on the how the SpatialFilter works,please refer to the空间过滤器文档.
This will display the Streets that intersect the MountPleasantClipBoundary polygons in the FME Data Inspector after the translation has run.
An Automatic Attribute Definition is when Workbench automatically defines the list of attributes,根据连接的读卡器功能类型,to learn more about Attribute Definitions,查看关于编写器功能类型文档.
本教程中使用的数据源于City of Vancouver,不列颠哥伦比亚省。它包含根据开放政府许可证(温哥华)获得许可的信息。
?2019安全亚搏在线软件公司|合法的