1 |
|
2003-05-23 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/session.py (Session.AddShapeStore): Define |
4 |
|
AddShapeStore analogously to AddTable. |
5 |
|
|
6 |
|
* test/test_session.py (TestSessionSimple.test_add_shapestore): |
7 |
|
New. Test for AddShapeStore |
8 |
|
|
9 |
|
2003-05-23 Jan-Oliver Wagner <[email protected]> |
10 |
|
|
11 |
|
Introducing QueryTableFrame and a very coarse ShowTable implementation. |
12 |
|
|
13 |
|
* Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the |
14 |
|
class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame. |
15 |
|
The latter implements the selection GUI without dependency on a layer. |
16 |
|
LayerTableFrame now is derived from QueryTableFrame and connects |
17 |
|
to a layer. |
18 |
|
|
19 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse |
20 |
|
implementation that still needs work. |
21 |
|
|
22 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added filename. |
23 |
|
|
24 |
|
2003-05-22 Frank Koormann <[email protected]> |
25 |
|
|
26 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
27 |
|
Added "outer_join = False" as optional parameter. |
28 |
|
(TransientJoinedTable.create): If outer join is true, perform a |
29 |
|
"LEFT OUTER JOIN" instead of "JOIN", which preserves all records of |
30 |
|
the left table. Records not matching are filled with 0 / None. |
31 |
|
|
32 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join. |
33 |
|
(JoinDialog.OnJoin): Consider outer join check box. |
34 |
|
|
35 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a |
38 |
|
somewhat safer way. Storing the traceback in a local variable can |
39 |
|
lead to memory leaks |
40 |
|
|
41 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
44 |
|
the wxMessageDialog's Destroy() method. |
45 |
|
|
46 |
|
2003-05-22 Frank Koormann <[email protected]> |
47 |
|
|
48 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
49 |
|
TransientTable.Title() |
50 |
|
|
51 |
|
2003-05-22 Frank Koormann <[email protected]> |
52 |
|
|
53 |
|
Join Dialog, initial version. |
54 |
|
|
55 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
56 |
|
|
57 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
58 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
59 |
|
in all occurences. |
60 |
|
|
61 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
62 |
|
Typo fixed. |
63 |
|
|
64 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
Give the tables titles so that the GUI can display more meaningful |
67 |
|
names. For now the titles are fixed but depend on e.g. filenames |
68 |
|
or the titles of the joined tables. |
69 |
|
|
70 |
|
* Thuban/Model/transientdb.py (TransientTable.Title) |
71 |
|
(TransientJoinedTable.Title, AutoTransientTable.Title): New. |
72 |
|
|
73 |
|
* Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New. |
74 |
|
|
75 |
|
* test/test_transientdb.py |
76 |
|
(TestTransientTable.test_auto_transient_table_title): New. Test |
77 |
|
for the Title method |
78 |
|
(TestTransientTable.test_transient_joined_table) |
79 |
|
(TestTransientTable.test_transient_table): Add test for the Title |
80 |
|
methods |
81 |
|
|
82 |
|
* test/test_memory_table.py (TestMemoryTable.test_title): New. |
83 |
|
Test for the Title method |
84 |
|
|
85 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): New. Test for |
86 |
|
the Title method |
87 |
|
|
88 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
89 |
|
|
90 |
|
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |
91 |
|
Provide a better way to destroy the layers |
92 |
|
(TestLayer.test_base_layer, TestLayer.test_arc_layer) |
93 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
94 |
|
(TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use |
95 |
|
the new way to destroy the layers. |
96 |
|
(TestLayer.test_derived_store): New. Test for using a layer with a |
97 |
|
DerivedShapeStore |
98 |
|
|
99 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Only set the |
100 |
|
filename if the shape store actually has one. |
101 |
|
|
102 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* Thuban/Model/table.py (DBFTable.FileName): New. Accessor method |
105 |
|
for the filename |
106 |
|
|
107 |
|
* test/test_dbf_table.py (TestDBFTable.test_filename): New. Test |
108 |
|
for the FileName method |
109 |
|
(TestDBFTableWriting.test_write): Fix spelling of filename |
110 |
|
|
111 |
|
2003-05-22 Thomas Koester <[email protected]> |
112 |
|
|
113 |
|
* Thuban/Model/range.py, test/test_range.py: Brought over new Range |
114 |
|
from SciParam that now really is immutable. |
115 |
|
|
116 |
|
2003-05-22 Frank Koormann <[email protected]> |
117 |
|
|
118 |
|
Layer Top/Bottom placement added to legend. |
119 |
|
|
120 |
|
* Thuban/UI/legend.py |
121 |
|
(LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods |
122 |
|
bound to tool events. |
123 |
|
(LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom): |
124 |
|
New, methods binding the event methods with the map methods. |
125 |
|
|
126 |
|
* Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place |
127 |
|
layer at top/bottom of layer stack. |
128 |
|
|
129 |
|
* Resources/Bitmaps/top_layer.xpm: New button icon. |
130 |
|
|
131 |
|
* Resources/Bitmaps/bottom_layer.xpm: New button icon. |
132 |
|
|
133 |
2003-05-22 Bernhard Herzog <[email protected]> |
2003-05-22 Bernhard Herzog <[email protected]> |
134 |
|
|
135 |
* Thuban/Model/session.py (Session.RemoveTable): New method to |
* Thuban/Model/session.py (Session.RemoveTable): New method to |