1 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Extensions/umn_mapserver/README: Added hint that |
4 |
|
installation as root can be avoided. Removed all tabs. |
5 |
|
|
6 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
* test/test_viewport.py |
9 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
10 |
|
the projection of an empty map shown in a viewport doesn't lead to |
11 |
|
exceptions in the viewport's handler for the |
12 |
|
MAP_PROJECTION_CHANGED messages |
13 |
|
|
14 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
15 |
|
try to keep the same region visible when the map actually contains |
16 |
|
something |
17 |
|
|
18 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
19 |
|
|
20 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
21 |
|
mappath directly from the mapobj. Is needed because of the changes |
22 |
|
in mf_import.py. |
23 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
24 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
25 |
|
mapobj is empty there is no extent get from thuban an so no one can |
26 |
|
set to th mapobj. |
27 |
|
|
28 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
29 |
|
the discription. |
30 |
|
Split the funktion in to three smaller ones. The new functions are |
31 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
32 |
|
Removed the mapfilepath and filepath initialisation, because its know |
33 |
|
include in the new functions. |
34 |
|
Now nothing will be imported if cancel is pressed in the |
35 |
|
layer choice dialog. |
36 |
|
|
37 |
|
2004-07-14 Jan Sch�ngel <[email protected]> |
38 |
|
|
39 |
|
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
40 |
|
import. |
41 |
|
(MF_Symbolset): Removed the extra variable for numsymbols. |
42 |
|
(MF_Class.__init__): Added a comment to the exception clause. |
43 |
|
Removed the extent init, because it was not needed anymore. |
44 |
|
(MF_Layer.add_thubanclass): Added the code to set the class name to |
45 |
|
the expression value from thuban if no label is defined. |
46 |
|
Added the code to export Range expressions from thuban to the mapfile. |
47 |
|
(MF_Map.set_extent): Removed the exception and replace it by some if |
48 |
|
code. If the size of a map is not defined the size will be set to 1,1. |
49 |
|
This is necessary because if the extent is set, mapscript checks if |
50 |
|
the size is greater than zero. |
51 |
|
(MF_Web): Added the get and set function for the template. |
52 |
|
|
53 |
|
* Extensions/umn_mapserver/mf_export.py: Added the function to check |
54 |
|
if a mapobject exists and used it to set the status of the menu items. |
55 |
|
If no mapfile exists the settings could not be edditied. |
56 |
|
Define after which menuitem the exportitem will include. |
57 |
|
|
58 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the import |
59 |
|
Thuban.UI.mainwindow clause, because it is not needed. |
60 |
|
Added the command Refresh() to all "OnChangeColor()" functions, |
61 |
|
because the color preview window was not updated on a color change. |
62 |
|
Added the function to check if a mapobject exists and used it to set the |
63 |
|
status of the menu items. If no mapobject exists the settings could not |
64 |
|
be edditied. |
65 |
|
(Map_Dialog): Moved the imagetype selector from the |
66 |
|
Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog. |
67 |
|
(Web_Dialog): Removed the name label and added the template textbox. |
68 |
|
|
69 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace |
70 |
|
the exception handling on loading the layers by an if statement. It |
71 |
|
is not necessary to us the exception there. |
72 |
|
The Filepath creation now use os.path.join to build the path. |
73 |
|
|
74 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap |
75 |
|
definition from global to the setUp function. Now the testMap will |
76 |
|
initialize new on each test. |
77 |
|
|
78 |
|
* Extensions/umn_mapserver/sample/iceland.map: Include three new |
79 |
|
classes in the Line Layer, to test logical Expressions. |
80 |
|
Set the status of the class "Point9" in the Point Layer to off |
81 |
|
|
82 |
|
2004-07-13 Bernhard Herzog <[email protected]> |
83 |
|
|
84 |
|
* Thuban/UI/baserenderer.py |
85 |
|
(BaseRenderer.render_map_incrementally): Fix a logic bug in the |
86 |
|
optimization that tries not to draw layers under a raster layer. |
87 |
|
The bug was harmless. All it effectively did was to produce The a |
88 |
|
strange messages about not being able to draw Layer instances for |
89 |
|
all vector layers below a raster layer which would be invisible |
90 |
|
anyway because the raster layer currently always covers the entire |
91 |
|
window |
92 |
|
|
93 |
|
2004-07-08 Jan Sch�ngel <[email protected]> |
94 |
|
|
95 |
|
* Extensions/umn_mapserver/mapfile.py: Added code to generade and get |
96 |
|
a list of supported outputformats. This formats are not alle supported |
97 |
|
because there is no possibility to get the outputformat without the |
98 |
|
name known. Make some formal changes to the code. |
99 |
|
(MF_Map.set_name()): Fixed a bug if the name is None. |
100 |
|
|
101 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the image_type import |
102 |
|
statement, because its not needed anymore. The Outputformat is now |
103 |
|
given as string from the object. Make some formal changes to the code. |
104 |
|
|
105 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added new test for |
106 |
|
most of the new setting which were added during the last changes. |
107 |
|
Removed the MF_Size Test. |
108 |
|
|
109 |
|
* Extensions/umn_mapserver/test/test.map: Added a new class to the |
110 |
|
cultural Layer to test expressions and the the status of that layer |
111 |
|
from on to default. |
112 |
|
Changed the data path the the correct Thuban Data |
113 |
|
Added the Outputformat Object and Symbol Object |
114 |
|
|
115 |
2004-07-07 Jan Sch�ngel <[email protected]> |
2004-07-07 Jan Sch�ngel <[email protected]> |
116 |
|
|
117 |
* Extensions/umn_mapserver/mapfile.py: Added some new |
* Extensions/umn_mapserver/mapfile.py: Added some new |