1 |
|
2003-05-08 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/legend.py (ScalebarBitmap.SetCanvas): |
4 |
|
Initialize ScaleBar with canvas.map |
5 |
|
|
6 |
|
* Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New, |
7 |
|
round intervals to display smarter lengths |
8 |
|
(ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a |
9 |
|
layer. If the maps has no projection applied grey the scalebar. |
10 |
|
|
11 |
|
2003-05-07 Frank Koormann <[email protected]> |
12 |
|
|
13 |
|
Basic Scalebar features added. |
14 |
|
|
15 |
|
* Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering. |
16 |
|
|
17 |
|
* Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap |
18 |
|
(ScaleBarBitmap): New, links the scalebar bitmap with view messages |
19 |
|
and the renderer. |
20 |
|
|
21 |
|
* Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED. |
22 |
|
|
23 |
|
* Thuban/UI/messages.py: SCALE_CHANGED added. |
24 |
|
|
25 |
|
2003-05-07 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
28 |
|
variable shapestores to hold a list of all open shapestore objects |
29 |
|
(Session.ShapeStores): New. Accessor method for the shapestores |
30 |
|
list. |
31 |
|
(Session._add_shapestore, Session._clean_weak_store_refs): New. |
32 |
|
Internal methods to maintain the shapestores list. |
33 |
|
(Session.Tables): New. Return all tables open in the session. |
34 |
|
(Session.OpenShapefile): Insert the new ShapeStore into the |
35 |
|
shapestores list. |
36 |
|
|
37 |
|
* test/test_session.py (TestSessionSimple.test_initial_state): Add |
38 |
|
tests for ShapeStores and Tables |
39 |
|
(TestSessionWithContent.test_shape_stores) |
40 |
|
(TestSessionWithContent.test_tables): New. Test cases for |
41 |
|
ShapeStores and Tables |
42 |
|
|
43 |
|
2003-05-07 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict): |
46 |
|
Add comments about the optimizations used. |
47 |
|
(AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New. |
48 |
|
Implement the ReadValue table interface method. |
49 |
|
|
50 |
|
* test/test_transientdb.py |
51 |
|
(TestTransientTable.run_iceland_political_tests) |
52 |
|
(TestTransientTable.test_transient_joined_table): Add tests for |
53 |
|
ReadValue |
54 |
|
|
55 |
2003-05-07 Frank Koormann <[email protected]> |
2003-05-07 Frank Koormann <[email protected]> |
56 |
|
|
57 |
* Resources/Bitmaps/fulllayerextent.xpm, |
* Resources/Bitmaps/fulllayerextent.xpm, |