1 |
|
2003-05-05 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/tableview.py (TableGrid.disallow_messages) |
4 |
|
(TableGrid.allow_messages): New methods to make it possible to |
5 |
|
inhibit message sending. |
6 |
|
(TableGrid.issue): Only send the message if not inhibited. |
7 |
|
(LayerTableGrid.select_shape): Use the new methods to make sure |
8 |
|
that no ROW_SELECTED message is sent while we're updating the |
9 |
|
selected rows to match the selected shapes. |
10 |
|
|
11 |
|
2003-05-02 Jan-Oliver Wagner <[email protected]> |
12 |
|
|
13 |
|
Implementation of MemoryTable. |
14 |
|
|
15 |
|
* Thuban/Model/table.py (MemoryTable): New. Quite simple table |
16 |
|
implementation that operates on a list of tuples. All of the data |
17 |
|
are kept in the memory. |
18 |
|
|
19 |
|
* test/test_table.py (MemoryTableTest): New. |
20 |
|
|
21 |
|
* test/test_transientdb.py (SimpleTable): Removed. |
22 |
|
(TestTransientTable.test_transient_joined_table, |
23 |
|
(TestTransientTable.test_transient_table_read_twice): Replaced |
24 |
|
SimpleTable by MemoryTable. |
25 |
|
|
26 |
|
2003-04-30 Jonathan Coles <[email protected]> |
27 |
|
|
28 |
|
* Data/iceland_sample.thuban: Now contains correct projections |
29 |
|
for each of the layers. |
30 |
|
|
31 |
|
* Resources/Projections/defaults.proj: Geographic projection |
32 |
|
contains unit conversion parameter. |
33 |
|
|
34 |
|
2003-04-30 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
The most important part of this putback is the projection changes. |
37 |
|
It should now be possible to specify the projection that a layer |
38 |
|
is in and then specify a different projection for the map. The |
39 |
|
projection dialog has an extra parameter for a geographic projection |
40 |
|
which lets the user select if the input is in degrees or radians. |
41 |
|
|
42 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Fix docstring |
43 |
|
to say that the parameter is a tuple of unprojected |
44 |
|
points (which is what the callers to this method were assuming). |
45 |
|
Also, since the points are unprojected we need to projected them. |
46 |
|
|
47 |
|
* Thuban/UI/legend.py (LegendTree.MoveCurrentItemUp, |
48 |
|
LegendTree.MoveCurrentItemDown): If the layer or any of the layer's |
49 |
|
groups are selected, move the layer up/down. Fixes RTbug #1833. |
50 |
|
|
51 |
|
* Thuban/UI/mainwindow.py: Move menu item map_rename up. |
52 |
|
|
53 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnSave): Add missing |
54 |
|
parameter in call to SetClientData. |
55 |
|
(GeoPanel): Add support for selecting the units that the |
56 |
|
source data is in (Radians or Degrees). |
57 |
|
|
58 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Optimize |
59 |
|
the rendering loop by reducing the number of if's, removing the |
60 |
|
unnecessary try/except block, and checking if the old group |
61 |
|
is the same as the new one (which happens a lot if there is |
62 |
|
no classification, or lots of shapes are in the same group). |
63 |
|
|
64 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Add a try/except block |
65 |
|
around the redraw routine to try to catch problems that the user |
66 |
|
may create by selecting invalid projections for the data set and |
67 |
|
map. Clears the display if there are any problems and prints the |
68 |
|
error. |
69 |
|
(MapCanvas.do_redraw): Use DC.Clear() instead of drawing a filled |
70 |
|
rectangle. |
71 |
|
|
72 |
|
* extensions/thuban/wxproj.cpp (project_point): First invert the |
73 |
|
supplied point (which should be in projected coordinates) using |
74 |
|
the layer's projection and then project the point using the |
75 |
|
map's projection. |
76 |
|
(project_points): Use project_point() to project each point. |
77 |
|
|
78 |
|
2003-04-30 Jan-Oliver Wagner <[email protected]> |
79 |
|
|
80 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
81 |
|
don't set the Classification to None if the classfication field |
82 |
|
is None (ie only a DEFAULT). |
83 |
|
|
84 |
2003-04-30 Bernhard Herzog <[email protected]> |
2003-04-30 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
* Thuban/UI/view.py: Fix some typos. |
87 |
|
|
88 |
* Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do |
* Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do |
89 |
not pop up the dialog if the selection becomes empty (this could |
not pop up the dialog if the selection becomes empty (this could |
90 |
happen if e.g. a new selection is opened while the identify tool |
happen if e.g. a new selection is opened while the identify tool |
102 |
(TestTransientTable.test_transient_table_read_twice): New test |
(TestTransientTable.test_transient_table_read_twice): New test |
103 |
case for the above bug-fix. |
case for the above bug-fix. |
104 |
|
|
105 |
|
2003-04-29 Jonathan Coles <[email protected]> |
106 |
|
|
107 |
|
* Thuban/common.py: Removed. No longer needed Str2Num. RTbug #1832. |
108 |
|
|
109 |
|
* Thuban/UI/classgen.py: Remove all uses of Str2Num. |
110 |
|
|
111 |
|
* Thuban/UI/classifier.py: Remove all uses of Str2Num. |
112 |
|
(ClassTable.SetValueAsCustom): Rename keyword argument in |
113 |
|
ClassGroup* constructors to match argument name. |
114 |
|
|
115 |
2003-04-29 Bernhard Herzog <[email protected]> |
2003-04-29 Bernhard Herzog <[email protected]> |
116 |
|
|
117 |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |