span8
span4
span8
span4
Previous: Point in Polygon Overlay
Topological intersection is the process of intersecting multiple polygon layers.In this exercise,you will use theSpatialFilterto set a spatial predicate that will determine which polygon features are merged together.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 want to merge the MountPleasantClipBoundary and Parks polygon features and their attributes based on the spatial predicate: "Filter Intersect Candidate".In this case,the clip boundary is the filter because you only want to extract the park polygons that intersect the MountPleasantClipBoundary - this will also join 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 selected.For more information on Spatially Based Join Transformers,see theDesktop Basic Course Manual.Additionally,you can learn more about each of the spatial predicates in theDefining Spatial Relationships as well as technical details about theAreaOnAreaOverlayerin the Documentation.
This will automatically open the joined dataset in the FME Data Inspector after the translation has successfully run.
Note: FME supports a number of readers/writers for SDE and Geodatabase;however,this depends on the platform you are running on.For more information,see theComparison of FME readers and writers for SDE and Geodatabasearticle.
You have now successfully merged the Parks polygon dataset with the MountPleasantClipBoundary polygon dataset using the spatial predicate "Filter Intersects Candidate".
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