Skip to main content
Solved

Can I have attribute manager change a value based on the values before and / or after?

  • December 11, 2021
  • 2 replies
  • 22 views

So, I have a set of flight tracks, all uniquely identified, and I'm trying to separate the flights into phases. I've had great success for the takeoff and landing portions, as well as the cruising portion, but the ascent and descent is giving me a hard time.

 

When a plane is ascending or descending, it gets a "C" or "D" in the altitude change column. I thought that I'd be able to characterize the ascent to cruising or descent to landing phase merely by the presence of C or D (when it levels off, it gets a "-".)

 

Sometimes during an ascent to cruising or descent to landing, however, the plane will briefly get a "-" or worse an opposite letter, which kills the consistency in characterizing the phases of the flight. But, if a "-" or the opposite letter is present, it will always be preceded or followed by the correct flight status.

 

So, is there a way to change an attribute's value according to that flight_id (a separate value) and the value preceding or following it?

Best answer by virtualcitymatt

Yeah this is be doable in the AttributeCreator

- Check out the "Adjacent Feature Handelling" "https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/attributecreator.htm#

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.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • Best Answer
  • December 11, 2021

Yeah this is be doable in the AttributeCreator

- Check out the "Adjacent Feature Handelling" "https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/attributecreator.htm#


  • Author
  • 4 replies
  • December 11, 2021

Awesome. Thanks, Matt!