How to find the coordinates of the intersection points between two SpatialLines objec

المشرف العام

Administrator
طاقم الإدارة
I am try to find the co-ordinates of points where SpatialLines cross the edge of a SpatialPolygon. I have searched and searched, but can only find results such as over which tell me which lines cross but not where, or gIntersection which cut the lines down to sections within the polygon.

Here is a subset of my data:

# Required packageslibrary(rgeos)library(sp)library(maptools)library(raster)library(grDevices)# Create convex hull# Points to create hullHull_pts
 
أعلى