1

I am creating my own dataset for landuse classification. I have four different shapefiles for 4 different categories, forest, water, park and buildings. All these shapefiles contain polygon geometries of various sizes of respective categories.

I want to create shapefile of each category which contains points instead of polygons. For example, my forest shapefile contains 10 polygons and i want to create another shapefile for the forest, which will contain 100 or more points. Obviously these points should lie within these polygons.

I don't want to manually select the points which will be quite cumbersome given the no of shapes and points.

I would like to know any automatic method using QGIS.

  • 2
    Did you have a look at the "Random point inside polygons", "point along geometry", or "extract vertices" tool in the processing toolbox , if yes could you elaborate on how they don't fit your need ? – J.R Oct 2 '19 at 12:52
  • No, I was not aware about these tools. They sounds like exactly what I need. I will check them and let you know. Thanks. – Hariom Ahlawat Oct 2 '19 at 13:05
  • Thanks, "random point inside geometry" tool in QGIS did the work. Cheers! – Hariom Ahlawat Oct 2 '19 at 14:55
1

As mentioned by J,R. in comments, "random point inside geometry" tool in the processing toolbox of QGIS did the work.

  • Thanks, I was not able to accept it before. May be it take some hours before one can do that. – Hariom Ahlawat Oct 10 '19 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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