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]> |
2003-05-09 Frank Koormann <[email protected]> |
89 |
|
|
90 |
* Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0. |
* Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0. |