/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py

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

revision 416 by jonathan, Wed Feb 19 16:53:08 2003 UTC revision 432 by jonathan, Mon Feb 24 18:47:36 2003 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001, 2002 by Intevation GmbH  # Copyright (c) 2001, 2002, 2003 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  # Jonathan Coles <[email protected]>  # Jonathan Coles <[email protected]>
# Line 80  class MapRenderer: Line 80  class MapRenderer:
80          old_prop = None          old_prop = None
81          for i in self.layer_ids(layer):          for i in self.layer_ids(layer):
82              value = None              value = None
             shape = layer.Shape(i)  
83              lc = layer.GetClassification()              lc = layer.GetClassification()
84              field = lc.field              field = lc.field
85    
# Line 94  class MapRenderer: Line 93  class MapRenderer:
93              # be null, at which point this call will              # be null, at which point this call will
94              # at least retreive the NullData              # at least retreive the NullData
95              #              #
96              prop = lc.GetProperties(value)              prop = lc.GetClassData(value)
97    
98              if prop != old_prop:              if prop != old_prop:
99                  old_prop = prop                  old_prop = prop

Legend:
Removed from v.416  
changed lines
  Added in v.432

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26