0

I have to connect points to a polygon. I tried to use "points to path" and "point connector" plugins in QGIS, but neither of them are working. For testing, I just drew 4 points and used "points to path" and "point connector". The created layer does not contain any features. I did the same with importing 4 points from a txt file, the result is the same. Is there some trick on how to use those plugins?

closed as unclear what you're asking by ahmadhanb, nmtoken, whyzar, JGH, Jochen Schwarze Oct 29 '18 at 19:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Am I correct to assume that you want to connect points, so they form a polygon? – Erik Oct 29 '18 at 10:44
  • yes, you are right – November Oct 29 '18 at 10:51
2

You need two steps in order to create polygons from points.

First, use points to path or convert points to line(s). You can find both tools in the toolbox. Important:

  1. The algorithm needs to know, which point comes first in a line. Number them accordingly.
  2. The algorithm needs to know, which line a point belongs to, identify them accordingly.
  3. In order to achieve closed lines/rings/loops, your starting points needs to double as ending point. Digitize a second point right on top of it, but give it the last number of the line they both belong to instead of the first.

Second, run convert lines to polygons, also from the toolbox.

Not the answer you're looking for? Browse other questions tagged or ask your own question.