1 |
|
2003-04-30 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Data/iceland_sample.thuban: Now contains correct projections |
4 |
|
for each of the layers. |
5 |
|
|
6 |
|
* Resources/Projections/defaults.proj: Geographic projection |
7 |
|
contains unit conversion parameter. |
8 |
|
|
9 |
|
2003-04-30 Jonathan Coles <[email protected]> |
10 |
|
|
11 |
|
The most important part of this putback is the projection changes. |
12 |
|
It should now be possible to specify the projection that a layer |
13 |
|
is in and then specify a different projection for the map. The |
14 |
|
projection dialog has an extra parameter for a geographic projection |
15 |
|
which lets the user select if the input is in degrees or radians. |
16 |
|
|
17 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Fix docstring |
18 |
|
to say that the parameter is a tuple of unprojected |
19 |
|
points (which is what the callers to this method were assuming). |
20 |
|
Also, since the points are unprojected we need to projected them. |
21 |
|
|
22 |
|
* Thuban/UI/legend.py (LegendTree.MoveCurrentItemUp, |
23 |
|
LegendTree.MoveCurrentItemDown): If the layer or any of the layer's |
24 |
|
groups are selected, move the layer up/down. Fixes RTbug #1833. |
25 |
|
|
26 |
|
* Thuban/UI/mainwindow.py: Move menu item map_rename up. |
27 |
|
|
28 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnSave): Add missing |
29 |
|
parameter in call to SetClientData. |
30 |
|
(GeoPanel): Add support for selecting the units that the |
31 |
|
source data is in (Radians or Degrees). |
32 |
|
|
33 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Optimize |
34 |
|
the rendering loop by reducing the number of if's, removing the |
35 |
|
unnecessary try/except block, and checking if the old group |
36 |
|
is the same as the new one (which happens a lot if there is |
37 |
|
no classification, or lots of shapes are in the same group). |
38 |
|
|
39 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Add a try/except block |
40 |
|
around the redraw routine to try to catch problems that the user |
41 |
|
may create by selecting invalid projections for the data set and |
42 |
|
map. Clears the display if there are any problems and prints the |
43 |
|
error. |
44 |
|
(MapCanvas.do_redraw): Use DC.Clear() instead of drawing a filled |
45 |
|
rectangle. |
46 |
|
|
47 |
|
* extensions/thuban/wxproj.cpp (project_point): First invert the |
48 |
|
supplied point (which should be in projected coordinates) using |
49 |
|
the layer's projection and then project the point using the |
50 |
|
map's projection. |
51 |
|
(project_points): Use project_point() to project each point. |
52 |
|
|
53 |
|
2003-04-30 Jan-Oliver Wagner <[email protected]> |
54 |
|
|
55 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
56 |
|
don't set the Classification to None if the classfication field |
57 |
|
is None (ie only a DEFAULT). |
58 |
|
|
59 |
|
2003-04-30 Bernhard Herzog <[email protected]> |
60 |
|
|
61 |
|
* Thuban/UI/view.py: Fix some typos. |
62 |
|
|
63 |
|
* Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do |
64 |
|
not pop up the dialog if the selection becomes empty (this could |
65 |
|
happen if e.g. a new selection is opened while the identify tool |
66 |
|
is active and dialog had been closed) |
67 |
|
|
68 |
|
2003-04-30 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
* Thuban/Model/transientdb.py (TransientTableBase.__init__): New |
71 |
|
instance variable read_record_last_result |
72 |
|
(TransientTableBase.read_record): Make sure reading the same |
73 |
|
record twice works. The implementation uses the new instance |
74 |
|
variable read_record_last_result |
75 |
|
|
76 |
|
* test/test_transientdb.py |
77 |
|
(TestTransientTable.test_transient_table_read_twice): New test |
78 |
|
case for the above bug-fix. |
79 |
|
|
80 |
|
2003-04-29 Jonathan Coles <[email protected]> |
81 |
|
|
82 |
|
* Thuban/common.py: Removed. No longer needed Str2Num. RTbug #1832. |
83 |
|
|
84 |
|
* Thuban/UI/classgen.py: Remove all uses of Str2Num. |
85 |
|
|
86 |
|
* Thuban/UI/classifier.py: Remove all uses of Str2Num. |
87 |
|
(ClassTable.SetValueAsCustom): Rename keyword argument in |
88 |
|
ClassGroup* constructors to match argument name. |
89 |
|
|
90 |
|
2003-04-29 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
|
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
93 |
|
transient DB if it exists to make sure it doesn't leave a journal |
94 |
|
file in the temp directory. |
95 |
|
|
96 |
|
* Thuban/Model/transientdb.py (TransientDatabase.close): Set |
97 |
|
self.conn to None after closing the connection to make sure it's |
98 |
|
not closed twice |
99 |
|
|
100 |
2003-04-29 Jonathan Coles <[email protected]> |
2003-04-29 Jonathan Coles <[email protected]> |
101 |
|
|
102 |
Add a visible parameter in the layer XML tag. The default value is |
Add a visible parameter in the layer XML tag. The default value is |
103 |
"true". If anything other than "false" is specified we also assume |
"true". If anything other than "false" is specified we also assume |
104 |
"true". |
"true". Addresses RTbug #1025. |
105 |
|
|
106 |
* Doc/thuban.dtd: Add visible parameter to a layer. |
* Doc/thuban.dtd: Add visible parameter to a layer. |
107 |
|
|