/[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 143 by bh, Tue May 7 14:17:20 2002 UTC revision 147 by bh, Tue May 7 16:39:52 2002 UTC
# Line 189  class Layer(BaseLayer): Line 189  class Layer(BaseLayer):
189          system used by the layer's shapefile.          system used by the layer's shapefile.
190          """          """
191          left, bottom, right, top = box          left, bottom, right, top = box
192          import time          return self.shapetree.find_shapes((left, bottom), (right, top))
         start = time.time()  
         ids = self.shapetree.find_shapes((left, bottom), (right, top))  
         print "ShapesInRegion", time.time() - start  
         return ids  
193    
194      def SetProjection(self, projection):      def SetProjection(self, projection):
195          """Set the layer's projection"""          """Set the layer's projection"""

Legend:
Removed from v.143  
changed lines
  Added in v.147

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26