1 |
# Copyright (c) 2001-2004 by Intevation GmbH |
# Copyright (c) 2001-2005 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> (2001-2003) |
# Bernhard Herzog <[email protected]> (2001-2003) |
4 |
# Jonathan Coles <[email protected]> (2003) |
# Jonathan Coles <[email protected]> (2003) |
5 |
# Frank Koormann <[email protected]> (2003) |
# Frank Koormann <[email protected]> (2003) |
6 |
# Jan-Oliver Wagner <[email protected]> (2003, 2004) |
# Jan-Oliver Wagner <[email protected]> (2003-2005) |
7 |
# |
# |
8 |
# This program is free software under the GPL (>=v2) |
# This program is free software under the GPL (>=v2) |
9 |
# Read the file COPYING coming with Thuban for details. |
# Read the file COPYING coming with Thuban for details. |
264 |
|
|
265 |
# Get the size of the specific property for this |
# Get the size of the specific property for this |
266 |
# point |
# point |
267 |
if shapetype == SHAPETYPE_POINT and field is not None: |
if shapetype == SHAPETYPE_POINT: |
268 |
value = table.ReadValue(shape.ShapeID(), field) |
if field is not None: |
269 |
group = lc.FindGroup(value) |
value = table.ReadValue(shape.ShapeID(), field) |
270 |
size = group.GetProperties().GetSize() |
group = lc.FindGroup(value) |
271 |
|
size = group.GetProperties().GetSize() |
272 |
|
else: |
273 |
|
size = lc.GetDefaultSize() |
274 |
args = (pen, brush, size) |
args = (pen, brush, size) |
275 |
|
|
276 |
if useraw: |
if useraw: |