How can I connect multiple points with the closest line or point of the network avoiding polygon (land or sea) in QGIS?
There are over 4000 points that have to be connected this way so it would be good to have automated process.
I've tried to use 'distance to nearest hub (line to hub)' function but there is no functionality to avoid polygon and connection to the nearest point can be with several lines.