Nearest Neighbor Grouped Selection in QGIS

المشرف العام

Administrator
طاقم الإدارة
OK - so I have an interesting problem I am trying to solve. I have a list containing over 100,000 points in lat/long format which I have imported into qgis.

Now, what I am trying to do here is group all of these points into box groups and by that I essentially mean that I want to split up the map into bounding boxes.

My requirements are are follows:

  • no boxed group should have LESS THAN 100 and NO MORE THAN 200 points
  • no point should be located in more than one group
  • all points should be be based on their nearest neighbor
My question is... how could I achieve this through qgis?

I am assuming that one can pass some custom query code and save the results or the boxes created as a shapefile correct? Could someone please explain how this could be done and what the code would look like?

As mentioned, my objective is to have a bunch of square boxes displayed as a shapefile layer where within each box there are no less than 100 properties and no more than 200.

Thanks guys



أكثر...
 
أعلى