Skip to main content
Solved

FME Generate range

  • Aug 13, 2019 10:41 AM UTC
  • 4 replies
  • 340 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.

View original
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
  • Aug 13, 2019 10:48 AM UTC

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
  • Aug 13, 2019 11:02 AM UTC

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
  • Best Answer
  • Aug 13, 2019 12:11 PM UTC

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
  • Aug 13, 2019 2:13 PM UTC

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