Skip to main content
Solved

points to polygon

  • May 6, 2019
  • 4 replies
  • 775 views

mlupien
Contributor
Forum|alt.badge.img+7

I have a lot of points, like a grid, that I would like to transform to polygons. Any point that is closer to 0.5m should be joined to forme the polygon. Any point with no close neighbor can be ignored.

 

Any suggestion is welcome :)

 

Best answer by erik_jan

I would try the following:

Use a Bufferer (buffer size 0.5 m) to create circles from the points.

Use the Dissolver to merge the circles that are overlapping or touching).

Then filter out all circles that have not dissolves (area < 3.15).

Finally use the HullAccumulator to generate the final area around all dissolved circles.

Hope this helps.

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • May 6, 2019

I would try the following:

Use a Bufferer (buffer size 0.5 m) to create circles from the points.

Use the Dissolver to merge the circles that are overlapping or touching).

Then filter out all circles that have not dissolves (area < 3.15).

Finally use the HullAccumulator to generate the final area around all dissolved circles.

Hope this helps.


mlupien
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 22 replies
  • May 7, 2019

@erik_jan

I did the Buffering at 0.25, filtered circles smaller than 0.2.

This produced cartoonish coud shapes.

I tried with the HullAccumulator, but maybe I don't understand how to use it, but it was producing a sort of big rectangle.

I used a Generalizer with a 0.2 Tolerence, it is closer to what I was looking for.


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • May 7, 2019

@erik_jan

I did the Buffering at 0.25, filtered circles smaller than 0.2.

This produced cartoonish coud shapes.

I tried with the HullAccumulator, but maybe I don't understand how to use it, but it was producing a sort of big rectangle.

I used a Generalizer with a 0.2 Tolerence, it is closer to what I was looking for.

I think you use the convex hull type. The concave hull type will be more accurate for your purpose.

See the documentation on the HullAccumulator


mlupien
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 22 replies
  • May 8, 2019

I think you use the convex hull type. The concave hull type will be more accurate for your purpose.

See the documentation on the HullAccumulator

Thanks @erik_jan !

The HullAccumulator with Concave did the job ! But instead of doing it around the buffered polygons like I did after your first answer, I did it on around the points that I assigned the polygon ID they were inside of.