I have a SpatialLines(DataFrame) (e.g. streets) and SpatialPolygons(DataFrame) (e.g. neighborhoods). When a Line intersects with a polygon boundary, I want to split this Line into two new Lines. So: if a street begins in one neighborhood and ends in another neighborhood, I want to remove the original SpatialLine and replace that by two SpatialLines (streets) - one street from the starting point until the intersection with the polygon boundary, and another street from the intersection with the polygon boundary to the original end point.

Can someone give me advice on how to do this?

Cheers,
Wouter

-----
Dr. Wouter Steenbeek | Researcher | Netherlands Institute for the Study of Crime and Law Enforcement (NSCR) | Mail: PO Box 71304, 1008 BH Amsterdam, the Netherlands | Visit: De Boelelaan 1077a, Room 0A-42, 1081 HV Amsterdam, the Netherlands (new building "Initium", VU Campus) | Email: wsteenbeek@nscr.nl | Phone: +31 (0) 20 5981260


	[[alternative HTML version deleted]]

