Skip to main content
Question

Scaler won't grant value from other attribute column as Scale factor.

  • February 16, 2018
  • 1 reply
  • 9 views

rimonku
Contributor
Forum|alt.badge.img

Hi,

I am trying to scale a number of text (containing map legends) as such ; with the number of generated x coordinates within a specified bounding area the texts will be scaled up/down relatively.

For example, if I have 5 'x' coordinates generated in a map area , the scale factors in X: ang Y: will be 5. I have a atrribute where it saves the nuber of generated 'x' coordinates and i would like to read the valus from there as X: and Y: scale factor in Scaler. But when I try to read the column values in Scaler transformer, it rejects the tranlation. Any idea how to solve the problen ?

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.

1 reply

david_r
Celebrity
  • 8394 replies
  • February 16, 2018

You have to merge the incoming features first, so that you have a single feature containing both the geometry to scale and the X-factor.

The easiest is to use a FeatureMerger with some artificial, but identical value on both sides, e.g.

Tip for future posts: Please include any relevant error messages from the FME log window :-)