I have a shapefile with 1000 polygon data and shapefile includes 50000 unique lines.
I want to connect both lines that are inside the polygon.
I used the spacialfilter but it couldn't detect properly endpoint of the lines which are inside of the polygon