Skip to main content
Question

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

  • December 7, 2017
  • 4 replies
  • 20 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • 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
  • Author
  • 2 replies
  • December 8, 2017

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


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • December 8, 2017

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

@anthonydahya

 

you are welcome :)

 

 

Thanks,

 

Danilo

Forum|alt.badge.img
  • Author
  • 2 replies
  • December 10, 2017

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