1 |
2003-04-25 Jonathan Coles <[email protected]> |
2003-04-25 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/load.py (SessionLoader.start_projection): Remember |
4 |
|
the projection name and use it when constructing the Projection |
5 |
|
object. |
6 |
|
|
7 |
|
* Thuban/Model/proj.py (Projection.__init__): Change the default |
8 |
|
value for 'name' to None and then test if name is equal to None |
9 |
|
in the body of the constructor. This way the caller doesn't have to |
10 |
|
know what the default value should be. Namely, useful in load.py |
11 |
|
where we have to pick a default value if the 'name' parameter |
12 |
|
doesn't exist in the XML file. |
13 |
|
|
14 |
|
* test/test_load.py (LoadSessionTest.testLayerProjection): New. |
15 |
|
Tests a file where a layer has a projection. |
16 |
|
|
17 |
|
2003-04-25 Jonathan Coles <[email protected]> |
18 |
|
|
19 |
* Thuban/Model/layer.py (Layer.TreeInfo): Add an item to the |
* Thuban/Model/layer.py (Layer.TreeInfo): Add an item to the |
20 |
tree for projection information. |
tree for projection information. |
21 |
|
|