Monday, 8 May 2017

arcgis desktop - Creating collection of polygons from collection of points?


I have a set of points, which are spread over a wide geographical area. I need to be able to create a set of polygons which best represent the clustered points.


In parts, some points may simply lie on their own, but in the main they are grouped, but not linked.



I have effectively created a grid of, lets say, the north western hemisphere and in each grid, have created a point with an arbitrary value. For all values of zero, I have deleted the points, leaving the points with non zero values in them. I now need to turn these points into polygons and am struggling a little...


Using ArcGIS and python, I thought about clustering the points, then 'convex hulling' them, but am struggling through not really knowing ArcGIS that well; how do I cluster?


thanks in advance for any help.



Answer



To solve this, I made a recursive function which, effectively, stored cordinates of polygon/Polyline/point data by flood filling the raster based on > 0 values held there.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...