1 |
2003-11-28 Bernhard Herzog <[email protected]> |
2003-11-28 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Unify the filenames stored in .thuban files so that the .thuban |
4 |
|
files are more platform independend |
5 |
|
|
6 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
7 |
|
that they can be used on both windows and unix |
8 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
9 |
|
transformations for filenames stored in the thuban file |
10 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
11 |
|
Use prepare_filename |
12 |
|
|
13 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
14 |
|
(SaveSessionTest.testLayerProjection) |
15 |
|
(SaveSessionTest.testRasterLayer) |
16 |
|
(SaveSessionTest.testClassifiedLayer) |
17 |
|
(SaveSessionTest.test_dbf_table) |
18 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
19 |
|
with slashes on all currently supported platforms so adapt all |
20 |
|
tests to this |
21 |
|
|
22 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
23 |
|
filename scheme the filenames in the tests should be |
24 |
|
understandable on all currently supported platforms so we turn |
25 |
|
this into an empty list because we don't have to normalize them |
26 |
|
anymore |
27 |
|
|
28 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
31 |
Add the ellipsoid to the projection since some Proj versions |
Add the ellipsoid to the projection since some Proj versions |
32 |
complain if it's missing. |
complain if it's missing. |