1 |
|
2003-05-26 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
Table export functionality |
4 |
|
|
5 |
|
* Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width): |
6 |
|
Return width (in characters) for a column. |
7 |
|
(DBFTable.Precision, MemoryTable.Precision): Return decimal precision. |
8 |
|
(table_to_dbf): Write table to dbf file. |
9 |
|
(table_to_csv): Write table to csv file. |
10 |
|
|
11 |
|
* Thuban/Model/transientdb.py (TransientTableBase.Width, |
12 |
|
TransientTableBase.Precision): Return column width and precision. |
13 |
|
|
14 |
|
* Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf |
15 |
|
or table_to_csv depending on file selection. |
16 |
|
|
17 |
|
* test/test_dbf_table.py: |
18 |
|
Test table_to_dbf (extension of former part of test). |
19 |
|
|
20 |
|
* test/test_csv_table.py: |
21 |
|
Test table_to_csv. |
22 |
|
|
23 |
|
2003-05-23 Jan-Oliver Wagner <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings. |
26 |
|
Use QueryTableFrame instead of TableFrame. |
27 |
|
|
28 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the |
29 |
|
table window with 'Layer Table:' instead of 'Table:'. |
30 |
|
|
31 |
|
2003-05-23 Jan-Oliver Wagner <[email protected]> |
32 |
|
|
33 |
|
Give all tables a title via mix-in TitledObject.LayerShowTable |
34 |
|
|
35 |
|
* Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue' |
36 |
|
only if it exists. |
37 |
|
|
38 |
|
* Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject |
39 |
|
and call its init-method with a default title. Remove Title() method. |
40 |
|
|
41 |
|
* Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable, |
42 |
|
AutoTransientTable): mix-in TitledObject and call its init-method with |
43 |
|
a default title. Remove Title() method. |
44 |
|
|
45 |
|
2003-05-23 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* Thuban/Model/session.py (Session.AddShapeStore): Define |
48 |
|
AddShapeStore analogously to AddTable. |
49 |
|
|
50 |
|
* test/test_session.py (TestSessionSimple.test_add_shapestore): |
51 |
|
New. Test for AddShapeStore |
52 |
|
|
53 |
|
2003-05-23 Jan-Oliver Wagner <[email protected]> |
54 |
|
|
55 |
|
Introducing QueryTableFrame and a very coarse ShowTable implementation. |
56 |
|
|
57 |
|
* Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the |
58 |
|
class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame. |
59 |
|
The latter implements the selection GUI without dependency on a layer. |
60 |
|
LayerTableFrame now is derived from QueryTableFrame and connects |
61 |
|
to a layer. |
62 |
|
|
63 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse |
64 |
|
implementation that still needs work. |
65 |
|
|
66 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added filename. |
67 |
|
|
68 |
|
2003-05-22 Frank Koormann <[email protected]> |
69 |
|
|
70 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
71 |
|
Added "outer_join = False" as optional parameter. |
72 |
|
(TransientJoinedTable.create): If outer join is true, perform a |
73 |
|
"LEFT OUTER JOIN" instead of "JOIN", which preserves all records of |
74 |
|
the left table. Records not matching are filled with 0 / None. |
75 |
|
|
76 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join. |
77 |
|
(JoinDialog.OnJoin): Consider outer join check box. |
78 |
|
|
79 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
80 |
|
|
81 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a |
82 |
|
somewhat safer way. Storing the traceback in a local variable can |
83 |
|
lead to memory leaks |
84 |
|
|
85 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
88 |
|
the wxMessageDialog's Destroy() method. |
89 |
|
|
90 |
|
2003-05-22 Frank Koormann <[email protected]> |
91 |
|
|
92 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
93 |
|
TransientTable.Title() |
94 |
|
|
95 |
|
2003-05-22 Frank Koormann <[email protected]> |
96 |
|
|
97 |
|
Join Dialog, initial version. |
98 |
|
|
99 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
100 |
|
|
101 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
102 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
103 |
|
in all occurences. |
104 |
|
|
105 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
106 |
|
Typo fixed. |
107 |
|
|
108 |
2003-05-22 Bernhard Herzog <[email protected]> |
2003-05-22 Bernhard Herzog <[email protected]> |
109 |
|
|
110 |
Give the tables titles so that the GUI can display more meaningful |
Give the tables titles so that the GUI can display more meaningful |