1 |
|
2003-04-30 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
The most important part of this putback is the projection changes. |
4 |
|
It should now be possible to specify the projection that a layer |
5 |
|
is in and then specify a different projection for the map. The |
6 |
|
projection dialog has an extra parameter for a geographic projection |
7 |
|
which lets the user select if the input is in degrees or radians. |
8 |
|
|
9 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Fix docstring |
10 |
|
to say that the parameter is a tuple of unprojected |
11 |
|
points (which is what the callers to this method were assuming). |
12 |
|
Also, since the points are unprojected we need to projected them. |
13 |
|
|
14 |
|
* Thuban/UI/legend.py (LegendTree.MoveCurrentItemUp, |
15 |
|
LegendTree.MoveCurrentItemDown): If the layer or any of the layer's |
16 |
|
groups are selected, move the layer up/down. Fixes RTbug #1833. |
17 |
|
|
18 |
|
* Thuban/UI/mainwindow.py: Move menu item map_rename up. |
19 |
|
|
20 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnSave): Add missing |
21 |
|
parameter in call to SetClientData. |
22 |
|
(GeoPanel): Add support for selecting the units that the |
23 |
|
source data is in (Radians or Degrees). |
24 |
|
|
25 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Optimize |
26 |
|
the rendering loop by reducing the number of if's, removing the |
27 |
|
unnecessary try/except block, and checking if the old group |
28 |
|
is the same as the new one (which happens a lot if there is |
29 |
|
no classification, or lots of shapes are in the same group). |
30 |
|
|
31 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Add a try/except block |
32 |
|
around the redraw routine to try to catch problems that the user |
33 |
|
may create by selecting invalid projections for the data set and |
34 |
|
map. Clears the display if there are any problems and prints the |
35 |
|
error. |
36 |
|
(MapCanvas.do_redraw): Use DC.Clear() instead of drawing a filled |
37 |
|
rectangle. |
38 |
|
|
39 |
|
* extensions/thuban/wxproj.cpp (project_point): First invert the |
40 |
|
supplied point (which should be in projected coordinates) using |
41 |
|
the layer's projection and then project the point using the |
42 |
|
map's projection. |
43 |
|
(project_points): Use project_point() to project each point. |
44 |
|
|
45 |
2003-04-30 Jan-Oliver Wagner <[email protected]> |
2003-04-30 Jan-Oliver Wagner <[email protected]> |
46 |
|
|
47 |
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
69 |
(TestTransientTable.test_transient_table_read_twice): New test |
(TestTransientTable.test_transient_table_read_twice): New test |
70 |
case for the above bug-fix. |
case for the above bug-fix. |
71 |
|
|
72 |
|
2003-04-29 Jonathan Coles <[email protected]> |
73 |
|
|
74 |
|
* Thuban/common.py: Removed. No longer needed Str2Num. RTbug #1832. |
75 |
|
|
76 |
|
* Thuban/UI/classgen.py: Remove all uses of Str2Num. |
77 |
|
|
78 |
|
* Thuban/UI/classifier.py: Remove all uses of Str2Num. |
79 |
|
(ClassTable.SetValueAsCustom): Rename keyword argument in |
80 |
|
ClassGroup* constructors to match argument name. |
81 |
|
|
82 |
2003-04-29 Bernhard Herzog <[email protected]> |
2003-04-29 Bernhard Herzog <[email protected]> |
83 |
|
|
84 |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |