/[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 848 by frank, Wed May 7 07:20:52 2003 UTC revision 889 by jonathan, Fri May 9 16:41:52 2003 UTC
# Line 1  Line 1 
1    2003-05-09  Jonathan Coles   <[email protected]>
2    
3            Introduces Range class from SciParam into the ClassGroupRange class,
4            and such ranges can now be saved and loaded from disk.
5    
6            Quantiles are now available in the Classification Generator.
7    
8            Initial support for building Queries on a table. Doesn't do anything
9            but run some tests.
10    
11            * Thuban/Model/classification.py: Explicit imports.
12            (ClassGroupRange): Use the Range class to store the underlying
13            range information. The interface remains the same, except for
14            GetRange(), and you can also supply a Range object as the min
15            parameter to SetRange or __init__.
16    
17            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
18            string appropriately for use in Thuban. Fixes RTbug #1851.
19            (SessionLoader.end_projection): Handle the context of the
20            projection tag a bit better by looking at what objects are not
21            None. There was an assumption that a projection tag for a map
22            could occur before any layers.
23            (SessionLoader.start_clrange): Provide backward compatibility for
24            reading min/max values as well as the new range parameter.
25    
26            * Thuban/Model/map.py: Explicit imports.
27    
28            * Thuban/Model/resource.py: Import _.
29            (ProjFileSaver.write): write header using projfile.dtd.
30    
31            * Thuban/Model/save.py: Explicit imports.
32            (XMLWriter.encode): New. Encode the given string from a format
33            used by Thuban into UTF-8. Fixes RTbug #1851.
34    
35            * Thuban/UI/classgen.py: Explicit imports.
36            (ClassGenDialog.__init__): Clean up the code and add support
37            for Quantiles.
38            (ClassGenDialog.OnOK): Add support for Quantiles.
39            (GenQuantilesPanel): New. Input panel for Quantiles.
40            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
41            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
42    
43            * Thuban/Model/classgen.py: New. Contains all the classes named above.
44    
45            * Thuban/UI/classifier.py: Explicit imports.
46            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
47            ClassTable.SetValueAsCustom): Reworked to use new Range class.
48    
49            * Thuban/UI/legend.py: Explicit imports.
50    
51            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
52            a Table menu and associated method calls.
53            (MainWindow.choose_color): Removed. No longer needed.
54    
55            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
56            should be disabled if no projection is selected in the available
57            list.
58    
59            * Thuban/UI/renderer.py: Explicit imports.
60    
61            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
62            with correctly selecting the rows and issuing the right events.
63            Be sure to call Skip() to allow the grid to do some of its own
64            handling which allows the rows to actually be selected.
65            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
66            selecting multiple shapes.
67            (LayerTableFrame): Support for building Queries.
68            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
69    
70            * Thuban/UI/tree.py: Explicit imports.
71    
72            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
73            table view can call it.
74    
75            * test/test_classification.py: Explicit imports.
76            (TestClassification.test_ClassGroupRange): Fix test for new
77            Range class.
78    
79            * Doc/thuban.dtd: Add range parameter for clrange.
80    
81            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
82            object in ClassGroupRange, and also uesd for inputting ranges in
83            the classifer table and elsewhere.
84    
85            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
86            yet.
87    
88    2003-05-09  Frank Koormann <[email protected]>
89    
90            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
91    
92    2003-05-08  Frank Koormann <[email protected]>
93    
94            Coding style updates
95    
96            * test/test_scalebar.py: Replaced tab indentation by spaces.
97    
98            * Thuban/UI/scalebar.py: Explicit imports.
99    
100    2003-05-08  Frank Koormann <[email protected]>
101    
102            * Thuban/UI/scalebar.py
103            (ScaleBar.DrawScalebar): Format string bug fixed.
104    
105    2003-05-08  Frank Koormann <[email protected]>
106    
107            Reorganization of scalebar component (no wx in Thuban/Model)
108    
109            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
110            (deriveInterval):
111            Calculate scalebar interval and unit which fits in width for scale.
112            (roundInterval): Round float.
113    
114            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
115    
116            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
117    
118            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
119    
120    2003-05-08  Frank Koormann <[email protected]>
121    
122            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
123            Initialize ScaleBar with canvas.map
124    
125            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
126            round intervals to display smarter lengths
127            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
128            layer. If the maps has no projection applied grey the scalebar.
129    
130    2003-05-07  Frank Koormann <[email protected]>
131            
132            Basic Scalebar features added.
133    
134            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
135    
136            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
137            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
138            and the renderer.
139    
140            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
141    
142            * Thuban/UI/messages.py: SCALE_CHANGED added.
143    
144    2003-05-07  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/Model/session.py (Session.__init__): New instance
147            variable shapestores to hold a list of all open shapestore objects
148            (Session.ShapeStores): New. Accessor method for the shapestores
149            list.
150            (Session._add_shapestore, Session._clean_weak_store_refs): New.
151            Internal methods to maintain the shapestores list.
152            (Session.Tables): New. Return all tables open in the session.
153            (Session.OpenShapefile): Insert the new ShapeStore into the
154            shapestores list.
155    
156            * test/test_session.py (TestSessionSimple.test_initial_state): Add
157            tests for ShapeStores and Tables
158            (TestSessionWithContent.test_shape_stores)
159            (TestSessionWithContent.test_tables): New. Test cases for
160            ShapeStores and Tables
161    
162    2003-05-07  Bernhard Herzog  <[email protected]>
163    
164            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
165            Add comments about the optimizations used.
166            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
167            Implement the ReadValue table interface method.
168    
169            * test/test_transientdb.py
170            (TestTransientTable.run_iceland_political_tests)
171            (TestTransientTable.test_transient_joined_table): Add tests for
172            ReadValue
173    
174  2003-05-07  Frank Koormann <[email protected]>  2003-05-07  Frank Koormann <[email protected]>
175    
176          * Resources/Bitmaps/fulllayerextent.xpm,          * Resources/Bitmaps/fulllayerextent.xpm,

Legend:
Removed from v.848  
changed lines
  Added in v.889

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26