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]> |
2003-04-30 Jan-Oliver Wagner <[email protected]> |
54 |
|
|
55 |
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
77 |
(TestTransientTable.test_transient_table_read_twice): New test |
(TestTransientTable.test_transient_table_read_twice): New test |
78 |
case for the above bug-fix. |
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]> |
2003-04-29 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |