Skip to main content
Question

Eliminate segments based on attributes

  • February 20, 2019
  • 2 replies
  • 10 views

Forum|alt.badge.img

Hi,

I am trying to eliminate linear elements based on their attributes. Then it needs to change the attributes of other segments as well. I basically need to select elements that have the same beggining and end values as the ones eliminated and change their values so they match. For example:

segment 1: Segment 2: Segment 3:

100-200 200-202 202-300

So I want to eliminate the segment no 2

and change the segment 1 and segment 3 so they become:

100-201 201-300

One of the main issues is that I cannot select the lines based on spatial relations. The data is really held in the table but spatially they may not touvh or even be near to eachother.

I've tried selecting using a test filter but it doesn't work... Any ideas.

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

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3429 replies
  • February 20, 2019

I think you can use adjacent attribute handling here.

Use an attribute creator with adjacent attributes to look at one prior and one subsequent feature and amend the from and to values if the feature is preceded or followed by a segment where the difference between the figures is 2 or less. Then remove the segments that are two or less

Adj_attribute_example.fmw


Forum|alt.badge.img
  • Author
  • 5 replies
  • February 20, 2019

I think you can use adjacent attribute handling here.

Use an attribute creator with adjacent attributes to look at one prior and one subsequent feature and amend the from and to values if the feature is preceded or followed by a segment where the difference between the figures is 2 or less. Then remove the segments that are two or less

Adj_attribute_example.fmw

I kind of understand your fmw and I think it could work well But I'll have some figuring out to do. Thanks and have a nice day