/[thuban]/trunk/thuban/Thuban/Model/layer.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/Model/layer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 217 by bh, Wed Jul 17 10:50:40 2002 UTC revision 260 by bh, Thu Aug 15 17:43:59 2002 UTC
# Line 159  class Layer(BaseLayer): Line 159  class Layer(BaseLayer):
159              self.shapetree = shptree.SHPTree(self.shapefile.cobject(), 2,              self.shapetree = shptree.SHPTree(self.shapefile.cobject(), 2,
160                                               maxdepth)                                               maxdepth)
161    
162        def Destroy(self):
163            BaseLayer.Destroy(self)
164            if self.shapefile is not None:
165                self.shapefile.close()
166                self.shapefile = None
167                self.shapetree = None
168            self.table.Destroy()
169    
170      def BoundingBox(self):      def BoundingBox(self):
171          """Return the layer's bounding box in the intrinsic coordinate system.          """Return the layer's bounding box in the intrinsic coordinate system.
172    

Legend:
Removed from v.217  
changed lines
  Added in v.260

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26