Hi
Does somebody know if this is possible (check picture)?
I have a shapefile with polygons (BLACK), a shapefile with points (RED) and a pointcloud.
I want to make a donut (GREEN) around the polygons and clip my pointcloud with them. So I have pointclouds around my polygons.
That is what I have so far.
The next bit is more difficult and why I need help.
The points around the polygons should be moved perpendicular to the nearest line from the polygons and with a fixed distance from the polygons (PURPLE). Once I have those positions, I want a buffer around them and calculate the average height from the points from the pointcloud within the buffer. The average height should be written in the original shapefile with points (RED).
Some thoughts:
split the polygons into lines
search for nearest neighbour
if the directional coefficient is m then the perpendicular directional coefficient is -1/m
intersect perpendicular line with line from polygon
offset with fixed distance from intersect and along perpendicular line
buffer
calculate statistics
...