span8
span4
span8
span4
Previous: Topological Intersection| Next:Mathematical Operations on One Raster
In this exercise,you will use theSpatialFilterto set a spatial predicate that will determine which line features intersect polygon features.The SpatialFilter compares two sets of features to see if their spatial relationships meet selected test conditions.The features being tested (Candidate features) are identified as having Passed or Failed the test.For example,if you have a roads dataset (lines),and wanted to extract all the roads that passed through parks (polygons),you would direct the roads into the Candidate input port,and the parks into the Filter input port.
Note: Since you areworking on a public facing database,tables can occasionally be overwritten and/or modified.If your translation produces unexpected results,see theResetting the PostGIS Training Databasearticle.Alternatively,you can download the provided file(s) and replace the PostGIS reader with a reader of the appropriate format.
In this scenario,you will merge MountPleasantClipBoundary polygon features with linear Street features and join attributes based on the spatial predicate,"Filter Intersect Candidate".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 theSpatialFilter Documentation.
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,depending on which Reader feature types are connected,to learn more about Attribute Definitions,see theAbout Writer Feature Types Documentation.
Data used in this tutorial originates from open data made available by theCity of Vancouver,British Columbia.It contains information licensed under the Open Government License - Vancouver.
© 2019 亚搏在线Safe Software Inc |Legal