1 |
|
2004-07-26 Martin Schulze <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
4 |
|
ClassMapper |
5 |
|
|
6 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
7 |
|
case for the new ClassMapper |
8 |
|
|
9 |
|
|
10 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
13 |
|
visible extent of the map in projected coordinates |
14 |
|
|
15 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size) |
16 |
|
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent() |
17 |
|
tests. |
18 |
|
(SimpleViewPortTest.test_visible_extent): New. The real test for |
19 |
|
VisibleExtent() |
20 |
|
|
21 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
* test/test_viewport.py: Use support.run_tests as the main |
24 |
|
function when running asa script. |
25 |
|
|
26 |
|
2004-07-22 Jan Sch�ngel <[email protected]> |
27 |
|
|
28 |
|
* Extensions/umn_mapserver/mf_export.py: Added "import os" |
29 |
|
Removed the old "import Thuban.UI.mainwindow" code. |
30 |
|
(tbextent_to_map): Removed the extra function and at the code direct |
31 |
|
to "thuban_to_map" function. |
32 |
|
(write_creatorcomment): Added. Now a short comment is added to the |
33 |
|
beginning of an generated mapfile. |
34 |
|
(export_mapfile): Now the Path and filename are saved in to variables, |
35 |
|
and not together in one variable. This is needed for the new |
36 |
|
write_creatorcomment function. |
37 |
|
|
38 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the |
39 |
|
import module "re". Also added Range and the ClassGroupRange import |
40 |
|
from Thuban. Both are needed for the new range expression import. |
41 |
|
(create_rangeexpression): Added. Creates a Range Expression in Thuban |
42 |
|
style from a given mapfile expression. |
43 |
|
(added_rasterlayer): Make some small code changes. The shapepath is |
44 |
|
now stored in an extra variable and the clazz_name is set empty if no |
45 |
|
class name set in the mapfile. |
46 |
|
Changed the Error message for Range Expressions, becaus the new |
47 |
|
function create a error string which will be shown in the dialog. |
48 |
|
|
49 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
50 |
|
range expression import. |
51 |
|
|
52 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
53 |
|
|
54 |
|
* Extensions/umn_mapserver/README: Added hint that |
55 |
|
installation as root can be avoided. Removed all tabs. |
56 |
|
|
57 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* test/test_viewport.py |
60 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
61 |
|
the projection of an empty map shown in a viewport doesn't lead to |
62 |
|
exceptions in the viewport's handler for the |
63 |
|
MAP_PROJECTION_CHANGED messages |
64 |
|
|
65 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
66 |
|
try to keep the same region visible when the map actually contains |
67 |
|
something |
68 |
|
|
69 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
70 |
|
|
71 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
72 |
|
mappath directly from the mapobj. Is needed because of the changes |
73 |
|
in mf_import.py. |
74 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
75 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
76 |
|
mapobj is empty there is no extent get from thuban an so no one can |
77 |
|
set to th mapobj. |
78 |
|
|
79 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
80 |
|
the discription. |
81 |
|
Split the funktion in to three smaller ones. The new functions are |
82 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
83 |
|
Removed the mapfilepath and filepath initialisation, because its know |
84 |
|
include in the new functions. |
85 |
|
Now nothing will be imported if cancel is pressed in the |
86 |
|
layer choice dialog. |
87 |
|
|
88 |
2004-07-14 Jan Sch�ngel <[email protected]> |
2004-07-14 Jan Sch�ngel <[email protected]> |
89 |
|
|
90 |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |