frank: thuban/Thuban/UI renderer.py,1.52,1.53
cvs@intevation.de
cvs at intevation.de
Mon Jan 3 17:21:19 CET 2005
Author: frank
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv2792/Thuban/UI
Modified Files:
renderer.py
Log Message:
Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
BugFix 2883: Former implementation only worked on classified point layers:
KeyError was raised, now use the default size if field is None.
Index: renderer.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/renderer.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- renderer.py 13 Dec 2004 18:26:11 -0000 1.52
+++ renderer.py 3 Jan 2005 16:21:17 -0000 1.53
@@ -166,7 +166,7 @@
# Get the size of the specific property for this
# point
- if shapetype == SHAPETYPE_POINT:
+ if shapetype == SHAPETYPE_POINT and field is not None:
value = table.ReadValue(shape.ShapeID(), field)
group = lc.FindGroup(value)
size = group.GetProperties().GetSize()
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)