Skip to main content
Question

Split up polygon where it becomes long and narrow

  • January 13, 2020
  • 11 replies
  • 158 views

Forum|alt.badge.img

I have a dataset where polygon sometimes have a long and narrow part like in this image (upper narrow part of the highlighted polygon):

 

I am looking for a way to cut polygons like this in two parts so that the small polygons becomes a separate shape.

Any idea how to do this automatically?

 

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.

11 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • January 13, 2020

Hi @oiram

Could you share us you example?

 

Thanks,

Danilo


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • January 13, 2020

Not sure it will give you a solution, but you could try the GeometryValidator transformer, check the "Self intersecion in 2D" and set Repair to Yes.

You will need to set a Tolerance to make these Self Intersecting.

Hope this helps.


Forum|alt.badge.img
  • Author
  • 29 replies
  • January 14, 2020

Yes, here is a example:

narrow_poly.json


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • January 14, 2020

Yes, here is a example:

narrow_poly.json

Thanks your source.

In words do you want to cut this polygon ( example ) in two parts:

Correct?

 

Thanks,

Danilo


Forum|alt.badge.img
  • Author
  • 29 replies
  • January 14, 2020

Thanks your source.

In words do you want to cut this polygon ( example ) in two parts:

Correct?

 

Thanks,

Danilo

Yes, exactly.


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • January 14, 2020

Hello @oiram

I create a Workspace that identify the long and narrow Polygons ( CircularityCalculator and Tester ) and after to separate polygons:

result 

Attached the Workspace - Workspace_Long.fmw

 

Thanks,

Danilo

 


Forum|alt.badge.img
  • Author
  • 29 replies
  • January 14, 2020

Hello @oiram

I create a Workspace that identify the long and narrow Polygons ( CircularityCalculator and Tester ) and after to separate polygons:

result 

Attached the Workspace - Workspace_Long.fmw

 

Thanks,

Danilo

 

thanks a lot :-)


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • January 14, 2020

thanks a lot :-)

You are wellcome


Forum|alt.badge.img
  • 2 replies
  • July 24, 2022

Hi Danilo,

Would it be possible to share the Workspace_Long?

 

Thanks,

Vladislav


LizAtSafe
Safer
Forum|alt.badge.img+17
  • Safer
  • 1541 replies
  • July 26, 2022

Hi Danilo,

Would it be possible to share the Workspace_Long?

 

Thanks,

Vladislav

Hi @vlad_mdc​ I fixed the original file attachment and have also attached it to this comment for your reference.


Forum|alt.badge.img
  • 2 replies
  • July 26, 2022

Hi @vlad_mdc​ I fixed the original file attachment and have also attached it to this comment for your reference.

Hi @lizatsafe​ 

Thanks a lot!