Question

Create grid from polygones with equally divided four sides

  • 23 March 2021
  • 5 replies
  • 0 views

Badge

Hello,

I have a set of polygones, each having 4 sides (right figure)

Each pair of facing sides are divided into equal segments. Is there a way somehow to make a grid for each polygone by linking facing vertices as depicted in the left figure ?

 

Screenshot 2021-03-24 222721Thank you in advance.


5 replies

Userlevel 4
Badge +26

Hmm, can you provide a bit more info? I'm not sure I fully understand​

Badge

Hmm, can you provide a bit more info? I'm not sure I fully understand​

Hello,

I updated the post with a figure. I hope that it is clearer now.

Thank you for your interest.

Userlevel 2
Badge +11

Hello,

I updated the post with a figure. I hope that it is clearer now.

Thank you for your interest.

@lianaolianov​ Do the input polygons already have facing vertices to be linked or only 5 coordinates at the corners?

Userlevel 2
Badge +11

Hi @lianaolianov​ Try the attached workspace. It assumes that the shorter sides will be split in half and there is a prompt for the division of the longer sides.

Userlevel 4
Badge +25

I posted an answer to this as our question-of-the-week here: https://community.safe.com/s/question/0D54Q00008X5XOtSAN/question-of-the-week-replacing-rotated-features-with-a-grid

 

I hope it helps to solve the problem.

Reply