Skip to main content
Question

How can I style a line based on the status of an area polygon it exists in?


Forum|alt.badge.img

I have a built and design areas which have lines inside them, and would like to style the lines based on the status of the area it exists in.

i.e:

Area - Built = Blue line

Area - Design = Red line

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • December 8, 2017

Hi @anthonydahya,

My suggestion:

1) Use the transformer LineOnAreaOverlayer and select the option Generate a List on Output Line.

2) On Output Port Line ( LineOnAreaOverlayer ) connect the TestFilter and filter by List according the attribute type from Polygons:

  • Built
  • Design

3) Add two transformers FeatureColorSetter on the Output Ports from TestFilter:

Thanks,

Danilo

 


Forum|alt.badge.img

Thank you I will give that a go, much appreciated :) @danilo_fme


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • December 8, 2017
anthonydahya wrote:

Thank you I will give that a go, much appreciated :) @danilo_fme

@anthonydahya

 

you are welcome :)

 

 

Thanks,

 

Danilo

Forum|alt.badge.img

For some reason my fmw file is now empty, will re do it and send you a copy of it :)


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