Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from shapely.geometry import Point
- point_start_1 = Point(geom1.GetPoint_2D(0))
- point_end_1 = Point(geom1.GetPoint_2D(geom1.GetPointCount()-1))
- point_start_2 = Point(geom2.GetPoint_2D(0))
- point_end_2 = Point(geom2.GetPoint_2D(geom2.GetPointCount()-1))
- if intersection.Intersects(point_start_1):
- print "intersection and Starting Point of geom1 is the same Point"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement