Skip to main content
Solved

“Spatial filter” with more than one filter source,

  • September 27, 2014
  • 5 replies
  • 66 views

jamal
Forum|alt.badge.img+5
“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

Best answer by takashi

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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

jamal
Forum|alt.badge.img+5
  • Author
  • September 27, 2014

takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • Best Answer
  • September 27, 2014
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

jamal
Forum|alt.badge.img+5
  • Author
  • September 27, 2014
Many thanks Takashi for the help.

 

 

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

 

 

 

 

Best

 

 

Jamal

takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • September 28, 2014
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!

jamal
Forum|alt.badge.img+5
  • Author
  • September 28, 2014
Many thanks Takashi for the prompt help. This is very useful

 

 

Best

 

 

Jamal

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings