I would like to select lines that exist within a
polygon, and create a new layer with the selected data, as shown in the image.
I have tried using the spatial join tool following these instructions (Find what is inside a polygon—ArcGIS Pro | ArcGIS Desktop ) with no success, using the line data as the 'Target Features' and the polygon as the 'Join Feature', and either 'Within' or 'Completely within' as the 'Match Option'.
I have also tried to select the line data using the 'Select by Location' tool, but also to no avail.
Could this be due to the lines not existing solely within the polygon?
I wonder how else I could go about this problem, using ArcGIS pro?
Thank you.
If none of the methods of 'selection' are panning out, it may be due to a number of things.
that's about it for now since it is difficult to see what you are working with from the screen grab
Do you want to clip the lines to obtain only those parts of the lines that are inside the polygon? Clip—Help | ArcGIS Desktop