Skip to main content
Solved

FME Generate range

  • August 13, 2019
  • 4 replies
  • 240 views

I have a maximum number in an attribute (attached) from this I would like to generate the minimum number, in the attached "ExampleMin" is what I want to achieve, how can I automatically generate this in FME? I have tried using the AttributeRangeMapper transformer, however this requires manual entry of the range.

 

Best answer by takashi

Hi @saqibamin, if your goal is to generate Min values from the given Max values, an AttributeCreator (or AttributeManager) with Enable Adjacent Feature Attributes option and Conditional Value setting helps you. Assuming that the rows are ordered by Max value ascending.

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

mygis
Supporter
Forum|alt.badge.img+14
  • Supporter
  • 307 replies
  • August 13, 2019

Hi @saqibamin, you can use the AttributeRangeFilter instead. You just need to add the Min Value, Max Value and the number of "Ranges". You can then do minor edits if you want to.

 


  • Author
  • 16 replies
  • August 13, 2019

Hi @saqibamin, you can use the AttributeRangeFilter instead. You just need to add the Min Value, Max Value and the number of "Ranges". You can then do minor edits if you want to.

 

Thanks for your response @gisinnovationsb, this "generate" option was also available in the AttributeRangeMapper, I was looking for an automated way where I could specify e.g. the Max attribute in the workspace to be the attribute that is used to determine the next minimum attribute and the first Min entry will be "0".


takashi
Celebrity
  • 7843 replies
  • Best Answer
  • August 13, 2019

Hi @saqibamin, if your goal is to generate Min values from the given Max values, an AttributeCreator (or AttributeManager) with Enable Adjacent Feature Attributes option and Conditional Value setting helps you. Assuming that the rows are ordered by Max value ascending.


  • Author
  • 16 replies
  • August 13, 2019

Hi @saqibamin, if your goal is to generate Min values from the given Max values, an AttributeCreator (or AttributeManager) with Enable Adjacent Feature Attributes option and Conditional Value setting helps you. Assuming that the rows are ordered by Max value ascending.

Thanks for replying @takashi