Skip to main content
“Spatial filter” with more than one filter source,

 

 

A workbench is developed to convert parcels from CAD to GIS. The workbench is supposed to convert the geometry of the parcel to polygon and then to stick “parcel number” and “block number” to their corresponding fields.

 

 

The layers of the CAD files are shown below:

 

 

 

 

The workbench:

 

 

 

 

The challenge now is how to stick:

 

 

1. “fme_text_string” of the “Parcels_Texts” to the field “ParcelNumber”

 

2. “fme_text_string” of the “Blocks_Texts” to the field “BlockNumber”

 

 

How the FME can distinguish the “fme_text_string” that is coming from two sources?

 

 

 

CAD file:

 

http://www.mediafire.com/download/t7c90lryr3xsv31/Parcels_Al_Samou_06.dwg

 

 

Workbench

 

http://www.mediafire.com/view/j1if5qyypio27u1/Parcels_CAD_To_GIS_06.fmw

 

 

Thank you

 

 

Best

 

 

Jamal

Hi Jamal,

 

 

The SpatialFilter cannot relate two or more Filter features to a Candidate feature at the same time. Consider using a SpatialRelator instead.

 

Alternatively, using two SpatialFilters separately for each Filter feature type can also be a solution. Two SpatialFilters might be easier than one SpatialRelator.

 

 

Takashi
Many thanks Takashi for the help.

 

 

I used the “spatial filter” twice and the issue is resolved.

 

 

 

 

Best

 

 

Jamal
Good to hear the issue has been resolved.

 

Here is an example for SpatialRelator, FYI.

 

Workspace Example (https://drive.google.com/file/d/0B0ufVP2t0eApSk5uVC1CR1RXalU/edit?usp=sharing)

 

 

Good luck!
Many thanks Takashi for the prompt help. This is very useful

 

 

Best

 

 

Jamal

Reply