/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.792  
changed lines
  Added in v.811

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26