1 |
|
2004-10-01 Martin Schulze <[email protected]> |
2 |
|
|
3 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
4 |
|
argument for general use through properties-dialog selector |
5 |
|
|
6 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
7 |
|
both provided layer classes/types. |
8 |
|
|
9 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
10 |
|
map can be retrieved through the parent which is passed to the |
11 |
|
constructor anyway and doesn't require an argument of its own, |
12 |
|
required for the unification of arguments for general use through |
13 |
|
properties-dialog selector. |
14 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
15 |
|
whether a dialog is already opened (and raising it to the users |
16 |
|
attention) and creating a new dialog into a function of its own |
17 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
18 |
|
method |
19 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
20 |
|
global registration of properties dialog classes (which are indeed |
21 |
|
layer-specific). |
22 |
|
|
23 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
24 |
|
for general use through properties-dialog selector, the map can be |
25 |
|
retrieved through the parent and doesn't require an argument of |
26 |
|
its own. |
27 |
|
|
28 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
29 |
|
the provided WMS layer |
30 |
|
|
31 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
32 |
|
|
33 |
|
New feature: Registry for Extensions. |
34 |
|
|
35 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
36 |
|
Extensions. |
37 |
|
|
38 |
|
* Thuban/UI/about.py (About.__init__): Added description |
39 |
|
of the registered extensions with all of the information. |
40 |
|
|
41 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
42 |
|
|
43 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
44 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
45 |
|
Extensions/wms/wms.py: Added registration of the extension. |
46 |
|
|
47 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
48 |
|
|
49 |
|
More fixes to svgexport to make used ids unique and |
50 |
|
conforming to XML's Name production. |
51 |
|
|
52 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
53 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
54 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
55 |
|
Added Bernhard R. as author. |
56 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
57 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
58 |
|
Also transform second id part with "%d" and catch the TypeError |
59 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
60 |
|
Corrected typo inBernhard's author line. |
61 |
|
(SetBaseID): Return the transformed base id. Transform characters |
62 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
63 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
64 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
65 |
|
for used_baseids checks. |
66 |
|
|
67 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
70 |
|
Remove a debug print and some tab characters. |
71 |
|
|
72 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
73 |
|
|
74 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
75 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
76 |
|
the interaction of the three functions and the XML id contrains. |
77 |
|
|
78 |
|
|
79 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
80 |
|
|
81 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
82 |
|
Module. |
83 |
|
|
84 |
|
* Doc/README: Added info on ThubanModel.xmi. |
85 |
|
|
86 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
87 |
|
|
88 |
|
* Doc/README: New. Some info about how to generate technical |
89 |
|
documentation from the source code. |
90 |
|
This text was send to the Thuban developer mailing list on |
91 |
|
September 21st 2004 by Bernhard Reiter. |
92 |
|
|
93 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
94 |
|
|
95 |
|
Improved the svgexport to only use unique ids. Will issues |
96 |
|
an error message dialoge when two layer names are the same. |
97 |
|
ShapeIDs are now added with a dash within the svg ids. |
98 |
|
|
99 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
100 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
101 |
|
(TestSVGRenderer): New test class with test_make_in() and |
102 |
|
test_check_for_layer_name_clash() |
103 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
104 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
105 |
|
satisfying test_check_for_layer_name_clash() |
106 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
107 |
|
test_make_in(). |
108 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
109 |
|
and wxICON_HAND. |
110 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
111 |
|
catching SVGmapWriterError notify the user and delete the target file. |
112 |
|
|
113 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
114 |
|
|
115 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
116 |
|
|
117 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
118 |
|
|
119 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
120 |
|
small bug with the line color. Now the line color will now only set |
121 |
|
if it is set in Thuban an not Transparent. |
122 |
|
|
123 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
124 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
125 |
|
from the last. |
126 |
|
|
127 |
|
2004-08-20 Silke Reimer <[email protected]> |
128 |
|
|
129 |
|
* Thuban/Model/layer.py: |
130 |
|
Fixes bug in projection handling: Otherwise very large region might not |
131 |
|
have valid values in the layer's projection. |
132 |
|
|
133 |
|
2004-08-20 Silke Reimer <[email protected]> |
134 |
|
|
135 |
|
* Thuban/UI/about.py: |
136 |
|
small changes to be consistent with coding style. |
137 |
|
|
138 |
|
2004-08-13 Martin Schulze <[email protected]> |
139 |
|
|
140 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
141 |
|
Adjusted a comment |
142 |
|
|
143 |
|
2004-08-11 Silke Reimer <[email protected]> |
144 |
|
|
145 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
146 |
|
too many and too enhanced imports of locale |
147 |
|
|
148 |
|
2004-08-10 Silke Reimer <[email protected]> |
149 |
|
|
150 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
151 |
|
function unicodeToLocale() to convert special characters to users |
152 |
|
locale encoding |
153 |
|
|
154 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
155 |
|
|
156 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
157 |
|
lower case letter' |
158 |
|
|
159 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
160 |
|
|
161 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
162 |
|
the standard way. |
163 |
|
|
164 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
165 |
|
the function where it is needed, because it don't works if it stands |
166 |
|
at the beginning. |
167 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
168 |
|
numclasses from the mapscript will be used. |
169 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
170 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
171 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
172 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
173 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
174 |
|
with the mapscript object. |
175 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
176 |
|
the mapscript. |
177 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
178 |
|
linked to the layer in thuban, else the layerobject linked to the |
179 |
|
thubanlayer will be used. |
180 |
|
AnnotationLayer will now store the filename of the shapefile. |
181 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
182 |
|
must be set new. |
183 |
|
|
184 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
185 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
186 |
|
will be removed from the mapobj. |
187 |
|
Added comments to all functions. |
188 |
|
(thuban_to_map): No layer will be removed here. |
189 |
|
|
190 |
|
* Extensions/umn_mapserver/mf_handle.py |
191 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
192 |
|
Layersettings for the mapserver kann be edited. |
193 |
|
|
194 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
195 |
|
imported, will be linked with the associated MF_Layer. |
196 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
197 |
|
Disable the "import layer from mapfile" menu option. |
198 |
|
|
199 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
200 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
201 |
|
layer on permanently. |
202 |
|
|
203 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
204 |
|
|
205 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
206 |
|
New. This function removes all metadata |
207 |
|
(MF_Layer.set_group): New. Set the group setting. |
208 |
|
(MF_Layer.get_group): New. Get the group setting. |
209 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
210 |
|
parameter instead. |
211 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
212 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
213 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
214 |
|
if the object is an instance. Also added the annotation layer here to |
215 |
|
export, but only the layer is created in the mapfile. |
216 |
|
|
217 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
218 |
|
the check if a mapobj exist, because its not needed anymore. The |
219 |
|
export function is only available if a mapobj exist. |
220 |
|
Use the new function to remove all layers. |
221 |
|
|
222 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
223 |
|
option and the metadata button. The layer dialog is temporary disabled. |
224 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
225 |
|
correct. |
226 |
|
|
227 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
228 |
|
the number of layer from import_mapfile to this function. |
229 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
230 |
|
thuban. The layer don't do anything. It's only to show the layer |
231 |
|
and to save the layer order. |
232 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
233 |
|
(select_layer2import): New. Import only layers to thuban and not |
234 |
|
the other settings like projection or scalebar. |
235 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
236 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
237 |
|
|
238 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
239 |
|
parameter to the roads and cultural layers. Also added a new |
240 |
|
Annotation Layer for the cultural points. |
241 |
|
|
242 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
243 |
|
option for the annotation layer. |
244 |
|
|
245 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
246 |
|
parameter for the annotation layer. |
247 |
|
|
248 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
249 |
|
|
250 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
251 |
|
translation completed. |
252 |
|
|
253 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
254 |
|
Fixed unprecise description for Save Session. |
255 |
|
|
256 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
257 |
|
|
258 |
|
Started translation of Users Manual into german. |
259 |
|
|
260 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
261 |
|
|
262 |
|
* Doc/manual/Makefile: Added build instructions for german |
263 |
|
users manual. |
264 |
|
|
265 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
266 |
|
|
267 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
268 |
|
|
269 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
270 |
|
functions. Now all metadata will handle by the function and its not |
271 |
|
needed to initialize it from outside. Therefor the associated mapobj |
272 |
|
will be stored in the Metadata Object. So we can use the special |
273 |
|
functions from the associated mapobj to get the Metadata. |
274 |
|
Therefor all initialization code for the metadata is removed from the |
275 |
|
other classes. |
276 |
|
(MF_Layer): Added a function to get the metadata object. |
277 |
|
(MF_Map): Added a function to set the mappath, the path where |
278 |
|
the mapfile ist stored. |
279 |
|
|
280 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
281 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
282 |
|
data in the Thuban-view. |
283 |
|
(export_mapfile): The shapepath is now set empty, until relative |
284 |
|
pathnames are supported. |
285 |
|
|
286 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
287 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
288 |
|
supported are not implemented. |
289 |
|
Added a dialog to handle layer informations. The dialog only shows the |
290 |
|
selected layer at the moment. |
291 |
|
|
292 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
293 |
|
code for setting the extent in thuban. Now the extent is set to the |
294 |
|
given extent from the mapfile. |
295 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
296 |
|
loaded, and not if one is selected to load. |
297 |
|
|
298 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
299 |
|
move the shown map in the browser. |
300 |
|
|
301 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
302 |
|
line to the mapobj and added metadata to the political layer. |
303 |
|
|
304 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
305 |
|
for Metadata. |
306 |
|
|
307 |
|
2004-07-26 Martin Schulze <[email protected]> |
308 |
|
|
309 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
310 |
|
ClassMapper |
311 |
|
|
312 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
313 |
|
case for the new ClassMapper |
314 |
|
|
315 |
|
|
316 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
317 |
|
|
318 |
|
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
319 |
|
visible extent of the map in projected coordinates |
320 |
|
|
321 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size) |
322 |
|
(SimpleViewPortTest.test_init_with_size): Add some VisibleExtent() |
323 |
|
tests. |
324 |
|
(SimpleViewPortTest.test_visible_extent): New. The real test for |
325 |
|
VisibleExtent() |
326 |
|
|
327 |
|
2004-07-22 Bernhard Herzog <[email protected]> |
328 |
|
|
329 |
|
* test/test_viewport.py: Use support.run_tests as the main |
330 |
|
function when running asa script. |
331 |
|
|
332 |
|
2004-07-22 Jan Sch�ngel <[email protected]> |
333 |
|
|
334 |
|
* Extensions/umn_mapserver/mf_export.py: Added "import os" |
335 |
|
Removed the old "import Thuban.UI.mainwindow" code. |
336 |
|
(tbextent_to_map): Removed the extra function and at the code direct |
337 |
|
to "thuban_to_map" function. |
338 |
|
(write_creatorcomment): Added. Now a short comment is added to the |
339 |
|
beginning of an generated mapfile. |
340 |
|
(export_mapfile): Now the Path and filename are saved in to variables, |
341 |
|
and not together in one variable. This is needed for the new |
342 |
|
write_creatorcomment function. |
343 |
|
|
344 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the |
345 |
|
import module "re". Also added Range and the ClassGroupRange import |
346 |
|
from Thuban. Both are needed for the new range expression import. |
347 |
|
(create_rangeexpression): Added. Creates a Range Expression in Thuban |
348 |
|
style from a given mapfile expression. |
349 |
|
(added_rasterlayer): Make some small code changes. The shapepath is |
350 |
|
now stored in an extra variable and the clazz_name is set empty if no |
351 |
|
class name set in the mapfile. |
352 |
|
Changed the Error message for Range Expressions, becaus the new |
353 |
|
function create a error string which will be shown in the dialog. |
354 |
|
|
355 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
356 |
|
range expression import. |
357 |
|
|
358 |
|
2004-07-21 Jan-Oliver Wagner <[email protected]> |
359 |
|
|
360 |
|
* Extensions/umn_mapserver/README: Added hint that |
361 |
|
installation as root can be avoided. Removed all tabs. |
362 |
|
|
363 |
|
2004-07-16 Bernhard Herzog <[email protected]> |
364 |
|
|
365 |
|
* test/test_viewport.py |
366 |
|
(ViewPortTest.test_changing_map_projection): Check that changing |
367 |
|
the projection of an empty map shown in a viewport doesn't lead to |
368 |
|
exceptions in the viewport's handler for the |
369 |
|
MAP_PROJECTION_CHANGED messages |
370 |
|
|
371 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only |
372 |
|
try to keep the same region visible when the map actually contains |
373 |
|
something |
374 |
|
|
375 |
|
2004-07-15 Jan Sch�ngel <[email protected]> |
376 |
|
|
377 |
|
* Extensions/umn_mapserver/mapfile.py: Added a function to get the |
378 |
|
mappath directly from the mapobj. Is needed because of the changes |
379 |
|
in mf_import.py. |
380 |
|
(MF_Layer.add_thubanclass): Added a new comment. |
381 |
|
(MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the |
382 |
|
mapobj is empty there is no extent get from thuban an so no one can |
383 |
|
set to th mapobj. |
384 |
|
|
385 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated |
386 |
|
the discription. |
387 |
|
Split the funktion in to three smaller ones. The new functions are |
388 |
|
add_rasterlayer, add_polygonlayer and select_layer2import. |
389 |
|
Removed the mapfilepath and filepath initialisation, because its know |
390 |
|
include in the new functions. |
391 |
|
Now nothing will be imported if cancel is pressed in the |
392 |
|
layer choice dialog. |
393 |
|
|
394 |
|
2004-07-14 Jan Sch�ngel <[email protected]> |
395 |
|
|
396 |
|
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
397 |
|
import. |
398 |
|
(MF_Symbolset): Removed the extra variable for numsymbols. |
399 |
|
(MF_Class.__init__): Added a comment to the exception clause. |
400 |
|
Removed the extent init, because it was not needed anymore. |
401 |
|
(MF_Layer.add_thubanclass): Added the code to set the class name to |
402 |
|
the expression value from thuban if no label is defined. |
403 |
|
Added the code to export Range expressions from thuban to the mapfile. |
404 |
|
(MF_Map.set_extent): Removed the exception and replace it by some if |
405 |
|
code. If the size of a map is not defined the size will be set to 1,1. |
406 |
|
This is necessary because if the extent is set, mapscript checks if |
407 |
|
the size is greater than zero. |
408 |
|
(MF_Web): Added the get and set function for the template. |
409 |
|
|
410 |
|
* Extensions/umn_mapserver/mf_export.py: Added the function to check |
411 |
|
if a mapobject exists and used it to set the status of the menu items. |
412 |
|
If no mapfile exists the settings could not be edditied. |
413 |
|
Define after which menuitem the exportitem will include. |
414 |
|
|
415 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the import |
416 |
|
Thuban.UI.mainwindow clause, because it is not needed. |
417 |
|
Added the command Refresh() to all "OnChangeColor()" functions, |
418 |
|
because the color preview window was not updated on a color change. |
419 |
|
Added the function to check if a mapobject exists and used it to set the |
420 |
|
status of the menu items. If no mapobject exists the settings could not |
421 |
|
be edditied. |
422 |
|
(Map_Dialog): Moved the imagetype selector from the |
423 |
|
Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog. |
424 |
|
(Web_Dialog): Removed the name label and added the template textbox. |
425 |
|
|
426 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace |
427 |
|
the exception handling on loading the layers by an if statement. It |
428 |
|
is not necessary to us the exception there. |
429 |
|
The Filepath creation now use os.path.join to build the path. |
430 |
|
|
431 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap |
432 |
|
definition from global to the setUp function. Now the testMap will |
433 |
|
initialize new on each test. |
434 |
|
|
435 |
|
* Extensions/umn_mapserver/sample/iceland.map: Include three new |
436 |
|
classes in the Line Layer, to test logical Expressions. |
437 |
|
Set the status of the class "Point9" in the Point Layer to off |
438 |
|
|
439 |
|
2004-07-13 Bernhard Herzog <[email protected]> |
440 |
|
|
441 |
|
* Thuban/UI/baserenderer.py |
442 |
|
(BaseRenderer.render_map_incrementally): Fix a logic bug in the |
443 |
|
optimization that tries not to draw layers under a raster layer. |
444 |
|
The bug was harmless. All it effectively did was to produce The a |
445 |
|
strange messages about not being able to draw Layer instances for |
446 |
|
all vector layers below a raster layer which would be invisible |
447 |
|
anyway because the raster layer currently always covers the entire |
448 |
|
window |
449 |
|
|
450 |
|
2004-07-08 Jan Sch�ngel <[email protected]> |
451 |
|
|
452 |
|
* Extensions/umn_mapserver/mapfile.py: Added code to generade and get |
453 |
|
a list of supported outputformats. This formats are not alle supported |
454 |
|
because there is no possibility to get the outputformat without the |
455 |
|
name known. Make some formal changes to the code. |
456 |
|
(MF_Map.set_name()): Fixed a bug if the name is None. |
457 |
|
|
458 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the image_type import |
459 |
|
statement, because its not needed anymore. The Outputformat is now |
460 |
|
given as string from the object. Make some formal changes to the code. |
461 |
|
|
462 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added new test for |
463 |
|
most of the new setting which were added during the last changes. |
464 |
|
Removed the MF_Size Test. |
465 |
|
|
466 |
|
* Extensions/umn_mapserver/test/test.map: Added a new class to the |
467 |
|
cultural Layer to test expressions and the the status of that layer |
468 |
|
from on to default. |
469 |
|
Changed the data path the the correct Thuban Data |
470 |
|
Added the Outputformat Object and Symbol Object |
471 |
|
|
472 |
|
2004-07-07 Jan Sch�ngel <[email protected]> |
473 |
|
|
474 |
|
* Extensions/umn_mapserver/mapfile.py: Added some new |
475 |
|
settings to edit (outputformat, label, imagetype) |
476 |
|
|
477 |
|
* Extensions/umn_mapserver/mf_handle.py: Added some setting to |
478 |
|
the Label Dialog and add the OutputDialog. |
479 |
|
Make some changes to the code order. |
480 |
|
|
481 |
|
2004-07-06 Jan Sch�ngel <[email protected]> |
482 |
|
|
483 |
|
* Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj |
484 |
|
and line Obj and add the scalebar_status_type, scalebar_style_type and |
485 |
|
scalebar_position_type. |
486 |
|
Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The |
487 |
|
are only used to create a Symbol like the circle in Thuban. |
488 |
|
Added the scalebarObject (MF_Scalebar) |
489 |
|
(MF_Class): Added set_status and get_status. |
490 |
|
(MF_Layer.add_thubanclass): Added code to set the class status |
491 |
|
(MF_Map): Added code to handle the symbols and scalebar |
492 |
|
(MF_Label): Added the set_partials and get_partials functions |
493 |
|
|
494 |
|
* Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import |
495 |
|
from mapfile. Added a function to create a circle object like the one |
496 |
|
from thuban if no one exists. |
497 |
|
|
498 |
|
* Extensions/umn_mapserver/mf_handle.py: All colors are now set when |
499 |
|
press ok in the assosiated dialog and not at the end of the |
500 |
|
colordialog. |
501 |
|
Added the Dialog for the Scalebar. |
502 |
|
(Label_Dialog): Added the offset option |
503 |
|
|
504 |
|
* Extensions/umn_mapserver/mf_import.py: Added code to import the |
505 |
|
status of the Classes. |
506 |
|
Fixed a bug with the projection. Now the to_meter parameter will be |
507 |
|
added to the Projection only if it doesn't exists. |
508 |
|
|
509 |
|
2004-07-01 Jan Sch�ngel <[email protected]> |
510 |
|
|
511 |
|
Added the functionality to handle the content thuban is not |
512 |
|
able to handle directly. |
513 |
|
|
514 |
|
* Extensions/umn_mapserver/mf_handle.py: New. This module extents |
515 |
|
Thuban with the possibility to edit the mapfile content. |
516 |
|
|
517 |
|
* Extensions/umn_mapserver/mf_import.py: Added the possibility |
518 |
|
to import mapfiles without any layer selected. So it is possible |
519 |
|
to edit the other settings in a mapfile. |
520 |
|
(import_mapfile): Added code to use the editing functions. |
521 |
|
Added the possibility to import the projection to a layer if one |
522 |
|
is defined. |
523 |
|
Status settings (On,Off) will now set in thuban (visible, invisible). |
524 |
|
fixed a bug with with classnames. If no classname is set in mapfile |
525 |
|
the value in Thuban will set to the expression. |
526 |
|
|
527 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the |
528 |
|
possibility to save a new mapfile or use the old one which is |
529 |
|
imported or new created. |
530 |
|
Added code to use the editing functions. |
531 |
|
Remove some not needed import statements |
532 |
|
|
533 |
|
* Extensions/umn_mapserver/mapfile.py: Added new types which are |
534 |
|
need for the editing functions. |
535 |
|
Added needed set-functions for the editing functions. |
536 |
|
Added the possibility to export rasterimages. |
537 |
|
Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol, |
538 |
|
MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the |
539 |
|
moment. |
540 |
|
(MF_Class.set_thubanstyle): Now point layers will set to a default |
541 |
|
symbol to show a circle in mapserver and not only a 1px dot. |
542 |
|
(MF_Style.__init__): Fixed a bug with the color. Color was not set |
543 |
|
correct before. |
544 |
|
(MF_Size): Removed, because it is not needed. |
545 |
|
|
546 |
|
* Extensions/umn_mapserver/README: Added the hints to use the |
547 |
|
export and editing functions, too. |
548 |
|
|
549 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the |
550 |
|
new parameter "UNITS METERS". |
551 |
|
Change the political layer to status OFF. |
552 |
|
|
553 |
|
* Extensions/umn_mapserver/sample/README: Added some |
554 |
|
more details to setup the sample in the MapServer. |
555 |
|
|
556 |
|
2004-06-26 Bernhard Reiter <[email protected]> |
557 |
|
|
558 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
559 |
|
Removed class VFile and used standard StringIO instead. |
560 |
|
|
561 |
|
2004-06-23 Jan Sch�ngel <[email protected]> |
562 |
|
|
563 |
|
Add the export function to the umn_mapserver extension. |
564 |
|
|
565 |
|
* Extension/umn_mapserver/mf_export.py: New. This module extents |
566 |
|
Thuban with the possibility to export the Thuban content. |
567 |
|
|
568 |
|
* Extensions/umn_mapserver/mapfile.py: Expand the classes to use |
569 |
|
with the export module. Especially added the possibility to |
570 |
|
add thuban objects directly to the map objects. |
571 |
|
|
572 |
|
* Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR, |
573 |
|
because of the hint from Bernhard Herzog. |
574 |
|
Corrected the handling of absolute pathnames. |
575 |
|
Changed the Text of the Menu-Item, now the beginning is upper case. |
576 |
|
|
577 |
|
* Extensions/umn_mapserver/README: Added the --with-tiff statement. |
578 |
|
|
579 |
|
2004-06-16 Jan Sch�ngel <[email protected]> |
580 |
|
|
581 |
|
Add a sample and make some changes. |
582 |
|
|
583 |
|
* Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx |
584 |
|
import from * to explicit used statements. Changed the |
585 |
|
Thuban.UI.mainwindow import phrase, too. |
586 |
|
(import_mapfile):Corrected a clerical mistake. |
587 |
|
Added wxCHANGE_DIR in OpenFile Dialog. |
588 |
|
Added a MultipleChoiceDialog, to select the layers to load from |
589 |
|
mapfile into thuban. Thereby the projection is only set if one layer |
590 |
|
is selected. |
591 |
|
Added the possibility to handle relative pathnames which uses |
592 |
|
up-level references. |
593 |
|
Removed some doubled code. |
594 |
|
Corrected an error with integer values used as label in thuban |
595 |
|
ClassGroup. |
596 |
|
|
597 |
|
* Extensions/umn_mapserver/sample: New. |
598 |
|
|
599 |
|
* Extensions/umn_mapserver/sample/README: New. Describes the |
600 |
|
usage of the sample files. |
601 |
|
|
602 |
|
* Extensions/umn_mapserver/sample/iceland.map: New. This is |
603 |
|
a suitable .map-file for the iceland data. |
604 |
|
|
605 |
|
* Extensions/umn_mapserver/sample/index.html: New. The template |
606 |
|
for the mapfile. |
607 |
|
|
608 |
|
* Extensions/umn_mapserver/sample/iceland.html: New. Initialisation |
609 |
|
file for the Iceland Application on web. |
610 |
|
|
611 |
|
* Extensions/umn_mapserver/README: Corrected a inaccuracy and added |
612 |
|
some details. |
613 |
|
|
614 |
|
* Extensions/umn_mapserver/test/test_mapserver |
615 |
|
(mapserver_import_Test_generalClasses.test_MF_Color): |
616 |
|
Corrected the thubancolor test. |
617 |
|
|
618 |
|
2004-06-15 Jan Sch�ngel <[email protected]> |
619 |
|
|
620 |
|
* Extensions/umn_mapserver/README: New. Install instruction. |
621 |
|
|
622 |
|
2004-06-14 Bernhard Reiter <[email protected]> |
623 |
|
|
624 |
|
* libraries/thuban/cpl_mfile.h: Added copyright header. |
625 |
|
|
626 |
|
* libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting |
627 |
|
Free Software License so that it is most useful with gdalwarp |
628 |
|
and bmpdataset. |
629 |
|
|
630 |
|
2004-06-14 Bernhard Herzog <[email protected]> |
631 |
|
|
632 |
|
* Thuban/UI/multiplechoicedialog.py (__version__): Add missing |
633 |
|
import of wxPython.wx itself (as opposed to the contents of |
634 |
|
wxPython.wx). For some reason wxPython.wx is available as |
635 |
|
wxPython.wx.wx in at least some 2.4 releases. Fixes RT#2482 |
636 |
|
wrt. wxPython 2.4. |
637 |
|
|
638 |
|
2004-06-10 Jan Sch�ngel <[email protected]> |
639 |
|
|
640 |
|
Initial version of new extension "umn_mapserver". This extension aims |
641 |
|
to manage configuration for the UMN MapServer application. This |
642 |
|
inital version just imports the .map-files and displays all, Thuban is |
643 |
|
capable of. |
644 |
|
|
645 |
|
* Extensions/umn_mapserver, Extensions/umn_mapserver/test: New. |
646 |
|
|
647 |
|
* Extensions/umn_mapserver/test/README: New. Describes how to run the |
648 |
|
tests. |
649 |
|
|
650 |
|
* Extensions/umn_mapserver/test/test.map: New. This is a test |
651 |
|
.map-file for automated tests of the umn_mapserver extension of |
652 |
|
Thuban. |
653 |
|
|
654 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for |
655 |
|
UMN Mapserver classes. |
656 |
|
|
657 |
|
* Extensions/umn_mapserver/__init__.py: New. Init to make this |
658 |
|
directory a package. |
659 |
|
|
660 |
|
* Extensions/umn_mapserver/mapfile.py: New. Classes to represent |
661 |
|
'.map'-file objects. |
662 |
|
|
663 |
|
* Extensions/umn_mapserver/mf_import.py: New. This module extends |
664 |
|
Thuban with the possibility to handle UMN MapServer mapfiles. |
665 |
|
|
666 |
|
2004-06-03 Bernhard Herzog <[email protected]> |
667 |
|
|
668 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box |
669 |
|
to a tuple before using it as arguments to the % operator. This |
670 |
|
fixes the formatting issue filed in RT#2239 on 2004-01-13 and |
671 |
|
reported today on thuban-list by Jan Sch�ngel |
672 |
|
|
673 |
|
* test/test_layer.py (TestLayerModification.setUp): Save the |
674 |
|
filename as an instance variable so we can refer to it in tests |
675 |
|
(TestLayerModification.test_tree_info): Uncomment this method |
676 |
|
again and make it work. This tests for the formatting issue |
677 |
|
filed in RT#2239 on 2004-01-13 |
678 |
|
|
679 |
|
2004-05-28 Bernhard Herzog <[email protected]> |
680 |
|
|
681 |
|
* Thuban/UI/baserenderer.py: Fix some typos. |
682 |
|
|
683 |
|
2004-05-18 Jan-Oliver Wagner <[email protected]> |
684 |
|
|
685 |
|
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug |
686 |
|
by increasing a field size. |
687 |
|
|
688 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
689 |
|
|
690 |
|
Update to newest shapelib and get rid of Thuban specific |
691 |
|
extensions, i.e. use the new DBFUpdateHeader instead of our |
692 |
|
DBFCommit kludge |
693 |
|
|
694 |
|
* libraries/shapelib/shpopen.c: Update to version from current |
695 |
|
shapelib CVS. |
696 |
|
|
697 |
|
* libraries/shapelib/shapefil.h: Update to version from current |
698 |
|
shapelib CVS. |
699 |
|
|
700 |
|
* libraries/shapelib/dbfopen.c: Update to version from current |
701 |
|
shapelib CVS. |
702 |
|
(DBFCommit): Effectively removed since shapelib itself has |
703 |
|
DBFUpdateHeader now which is better for what DBFCommit wanted to |
704 |
|
achieve. |
705 |
|
We're now using an unmodified version of dbfopen. |
706 |
|
|
707 |
|
* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with |
708 |
|
value '1' to the Lib.dbflibc extension. This simply reflects the |
709 |
|
shapelib and pyshapelib updates |
710 |
|
|
711 |
|
2004-05-16 Jan-Oliver Wagner <[email protected]> |
712 |
|
|
713 |
|
Finished introduction of Menu.FindOrInsertMenu. |
714 |
|
|
715 |
|
* Extensions/drawshape/drawshape.py: Add the command |
716 |
|
to the experimental menu additionally to the toolbar. |
717 |
|
|
718 |
|
* Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of |
719 |
|
finding menu on its own. |
720 |
|
|
721 |
|
* Doc/manual/thuban-manual.xml: updated sample file |
722 |
|
to use FindOrInsertMenu(). |
723 |
|
|
724 |
|
* Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu() |
725 |
|
instead of finding menu on its own. |
726 |
|
|
727 |
|
2004-05-11 Jan-Oliver Wagner <[email protected]> |
728 |
|
|
729 |
|
* test/test_menu.py (MenuTest.test): Added testing |
730 |
|
of method Menu.FindOrInsertMenu. |
731 |
|
|
732 |
|
2004-05-10 Jan-Oliver Wagner <[email protected]> |
733 |
|
|
734 |
|
Introduce and use Menu.FindOrInsertMenu. |
735 |
|
|
736 |
|
* Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a |
737 |
|
given menu or, if not found, insert it. |
738 |
|
|
739 |
|
* Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py, |
740 |
|
/Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py, |
741 |
|
/Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding |
742 |
|
menu on its own. |
743 |
|
|
744 |
|
2004-05-06 Jan-Oliver Wagner <[email protected]> |
745 |
|
|
746 |
|
Introduce a abstract ColorDialog class and remove |
747 |
|
and outdated file. |
748 |
|
|
749 |
|
* Thuban/UI/proj4dialog.py: Removed. It is has been |
750 |
|
replaced by projdialog for quite a while and is not used |
751 |
|
anymore. |
752 |
|
|
753 |
|
* Thuban/UI/colordialog.py: New. Abstraction for color selection |
754 |
|
dialog(s). |
755 |
|
|
756 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor): |
757 |
|
Now calls the abstract ColorDialog instead of wxColourDialog. |
758 |
|
This also removed the dependency to Color class conversion |
759 |
|
from this function. |
760 |
|
|
761 |
|
2004-05-04 Frank Koormann <[email protected]> |
762 |
|
|
763 |
|
* Extensions/bboxdump/__init__.py: Fixed string left over from |
764 |
|
copying. |
765 |
|
|
766 |
|
* Extensions/bboxdump/bboxdump.py (bboxdump): |
767 |
|
Use layer.ShapeStore().AllShapes() to loop over shapes instead of |
768 |
|
xrange(layer.NumShapes()). Compile the bboxmessage from a list |
769 |
|
of formatted outputs (string.join) instead of appending to the |
770 |
|
message. Two progress bar dialogs to report progress on the sometimes |
771 |
|
lenghty processing. |
772 |
|
|
773 |
|
2004-04-22 Frank Koormann <[email protected]> |
774 |
|
|
775 |
|
New Extension to dump bounding boxes of all shapes of the selected |
776 |
|
layer. An optional column can be specified to group the objects, |
777 |
|
in this case the bounding box is a union of the separate boxes. |
778 |
|
Dump can be displayed in a ScrolledMessageDialog or written to file. |
779 |
|
The Extension is simply a combination of available and well tested |
780 |
|
Thuban functionality. |
781 |
|
|
782 |
|
* Extensions/bboxdump/__init__.py: New: Init to make this |
783 |
|
directory a package. |
784 |
|
|
785 |
|
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of |
786 |
|
all shapes of the selected layer. |
787 |
|
|
788 |
|
2004-04-22 Jan-Oliver Wagner <[email protected]> |
789 |
|
|
790 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two |
791 |
|
strings to be i18n now. |
792 |
|
|
793 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
794 |
|
|
795 |
|
Changing popup menu of legend from direct building |
796 |
|
to using the Menu construction as used for the mainwindow. |
797 |
|
|
798 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
799 |
|
layer_to_bottom, layer_visibility |
800 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
801 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
802 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
803 |
|
Replace 1,0 by True, False. |
804 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
805 |
|
current layer. |
806 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
807 |
|
(_has_selected_layer_visible): New. Support function. |
808 |
|
|
809 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
810 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
811 |
|
(LegendTree._OnRightClick): Replace direct creation of |
812 |
|
menu via wx Classes by applying the menu definition |
813 |
|
as of Menu class of menu.py. |
814 |
|
|
815 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
816 |
|
|
817 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
818 |
|
button string to stronger clearify that Thuban will be closed when hitting |
819 |
|
the button. |
820 |
|
|
821 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
822 |
|
Now for layers without a ShapeStore a corresponding message is given |
823 |
|
to the user, that this layer has no table to show. |
824 |
|
|
825 |
|
2004-04-15 Martin Schulze <[email protected]> |
826 |
|
|
827 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
828 |
|
recalculate the format for the internal render engine as well. |
829 |
|
|
830 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
831 |
|
properties dialog. It's functional for a first selection of |
832 |
|
layers, but still has some weired wxWidgets/GTK problems but |
833 |
|
beautification can be done later. |
834 |
|
|
835 |
|
* Extensions/wms/layer.py: Added more documentation |
836 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
837 |
|
by the WMS server |
838 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
839 |
|
supported by the WMS server |
840 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
841 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
842 |
|
for WMS GetMap requests |
843 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
844 |
|
for WMS GetMap requests |
845 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
846 |
|
a list of layers (unsorted at the moment, though). |
847 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
848 |
|
visible layers |
849 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
850 |
|
visible layers |
851 |
|
|
852 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
853 |
|
order to establish a clean structure. |
854 |
|
|
855 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
856 |
|
own in order to establish a clean structure. |
857 |
|
|
858 |
|
2004-04-13 Martin Schulze <[email protected]> |
859 |
|
|
860 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
861 |
|
support for oldstyle (WMS 1.0 apparently) image format |
862 |
|
specification. |
863 |
|
|
864 |
|
* Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of |
865 |
|
supported graphic formats back to JPEG and BMP, PNG and others are |
866 |
|
too *cough* experimental... Sorry, I meant to filter this out |
867 |
|
before I committed this part. This should make the WMS extension |
868 |
|
run from CVS again. |
869 |
|
(wms_dialog): Reset an empty URL to None so that the subsequent |
870 |
|
program can depend on this, since the dialog will indeed return an |
871 |
|
empty URL, causing another declaration of love by Python. |
872 |
|
|
873 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox): |
874 |
|
Whenever a native BoundingBox request cannot be fulfilled, check |
875 |
|
whether the requested SRS is EPSG:3426, in which case return the |
876 |
|
LatLonBoundingBox values. |
877 |
|
|
878 |
|
* Extensions/wms/test/test_parser.py |
879 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Added a test for |
880 |
|
ignoring AUTO:* SRS. |
881 |
|
(TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes): |
882 |
|
Added another test method to test whether the LatLonBoundingBox |
883 |
|
values will be returned if BoundingBox values are requested with |
884 |
|
SRS set to EPSG:3426. |
885 |
|
|
886 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers): |
887 |
|
Added rudimentary support for non-EPSG SRS, i.e. ignore them for |
888 |
|
the moment by placing them into a variable which is currently |
889 |
|
unused. Also test whether the EPSG SRS is numerical as it should |
890 |
|
be and add an error message if it is not. |
891 |
|
|
892 |
|
* Extensions/wms/test/sample.xml: Added AUTO:* SRS since they |
893 |
|
appear in the real world as well. Since we cannot handle them yet |
894 |
|
(OGCLib can't either), we will ignore them for the moment. |
895 |
|
|
896 |
|
* Extensions/wms/parser.py: Use a variable for denoting the sample |
897 |
|
filename |
898 |
|
(WMSCapabilitiesParser.peekLayers): Added support for error |
899 |
|
messages during grok(). They will be aggregated in an array and |
900 |
|
may be displayed later. We may have to add a classification |
901 |
|
"Warning" and "Error" to this. That requires more experience, |
902 |
|
though, since not every error may be lethal. |
903 |
|
|
904 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the |
905 |
|
ShowTable() dialog/frame when the user attempts to display it |
906 |
|
while it has been opened before already and not closed again. |
907 |
|
|
908 |
|
2004-04-11 Martin Schulze <[email protected]> |
909 |
|
|
910 |
|
* Extensions/wms/infodialog.py: Adjusted the class documentation |
911 |
|
|
912 |
|
* Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg): |
913 |
|
Switch to using Thuban{Begin,End}BusyCursor instead of the pure |
914 |
|
wxWidgets variants. |
915 |
|
(WMSLayer.__init__): The epsg_id variable is named top_srs now. |
916 |
|
|
917 |
|
* Extensions/wms/infodialog.py: Added an information dialog that |
918 |
|
will display various information about the WMS current resource, |
919 |
|
so that additional information such as the title, the abstract, |
920 |
|
fees and access constraints can be displayed for the user if they |
921 |
|
are documented in the WMS XML. |
922 |
|
|
923 |
2004-04-10 Martin Schulze <[email protected]> |
2004-04-10 Martin Schulze <[email protected]> |
924 |
|
|
925 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
938 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
939 |
the DOM object. |
the DOM object. |
940 |
|
|
|
|
|
941 |
2004-04-01 Martin Schulze <[email protected]> |
2004-04-01 Martin Schulze <[email protected]> |
942 |
|
|
943 |
* Extensions/wms/capabilities.py: Adjusted documentation |
* Extensions/wms/capabilities.py: Adjusted documentation |
5470 |
Fix problem of hidden properties dialog under windows after double |
Fix problem of hidden properties dialog under windows after double |
5471 |
click on layer tree: |
click on layer tree: |
5472 |
The tree control always gets an Expanded / Collapsed event after |
The tree control always gets an Expanded / Collapsed event after |
5473 |
the ItemActivated on double click, which raises the main window again. We add a second ItemActivated event to the queue, which simply |
the ItemActivated on double click, which raises the main window again. |
5474 |
|
We add a second ItemActivated event to the queue, which simply |
5475 |
raises the already displayed window. |
raises the already displayed window. |
5476 |
|
|
5477 |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |