1 |
2003-10-21 Bernhard Herzog <[email protected]> |
2003-10-21 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Add EPSG projection handling to .thuban files |
4 |
|
|
5 |
|
* test/test_save.py (SaveSessionTest.dtd) |
6 |
|
(SaveSessionTest.testEmptySession) |
7 |
|
(SaveSessionTest.testLayerProjection) |
8 |
|
(SaveSessionTest.testRasterLayer) |
9 |
|
(SaveSessionTest.testClassifiedLayer) |
10 |
|
(SaveSessionTest.test_dbf_table) |
11 |
|
(SaveSessionTest.test_joined_table) |
12 |
|
(SaveSessionTest.test_save_postgis): Update to 1.0-dev namespace |
13 |
|
(SaveSessionTest.testSingleLayer): Update to 1.0-dev namespace and |
14 |
|
use a and epsg projection to test saving them |
15 |
|
|
16 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to 1.0-dev |
17 |
|
namespace |
18 |
|
(TestLayerVisibility.file_contents, TestLabels.file_contents) |
19 |
|
(TestLayerProjection.file_contents) |
20 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
21 |
|
(TestPostGISLayer.file_contents) |
22 |
|
(TestPostGISLayerPassword.file_contents) |
23 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to use |
24 |
|
1.0-dev namespace |
25 |
|
(TestSingleLayer.file_contents, TestSingleLayer.test): Update to |
26 |
|
use 1.0-dev namespace and use an EPSG projection to test whether |
27 |
|
loading it works |
28 |
|
|
29 |
|
* test/test_load_0_9.py: New. Effectively a copy of test_load.py |
30 |
|
as of Thuban 0.9. These are now tests to determine whether Thuban |
31 |
|
can still read files generated by Thuban 0.9 |
32 |
|
|
33 |
|
* Thuban/Model/save.py (SessionSaver.write) |
34 |
|
(SessionSaver.write_session): Use the 1.0 dtd and 1.0-dev |
35 |
|
namespace |
36 |
|
(SessionSaver.write_projection): Write the projection's epsg |
37 |
|
attribute |
38 |
|
|
39 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Also accept the |
40 |
|
thuban-1.0-dev.dtd namespace |
41 |
|
(SessionLoader.check_attrs): Allow a callable object as conversion |
42 |
|
too |
43 |
|
(SessionLoader.start_projection, SessionLoader.end_projection) |
44 |
|
(SessionLoader.start_parameter): Handle the epsg attribute and |
45 |
|
rename a few instance variables to lower case |
46 |
|
|
47 |
|
* Resources/XML/thuban-1.0.dtd: New. Only difference to |
48 |
|
thuban-0.9.dtd is the epsg attribute for projections. |
49 |
|
|
50 |
|
2003-10-21 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
* test/runtests.py (main): Let the user specify which tests to run |
* test/runtests.py (main): Let the user specify which tests to run |
53 |
on the command line |
on the command line |
54 |
|
|