1 |
|
2003-03-06 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py: Minor documentation changes, |
4 |
|
Addition of __eq__ and __ne__ methods. |
5 |
|
(Classification.SetLayer): prevent recursion between this method |
6 |
|
and Layer.SetClassification(). |
7 |
|
|
8 |
|
* Thuban/Model/color.py: Addition of __eq__ and __ne__ methods. |
9 |
|
|
10 |
|
* Thuban/Model/layer.py (SetClassification): prevent recursion |
11 |
|
between this method and Classification.SetLayer(). |
12 |
|
|
13 |
|
* test/test_classification.py, test/test_load.py, |
14 |
|
test/test_session.py: Fixed and added tests for the classification |
15 |
|
classes. |
16 |
|
|
17 |
|
2003-03-06 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__) |
20 |
|
(ClassGrid.CreateTable): Move the SetSelectionMode call to |
21 |
|
CreateTable because otherwise it triggers an assertion in |
22 |
|
wxPython/wxGTK 2.4. |
23 |
|
|
24 |
|
2003-03-05 Jonathan Coles <[email protected]> |
25 |
|
|
26 |
|
* Thuban/common.py: Move FIELDTYPE constants back to table.py. |
27 |
|
|
28 |
|
* Thuban/Model/load.py: import FIELDTYPE constants from table. |
29 |
|
|
30 |
|
* Thuban/UI/classifier.py: import FIELDTYPE constants from table. |
31 |
|
|
32 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants back. |
33 |
|
|
34 |
|
2003-03-05 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
* Thuban/UI/classifier.py: Added class documentation. |
37 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
38 |
|
Store just the groups in the table and generate the other |
39 |
|
column information when it is requested. Add "None" field |
40 |
|
to pull-down to select no classification. |
41 |
|
|
42 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
43 |
|
(Str2Num): Only catch ValueError exceptions. |
44 |
|
|
45 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
46 |
|
of methods with Stroke to Line. Groups are stored in a single |
47 |
|
list with the default as the first element. Groups are searched |
48 |
|
in the order they appear in the list. |
49 |
|
|
50 |
|
* Thuban/Model/color.py: Documentation. |
51 |
|
|
52 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
53 |
|
the kind of data represented by a field. |
54 |
|
|
55 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
56 |
|
conversion function; fixes RTbug #1713. |
57 |
|
|
58 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
59 |
|
|
60 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
61 |
|
(Table): Add field_info_by_name() to retrieve field information |
62 |
|
by specifying the field name, not the number. |
63 |
|
|
64 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
65 |
|
|
66 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
67 |
|
get the layer classification once. Don't try to classify |
68 |
|
values when the field is None: just use the default properties. |
69 |
|
|
70 |
|
* Thuban/UI/view.py: Function name changes. |
71 |
|
|
72 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
73 |
|
|
74 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
75 |
|
|
76 |
|
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
77 |
|
the fill and stroke layer attributes optional with suitable |
78 |
|
default values. Add the stroke_width layer attribute. Use correct |
79 |
|
syntax for empty elements. Make the attribute list for labels |
80 |
|
refer to the label element. |
81 |
|
|
82 |
2003-03-04 Bernhard Herzog <[email protected]> |
2003-03-04 Bernhard Herzog <[email protected]> |
83 |
|
|
84 |
* setup.py (thuban_build_py.build): Add a comment about distutils in |
* setup.py (thuban_build_py.build): Add a comment about distutils in |