1 |
|
2004-08-20 Silke Reimer <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py: |
4 |
|
Fixes bug in projection handling: Otherwise very large region might not |
5 |
|
have valid values in the layer's projection. |
6 |
|
|
7 |
|
2004-08-20 Silke Reimer <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/about.py: |
10 |
|
small changes to be consistent with coding style. |
11 |
|
|
12 |
|
2004-08-13 Martin Schulze <[email protected]> |
13 |
|
|
14 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
15 |
|
Adjusted a comment |
16 |
|
|
17 |
|
2004-08-11 Silke Reimer <[email protected]> |
18 |
|
|
19 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
20 |
|
too many and too enhanced imports of locale |
21 |
|
|
22 |
|
2004-08-10 Silke Reimer <[email protected]> |
23 |
|
|
24 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
25 |
|
function unicodeToLocale() to convert special characters to users |
26 |
|
locale encoding |
27 |
|
|
28 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
29 |
|
|
30 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
31 |
|
lower case letter' |
32 |
|
|
33 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
34 |
|
|
35 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
36 |
|
the standard way. |
37 |
|
|
38 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
39 |
|
the function where it is needed, because it don't works if it stands |
40 |
|
at the beginning. |
41 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
42 |
|
numclasses from the mapscript will be used. |
43 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
44 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
45 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
46 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
47 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
48 |
|
with the mapscript object. |
49 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
50 |
|
the mapscript. |
51 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
52 |
|
linked to the layer in thuban, else the layerobject linked to the |
53 |
|
thubanlayer will be used. |
54 |
|
AnnotationLayer will now store the filename of the shapefile. |
55 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
56 |
|
must be set new. |
57 |
|
|
58 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
59 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
60 |
|
will be removed from the mapobj. |
61 |
|
Added comments to all functions. |
62 |
|
(thuban_to_map): No layer will be removed here. |
63 |
|
|
64 |
|
* Extensions/umn_mapserver/mf_handle.py |
65 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
66 |
|
Layersettings for the mapserver kann be edited. |
67 |
|
|
68 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
69 |
|
imported, will be linked with the associated MF_Layer. |
70 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
71 |
|
Disable the "import layer from mapfile" menu option. |
72 |
|
|
73 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
74 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
75 |
|
layer on permanently. |
76 |
|
|
77 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
78 |
|
|
79 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
80 |
|
New. This function removes all metadata |
81 |
|
(MF_Layer.set_group): New. Set the group setting. |
82 |
|
(MF_Layer.get_group): New. Get the group setting. |
83 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
84 |
|
parameter instead. |
85 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
86 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
87 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
88 |
|
if the object is an instance. Also added the annotation layer here to |
89 |
|
export, but only the layer is created in the mapfile. |
90 |
|
|
91 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
92 |
|
the check if a mapobj exist, because its not needed anymore. The |
93 |
|
export function is only available if a mapobj exist. |
94 |
|
Use the new function to remove all layers. |
95 |
|
|
96 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
97 |
|
option and the metadata button. The layer dialog is temporary disabled. |
98 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
99 |
|
correct. |
100 |
|
|
101 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
102 |
|
the number of layer from import_mapfile to this function. |
103 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
104 |
|
thuban. The layer don't do anything. It's only to show the layer |
105 |
|
and to save the layer order. |
106 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
107 |
|
(select_layer2import): New. Import only layers to thuban and not |
108 |
|
the other settings like projection or scalebar. |
109 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
110 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
111 |
|
|
112 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
113 |
|
parameter to the roads and cultural layers. Also added a new |
114 |
|
Annotation Layer for the cultural points. |
115 |
|
|
116 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
117 |
|
option for the annotation layer. |
118 |
|
|
119 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
120 |
|
parameter for the annotation layer. |
121 |
|
|
122 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
123 |
|
|
124 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
125 |
|
translation completed. |
126 |
|
|
127 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
128 |
|
Fixed unprecise description for Save Session. |
129 |
|
|
130 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
131 |
|
|
132 |
|
Started translation of Users Manual into german. |
133 |
|
|
134 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
135 |
|
|
136 |
|
* Doc/manual/Makefile: Added build instructions for german |
137 |
|
users manual. |
138 |
|
|
139 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
140 |
|
|
141 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
142 |
|
|
143 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
144 |
|
functions. Now all metadata will handle by the function and its not |
145 |
|
needed to initialize it from outside. Therefor the associated mapobj |
146 |
|
will be stored in the Metadata Object. So we can use the special |
147 |
|
functions from the associated mapobj to get the Metadata. |
148 |
|
Therefor all initialization code for the metadata is removed from the |
149 |
|
other classes. |
150 |
|
(MF_Layer): Added a function to get the metadata object. |
151 |
|
(MF_Map): Added a function to set the mappath, the path where |
152 |
|
the mapfile ist stored. |
153 |
|
|
154 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
155 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
156 |
|
data in the Thuban-view. |
157 |
|
(export_mapfile): The shapepath is now set empty, until relative |
158 |
|
pathnames are supported. |
159 |
|
|
160 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
161 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
162 |
|
supported are not implemented. |
163 |
|
Added a dialog to handle layer informations. The dialog only shows the |
164 |
|
selected layer at the moment. |
165 |
|
|
166 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
167 |
|
code for setting the extent in thuban. Now the extent is set to the |
168 |
|
given extent from the mapfile. |
169 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
170 |
|
loaded, and not if one is selected to load. |
171 |
|
|
172 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
173 |
|
move the shown map in the browser. |
174 |
|
|
175 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
176 |
|
line to the mapobj and added metadata to the political layer. |
177 |
|
|
178 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
179 |
|
for Metadata. |
180 |
|
|
181 |
|
2004-07-26 Martin Schulze <[email protected]> |
182 |
|
|
183 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
184 |
|
ClassMapper |
185 |
|
|
186 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
187 |
|
case for the new ClassMapper |
188 |
|
|
189 |
|
|
190 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
191 |
|
|
192 |
|
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
193 |
|
visible extent of the map in projected coordinates |
194 |
|
|
195 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size) |
196 |
|
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent() |
197 |
|
tests. |
198 |
|
(SimpleViewPortTest.test_visible_extent): New. The real test for |
199 |
|
VisibleExtent() |
200 |
|
|
201 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
202 |
|
|
203 |
|
* test/test_viewport.py: Use support.run_tests as the main |
204 |
|
function when running asa script. |
205 |
|
|
206 |
|
2004-07-22 Jan Sch�ngel <[email protected]> |
207 |
|
|
208 |
|
* Extensions/umn_mapserver/mf_export.py: Added "import os" |
209 |
|
Removed the old "import Thuban.UI.mainwindow" code. |
210 |
|
(tbextent_to_map): Removed the extra function and at the code direct |
211 |
|
to "thuban_to_map" function. |
212 |
|
(write_creatorcomment): Added. Now a short comment is added to the |
213 |
|
beginning of an generated mapfile. |
214 |
|
(export_mapfile): Now the Path and filename are saved in to variables, |
215 |
|
and not together in one variable. This is needed for the new |
216 |
|
write_creatorcomment function. |
217 |
|
|
218 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the |
219 |
|
import module "re". Also added Range and the ClassGroupRange import |
220 |
|
from Thuban. Both are needed for the new range expression import. |
221 |
|
(create_rangeexpression): Added. Creates a Range Expression in Thuban |
222 |
|
style from a given mapfile expression. |
223 |
|
(added_rasterlayer): Make some small code changes. The shapepath is |
224 |
|
now stored in an extra variable and the clazz_name is set empty if no |
225 |
|
class name set in the mapfile. |
226 |
|
Changed the Error message for Range Expressions, becaus the new |
227 |
|
function create a error string which will be shown in the dialog. |
228 |
|
|
229 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
230 |
|
range expression import. |
231 |
|
|
232 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
233 |
|
|
234 |
|
* Extensions/umn_mapserver/README: Added hint that |
235 |
|
installation as root can be avoided. Removed all tabs. |
236 |
|
|
237 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
238 |
|
|
239 |
|
* test/test_viewport.py |
240 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
241 |
|
the projection of an empty map shown in a viewport doesn't lead to |
242 |
|
exceptions in the viewport's handler for the |
243 |
|
MAP_PROJECTION_CHANGED messages |
244 |
|
|
245 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
246 |
|
try to keep the same region visible when the map actually contains |
247 |
|
something |
248 |
|
|
249 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
250 |
|
|
251 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
252 |
|
mappath directly from the mapobj. Is needed because of the changes |
253 |
|
in mf_import.py. |
254 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
255 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
256 |
|
mapobj is empty there is no extent get from thuban an so no one can |
257 |
|
set to th mapobj. |
258 |
|
|
259 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
260 |
|
the discription. |
261 |
|
Split the funktion in to three smaller ones. The new functions are |
262 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
263 |
|
Removed the mapfilepath and filepath initialisation, because its know |
264 |
|
include in the new functions. |
265 |
|
Now nothing will be imported if cancel is pressed in the |
266 |
|
layer choice dialog. |
267 |
|
|
268 |
2004-07-14 Jan Sch�ngel <[email protected]> |
2004-07-14 Jan Sch�ngel <[email protected]> |
269 |
|
|
270 |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |