Global Mapper v24.1

How to join Contour lines with gaps?

I have generated contour lines from a lidar point cloud, but there are sections with very few points and I have gaps in the contour lines. Can someone tell me how to join the contour lines so that they are one continuous line when exported out in DXF?