Parent Directory
|
Revision Log
|
Patch
revision 257 by bh, Wed Jul 17 10:50:40 2002 UTC | revision 258 by bh, Thu Aug 15 12:48:03 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() | |
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 |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |