Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. from shapely.geometry import Point
  2. point_start_1 = Point(geom1.GetPoint_2D(0))
  3. point_end_1 = Point(geom1.GetPoint_2D(geom1.GetPointCount()-1))
  4. point_start_2 = Point(geom2.GetPoint_2D(0))
  5. point_end_2 = Point(geom2.GetPoint_2D(geom2.GetPointCount()-1))
  6.  
  7. if intersection.Intersects(point_start_1):
  8. print "intersection and Starting Point of geom1 is the same Point"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement