/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

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

revision 766 by bh, Tue Apr 29 12:42:27 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]>
84    
85            * Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug:
86            don't set the Classification to None if the classfication field
87            is None (ie only a DEFAULT).
88    
89    2003-04-30  Bernhard Herzog  <[email protected]>
90    
91            * Thuban/UI/view.py: Fix some typos.
92    
93            * Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do
94            not pop up the dialog if the selection becomes empty (this could
95            happen if e.g. a new selection is opened while the identify tool
96            is active and dialog had been closed)
97    
98    2003-04-30  Bernhard Herzog  <[email protected]>
99    
100            * Thuban/Model/transientdb.py (TransientTableBase.__init__): New
101            instance variable read_record_last_result
102            (TransientTableBase.read_record): Make sure reading the same
103            record twice works. The implementation uses the new instance
104            variable read_record_last_result
105    
106            * test/test_transientdb.py
107            (TestTransientTable.test_transient_table_read_twice): New test
108            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]>
121    
122            * Thuban/Model/session.py (Session.Destroy): Explicitly close the
123            transient DB if it exists to make sure it doesn't leave a journal
124            file in the temp directory.
125    
126            * Thuban/Model/transientdb.py (TransientDatabase.close): Set
127            self.conn to None after closing the connection to make sure it's
128            not closed twice
129    
130    2003-04-29  Jonathan Coles   <[email protected]>
131    
132            Add a visible parameter in the layer XML tag. The default value is
133            "true". If anything other than "false" is specified we also assume
134            "true". Addresses RTbug #1025.
135    
136            * Doc/thuban.dtd: Add visible parameter to a layer.
137    
138            * Thuban/Model/layer.py (BaseLayer.__init__): Change default value
139            of visible from 1 to True.
140            (Layer.__init__): Change default value of visible from 1 to True.
141    
142            * Thuban/Model/load.py (SessionLoader.start_layer): Read visible
143            parameter.
144    
145            * Thuban/Model/save.py (SessionSaver.write_layer): Save visible
146            parameter.
147    
148            * test/test_load.py: Add new test data contents_test_visible.
149            (LoadSessionTest.setUp): save test data.
150            (LoadSessionTest.testLayerVisibility): Test if the visible flag
151            is loaded correctly.
152    
153            * test/test_save.py (SaveSessionTest.testSingleLayer): Add test
154            for saving an invisible layer.
155    
156    2003-04-29  Jonathan Coles   <[email protected]>
157    
158            * Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the
159            legend dialog box and tell it to change its map to the one
160            supplied to SetMap(). Fixes RTbug #1770.
161    
162  2003-04-29  Bernhard Herzog  <[email protected]>  2003-04-29  Bernhard Herzog  <[email protected]>
163    
164          Next step of table implementation. Introduce a transient database          Next step of table implementation. Introduce a transient database
# Line 51  Line 212 
212          once. Plus it introduces a reference cycle that keeps can keep the          once. Plus it introduces a reference cycle that keeps can keep the
213          session object alive for a long time.          session object alive for a long time.
214    
215  2003-04-25  Jonathan Coles   <[email protected]>  2003-04-29  Jonathan Coles   <[email protected]>
216    
217          * Thuban/Model/proj.py (Projection): Removed Set*() methods to make          * Thuban/Model/proj.py (Projection): Removed Set*() methods to make
218          Projection an immutable item. Fixes RTbug #1825.          Projection an immutable item. Fixes RTbug #1825.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26