Skip to main content

I use RadiateLineGenerator, Intersector and AreaBuilder to produce a sector diagram. I have problems getting the values into the sectors. By building list in AreaBuilder all the attributes from the intersector is preserved in the list. The problem is that I dont know which of the list elements to use.

AreaBulider generates a format attribute named direction (along with fme_gemetry and fme_type). If I test on the value of direction ('same' or 'opposite') I can find the correct element in the list. How can i retrive then vaule of a format attribute?

Hi,

Have you tried AttributeExposer?

Pratap


better way to create diagram (?):

1. count records holding values.

2. create a line of length of choice and (starting) location of choice.

3 duplicate by number founds at 1.

4 rotate lines by (totalvalue/value)*360 (or 2pi)

5 create 2darc with lenthg used at 2 at location used at 2.

6 intersect them.

7 build area.

8 colour by copynumber or value using featurecoloursetter.

9. label as desired using centerpointreplacer.

Maybe 2D affine labelpoint by:

x= 1,0,(angle of centerline of sector)* (length used at 2 + someoffset)

y = 0,1,(angle of centerline of sector)* (length used at 2 + someoffset)

AS radialgenerator will only create constant radials...

Put all in a custom and make input generic (use paramaters... then you too can maybe post it to the shop?)


Reply