Skip to Content

linearring - polygone

  1. >>> poly1.exterior.wkt
  2. 'LINEARRING (1 2, 2 5, 6 5, 7 2, 5 1, 1 2)'
  3.  
  4. >>> poly1.boundary.wkt
  5. 'LINESTRING (1 2, 2 5, 6 5, 7 2, 5 1, 1 2)'
  6.  
  7. # prédicat unaire
  8. >>> poly2.exterior.is_ring
  9. True
  10. >>> poly2.boundary.is_ring
  11. False