Skip to main content
Question

How to Trim the overlap lines based on priority

  • January 30, 2020
  • 9 replies
  • 23 views

Requires functionality in a CAD environment that allows anyone in the * .dwg or *.shp file layers to prioritize what can be common "Trim" the lines (TRIM function) according to the given priorities.

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.

9 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • January 30, 2020

If I understand correctly you want to generate this:

This can be done with a LineOnLineOverlayer and a LineCombiner, see attached workspace.

PriorityTrim(2019_1_2).fmwt

PriorityTrim(2016_1_1).fmwt


  • Author
  • 16 replies
  • January 30, 2020

Thank you so much for your reply. I am using 2108 version FME, so it was not working .Can i get the *.fmw format ?

Please help


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • January 30, 2020

Thank you so much for your reply. I am using 2108 version FME, so it was not working .Can i get the *.fmw format ?

Please help

I saved the workspace as 2016 and added it to the original answer.


  • Author
  • 16 replies
  • January 30, 2020

Thank you so much for your reply. I am using 2108 version FME, so it was not working .Can i get the *.fmw format ?

Please help

Thank you so much


  • Author
  • 16 replies
  • January 31, 2020

Hi ,

i was worked with one sample file with 12 layers & 12 Priority.It was not working properly .In some places layers had changed in to other layers & Lines are also not Joint according to the layers.

 

Please help with my sample file..

priority.txtSample_Topo.dgn


takashi
Celebrity
  • 7843 replies
  • February 2, 2020

Hopefully this works as expected.

igds2none.fmwt (FME 2017.1.2.1)

The boundary lines of input areas can be transformed into a network edges, and the priority of each edge is determined by one of two (left and right) layers. So, duplicate each edge into two for left area and right area, merge layer name and priority from area to the edges, keep one having higher priority, then connect them grouping by original Layer name.


  • Author
  • 16 replies
  • February 3, 2020

Hopefully this works as expected.

igds2none.fmwt (FME 2017.1.2.1)

The boundary lines of input areas can be transformed into a network edges, and the priority of each edge is determined by one of two (left and right) layers. So, duplicate each edge into two for left area and right area, merge layer name and priority from area to the edges, keep one having higher priority, then connect them grouping by original Layer name.

Thank you so much for your answer.all the steps was working fine,

I was hanged in Converting to the original level name.

Please help


takashi
Celebrity
  • 7843 replies
  • February 3, 2020

Hopefully this works as expected.

igds2none.fmwt (FME 2017.1.2.1)

The boundary lines of input areas can be transformed into a network edges, and the priority of each edge is determined by one of two (left and right) layers. So, duplicate each edge into two for left area and right area, merge layer name and priority from area to the edges, keep one having higher priority, then connect them grouping by original Layer name.

I thought that the layer names in your dataset represent priorities. How would you like to determine the priorities based on the layter names?


koenterralytics
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 33 replies
  • August 14, 2020

If I understand correctly you want to generate this:

This can be done with a LineOnLineOverlayer and a LineCombiner, see attached workspace.

PriorityTrim(2019_1_2).fmwt

PriorityTrim(2016_1_1).fmwt

Somehow I'm not able to download the workspace. Might be something with the design of the new community pages? Is it possible to share the prioritytrim workspace again? Thanks!