Skip to main content
Question

Create grid from polygones with equally divided four sides

  • March 23, 2021
  • 5 replies
  • 48 views

Forum|alt.badge.img

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

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

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


Forum|alt.badge.img

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.


DanAtSafe
Safer
Forum|alt.badge.img+21
  • Safer
  • March 25, 2021

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?


DanAtSafe
Safer
Forum|alt.badge.img+21
  • Safer
  • March 25, 2021

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.


mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • March 26, 2021

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.