/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2277 by jschuengel, Thu Jul 8 14:30:53 2004 UTC revision 2430 by joey, Tue Nov 30 16:59:01 2004 UTC
# Line 1  Line 1 
1    2004-11-30  Martin Schulze  <[email protected]>
2    
3            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
4            Improved the test for the internal compare method
5    
6    2004-11-27  Jan-Oliver Wagner <[email protected]>
7    
8            * Thuban/UI/about.py (About.__init__): Added
9            Norbert Solymosi for hungarian translation and Ole Rahn
10            as contrbutor. Moved Bernhard Reiter from Contributor
11            to Developer.
12    
13    2004-11-27  Bernhard Reiter <[email protected]>
14    
15            * Extensions/svgexport/test/test_svgmapwriter.py:
16            Removed Jan from author list as he did not change enough significant
17            lines yet.
18    
19            * Extensions/svgexport/__init__.py: Added Bernhard as author
20            of the Extension.
21    
22    2004-11-27  Jan-Oliver Wagner <[email protected]>
23    
24            * po/hu.po: New. Hungarian translation. Contributed
25            by Norbert Solymosi.
26    
27    2004-11-26  Bernhard Herzog  <[email protected]>
28    
29            * Extensions/svgexport/test/test_svgmapwriter.py
30            (Testobjectexport.test_transparent_polygon): Commented out some
31            debug prints
32    
33    2004-11-24  Jan-Oliver Wagner <[email protected]>
34    
35            Fix broken tests for svg extension and added svg legend
36            to Experimental menu.
37    
38            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
39            the test run correctly even if the extension is a package.
40            Also removed the "import Thuban" which makes no sense.
41    
42            * Extensions/svgexport/__init__.py: Fix to have the extensions'
43            test module also be executed from the global test routine.
44            This is done by looking for the absense of the DISPLAY variable.
45    
46            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
47            to Experimental menu since this module has yet not reached a stable
48            status (ie. 1.0).
49    
50    2004-11-22  Bernhard Reiter <[email protected]>
51    
52            * Extensions/svgexport/svgmapwriter.py:
53            Added verbose variable and some logging depending on it.
54            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
55            because counting i is not necessary.
56            (class Pen, class Brush): Added simple __str__ methods.
57            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
58            not exported to svg file) Note: holes still unhandled.
59    
60            * Extensions/svgexport/test/test_svgmapwriter.py:
61                    Made a baseclass TestWithDC for test needed a DC.
62                    Added tests for bug #2698 (transparent polygons are not
63                    exported to svg file):
64                    Testobjectexport.test_transparent_polygon()
65    
66            * Thuban/Model/base.py (UnsetModified):
67            Fixed some typos in docstring.
68    
69            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
70            Added hints on the used algorithm for handling holes.
71    
72    2004-11-20  Jan-Oliver Wagner <[email protected]>
73    
74            Some face lifting for the examples.
75    
76            * Examples/__init__.py: Make this directory a package.
77    
78            * Examples/simple_extensions/__init__.py: Make this directory a package.
79    
80            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
81            menu to Examples menu.
82    
83            * Examples/simple_extensions/simple_command.py: Some more comments,
84            minor changes.
85    
86            * Examples/simple_extensions/simple_tool.py: Minor changes.
87    
88    2004-11-20  Jan-Oliver Wagner <[email protected]>
89    
90            Changed way of extension registry for wms and added extension
91            registry for umn_mapserver extension.
92    
93            * Extensions/wms/__init__.py: Added registry entry and the importing
94            of the actual wms module. Included a test for the required PyOGCLib.
95    
96            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
97    
98            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
99            importing of the actual umn mapserver management modules.
100            Included a test for the required Python MapScript.
101    
102    2004-11-20  Jan-Oliver Wagner <[email protected]>
103    
104            Changed way of extension registry for importAPR, bboxdump
105            and added extension registry for svgexport.extension registry for
106            svgexport.
107    
108            * Extensions/importAPR/__init__.py: Added registry entry and the importing
109            of the actual importAPR module.
110    
111            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
112            __init__.py).
113    
114            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
115            ����of the actual bboxdump module.
116    
117            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
118            ����__init__.py).
119    
120            * Extensions/svgexport/__init__.py: Added registry entry and the importing
121            of the svgsaver module.
122    
123            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
124            to Experimental menu since this module has yet not reached a stable
125            status (ie. 1.0).
126    
127    2004-11-18  Jan-Oliver Wagner <[email protected]>
128    
129            Now the hit test considers the size of point symbols.
130    
131            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
132            'size' defaulting to the previously fixed value 5.
133            Extended doc-string.
134            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
135            for symbols.
136            Now the size of the largest point symbol is determined to find out
137            about whether the point has been hit.
138            This fixes the problem that only clicks inside a fixed distance of
139            5 where found.
140    
141    2004-11-17  Jan-Oliver Wagner <[email protected]>
142    
143            Another open issue fixed regarding sizeable symbols: correct rendering of
144            selected symbols.
145    
146            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
147            Added consideration of the specific size of point symbols.
148            The property for each point symbol is retrieved and the size applied
149            for the rendering method.
150            Added doc-string.
151    
152    2004-11-16  Jan-Oliver Wagner <[email protected]>
153    
154            Changed way of Extension Registry for gns2shp and profiling.
155    
156            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
157            __init__.py).
158    
159            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
160            of the actual gns2shp module.
161    
162            * Extensions/profiling/profiling.py: Removed registry entry (moved to
163            __init__.py).
164    
165            * Extensions/profiling/__init__.py: Added registry entry and the importing
166            of the actual profiling module.
167    
168    2004-10-28  Bernhard Reiter <[email protected]>
169    
170            * Extensions/svgexport/: Minor improvements to doc strings.
171    
172    2004-10-07  Jan-Oliver Wagner <[email protected]>
173    
174            Further elements for sizable point objects now
175            making this feature usable though not yet complete.
176    
177            * Thuban/Model/save.py (SessionSaver.write_classification): Write
178            attribute 'size' for cldata when the shape layer is of point type.
179            This also now make the test_load.py tests happy.
180    
181            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
182            gradient.
183    
184            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
185            ID_SELPROP_SPINCTRL_LINEWIDTH.
186            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
187            (ID_SELPROP_SPINCTRL_SIZE): New Id.
188            (SelectPropertiesDialog.__init__): Added a second spin control
189            for the size in case the corresponding layer is of point type.
190            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
191            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
192            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
193            and refresh preview.
194    
195    
196    
197    2004-10-04  Martin Schulze  <[email protected]>
198    
199            * Extensions/wms/test/test_parser.py
200            (TestWMSCapabilitiesParser.test_compareLists): Added missing
201            self-test for compareLists()
202            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
203            self-test for compareDicts()
204            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
205            to verify the test routine fails with non-equal arguments
206            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
207            to verify the test routine fails with non-equal arguments
208    
209    2004-10-03  Jan-Oliver Wagner <[email protected]>
210    
211            First elements for sizeable point objects.
212    
213            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
214    
215            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
216    
217            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
218            of a corresponding argument is given.
219            (TestSymbolSize): New. Test the size attribute of cldata.
220    
221            * Thuban/Model/classification.py: Removed some trailing whitespaces.
222            (ClassGroupProperties.__init__): Set default size.
223            (ClassGroupProperties.SetProperties): Set the size.
224            (ClassGroupProperties.GetSize): New. Return the size.
225            (ClassGroupProperties.SetSize): New. Set the size.
226            (ClassGroupProperties__eq__): Compare also size.
227            (ClassGroupProperties__repr__): Print also size.
228    
229            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
230            the size attribute.
231    
232            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
233            Also, now there is a return value that indicates whether the drawing
234            size exceeded the given rect extent and if so the new extent.
235            Finally, point objects are drawn depending on the size. If either
236            the width or height is exceeded, the new extent is returned.
237            (ClassRenderer.Draw): Now when calling the previewer drawing function,
238            evaluate the return value and, if not None, adapt the grid widget size
239            accordingly and redraw again.
240    
241            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
242            If the draw function is for points, call it with the size as additional
243            parameter.
244            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
245            the size. Compute the radius using the size.
246    
247            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
248            that Thuban supports size, apply this correctly.
249    
250            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
251    
252    2004-10-03  Jan-Oliver Wagner <[email protected]>
253    
254            * Doc/manual/thuban-manual-de.xml: Started translation of
255            Map chapter.
256    
257    2004-10-01  Martin Schulze  <[email protected]>
258    
259            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
260            argument for general use through properties-dialog selector
261            
262            * Thuban/UI/classifier.py: Register properties dialog classes for
263            both provided layer classes/types.
264    
265            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
266            map can be retrieved through the parent which is passed to the
267            constructor anyway and doesn't require an argument of its own,
268            required for the unification of arguments for general use through
269            properties-dialog selector.
270            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
271            whether a dialog is already opened (and raising it to the users
272            attention) and creating a new dialog into a function of its own
273            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
274            method
275            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
276            global registration of properties dialog classes (which are indeed
277            layer-specific).
278    
279            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
280            for general use through properties-dialog selector, the map can be
281            retrieved through the parent and doesn't require an argument of
282            its own.
283    
284            * Extensions/wms/wms.py: Register the properties dialog class for
285            the provided WMS layer
286    
287    2004-09-28  Jan-Oliver Wagner <[email protected]>
288    
289            New feature: Registry for Extensions.
290    
291            * Thuban/UI/extensionregistry.py: This module defines a registry for
292            Extensions.
293    
294            * Thuban/UI/about.py (About.__init__): Added description
295            of the registered extensions with all of the information.
296    
297            * Thuban/Model/extension.py (Extension): Improved doc-string.
298    
299            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
300            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
301            Extensions/wms/wms.py: Added registration of the extension.
302    
303    2004-09-27  Bernhard Reiter <[email protected]>
304    
305            More fixes to svgexport to make used ids unique and
306            conforming to XML's Name production.
307    
308            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
309            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
310            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
311            Added Bernhard R. as author.
312            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
313            concatenation char now (makes test_make_ide_nosetbaseid() valid).
314            Also transform second id part with "%d" and catch the TypeError
315            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
316            Corrected typo inBernhard's author line.
317            (SetBaseID): Return the transformed base id. Transform characters
318            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
319            import binascii. If to be set string starts with "xml" or so, add "t".
320            (draw_shape_layer_incrementally): use the returned value of SetBaseID
321            for used_baseids checks.
322    
323    2004-09-25  Bernhard Herzog  <[email protected]>
324    
325            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
326            Remove a debug print and some tab characters.
327    
328    2004-09-25  Bernhard Reiter <[email protected]>
329    
330            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
331            (SetBaseID, SetID, make_id): Improved docstring comments to explain
332            the interaction of the three functions and the XML id contrains.
333    
334    
335    2004-09-23  Jan-Oliver Wagner <[email protected]>
336    
337            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
338            Module.
339    
340            * Doc/README: Added info on ThubanModel.xmi.
341    
342    2004-09-23  Jan-Oliver Wagner <[email protected]>
343    
344            * Doc/README: New. Some info about how to generate technical
345            documentation from the source code.
346            This text was send to the Thuban developer mailing list on
347            September 21st 2004 by Bernhard Reiter.
348    
349    2004-09-21  Bernhard Reiter <[email protected]>
350    
351            Improved the svgexport to only use unique ids. Will issues
352            an error message dialoge when two layer names are the same.
353            ShapeIDs are now added with a dash within the svg ids.
354    
355            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
356            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
357            (TestSVGRenderer): New test class with test_make_in() and
358            test_check_for_layer_name_clash()
359            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
360            and draw_shape_layer_incrementally() to not use a baseid twice,
361            satisfying test_check_for_layer_name_clash()
362            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
363            test_make_in().
364            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
365            and wxICON_HAND.
366            (write_to_svg): Put dc and rendering in a try statement and on
367            catching SVGmapWriterError notify the user and delete the target file.
368    
369    2004-09-20  Bernhard Reiter <[email protected]>
370    
371            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
372    
373    2004-09-03  Jan Sch�ngel  <[email protected]>
374    
375            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
376            small bug with the line color. Now the line color will now only set
377            if it is set in Thuban an not Transparent.
378            
379            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
380            deleting the layers from mapfile. Now all layers will delete backwards
381            from the last.
382    
383    2004-08-20  Silke Reimer <[email protected]>
384    
385            * Thuban/Model/layer.py:
386            Fixes bug in projection handling: Otherwise very large region might not
387            have valid values in the layer's projection.
388    
389    2004-08-20  Silke Reimer <[email protected]>
390    
391            * Thuban/UI/about.py:
392            small changes to be consistent with coding style.
393              
394    2004-08-13  Martin Schulze  <[email protected]>
395    
396            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
397            Adjusted a comment
398    
399    2004-08-11  Silke Reimer <[email protected]>
400    
401            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
402                    too many and too enhanced imports of locale
403    
404    2004-08-10  Silke Reimer <[email protected]>
405    
406            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
407                    function unicodeToLocale() to convert special characters to users
408                    locale encoding
409    
410    2004-08-10  Jan-Oliver Wagner <[email protected]>
411    
412            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
413            lower case letter'
414    
415    2004-08-09  Jan Sch�ngel  <[email protected]>
416    
417            * ChangeLog: Rewrite the last ChangeLog entry to follow
418            the standard way.
419    
420            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
421            the function where it is needed, because it don't works if it stands
422            at the beginning.
423            (MF_Layer.__init__): Removed the extra numclassed variable. Now
424            numclasses from the mapscript will be used.
425            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
426            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
427            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
428            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
429            (MF_Map.create_new_layer): New. A new Layer is created and associated
430            with the mapscript object.
431            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
432            the mapscript.
433            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
434            linked to the layer in thuban, else the layerobject linked to the
435            thubanlayer will be used.
436            AnnotationLayer will now store the filename of the shapefile.
437            (MF_Map.remove_layer): If a layer is removed the associated object
438            must be set new.
439            
440            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
441            layers which are exists in thuban to the mapobj. All removed Layers
442            will be removed from the mapobj.
443            Added comments to all functions.
444            (thuban_to_map): No layer will be removed here.
445            
446            * Extensions/umn_mapserver/mf_handle.py
447            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
448            Layersettings for the mapserver kann be edited.
449    
450            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
451            imported, will be linked with the associated MF_Layer.
452            (import_mapfile): All layers, which are not selected, will be removed.
453            Disable the "import layer from mapfile" menu option.
454    
455            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
456            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
457            layer on permanently.
458    
459    2004-08-03  Jan Sch�ngel  <[email protected]>
460    
461            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
462            New. This function removes all metadata
463            (MF_Layer.set_group): New. Set the group setting.
464            (MF_Layer.get_group): New. Get the group setting.
465            (MF_Map): Removed the extra numlayers variable, used the mapscript
466            parameter instead.
467            (MF_Map.get_numlayers): New. This get numlayers.
468            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
469            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
470            if the object is an instance. Also added the annotation layer here to
471            export, but only the layer is created in the mapfile.
472    
473            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
474            the check if a mapobj exist, because its not needed anymore. The
475            export function is only available if a mapobj exist.
476            Use the new function to remove all layers.
477            
478            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
479            option and the metadata button. The layer dialog is temporary disabled.
480            (Metadata_CustomDataTable): Added some functions to show the grid
481            correct.
482    
483            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
484            the number of layer from import_mapfile to this function.
485            (AnnotationLayer): New. This Class shows the Annotation layer in
486            thuban. The layer don't do anything. It's only to show the layer
487            and to save the layer order.
488            (add_annotationlayer): New. Import an annotation layer to thuban.
489            (select_layer2import): New. Import only layers to thuban and not
490            the other settings like projection or scalebar.
491            (create_new_mapfile): Moved the _has_umn_mapobj function and the
492            create_new_mapfile functions from mf_handle.py to mf_import.py.
493            
494            * Extensions/umn_mapserver/sample/iceland.map: Added the group
495            parameter to the roads and cultural layers. Also added a new
496            Annotation Layer for the cultural points.
497    
498            * Extensions/umn_mapserver/sample/iceland.html: Added the select
499            option for the annotation layer.
500    
501            * Extensions/umn_mapserver/sample/index.html: Added the start
502            parameter for the annotation layer.
503    
504    2004-08-01  Jan-Oliver Wagner <[email protected]>
505    
506            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
507            translation completed.
508    
509            * Doc/manual/thuban-manual.xml (Chapter Session Management):
510            Fixed unprecise description for Save Session.
511    
512    2004-07-31  Jan-Oliver Wagner <[email protected]>
513    
514            Started translation of Users Manual into german.
515    
516            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
517    
518            * Doc/manual/Makefile: Added build instructions for german
519            users manual.
520    
521            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
522    
523    2004-07-28  Jan Sch�ngel  <[email protected]>
524    
525            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
526            functions. Now all metadata will handle by the function and its not
527            needed to initialize it from outside. Therefor the associated mapobj
528            will be stored in the Metadata Object. So we can use the special
529            functions from the associated mapobj to get the Metadata.
530            Therefor all initialization code for the metadata is removed from the
531            other classes.
532            (MF_Layer): Added a function to get the metadata object.
533            (MF_Map): Added a function to set the mappath, the path where
534            the mapfile ist stored.
535    
536            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
537            to set the extent in the mapfile. Now the code is set by the displayed
538            data in the Thuban-view.
539            (export_mapfile): The shapepath is now set empty, until relative
540            pathnames are supported.
541    
542            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
543            metadata. Yet only mapfile metadata are supported. Layer and class
544            supported are not implemented.
545            Added a dialog to handle layer informations. The dialog only shows the
546            selected layer at the moment.
547    
548            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
549            code for setting the extent in thuban. Now the extent is set to the
550            given extent from the mapfile.
551            Fixed a logical mistake. Now the extent is set when realy a layer is
552            loaded, and not if one is selected to load.
553    
554            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
555            move the shown map in the browser.
556    
557            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
558            line to the mapobj and added metadata to the political layer.
559    
560            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
561            for Metadata.
562    
563    2004-07-26  Martin Schulze  <[email protected]>
564    
565            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
566            ClassMapper
567    
568            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
569            case for the new ClassMapper
570    
571    
572    2004-07-22  Bernhard Herzog  <[email protected]>
573    
574            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
575            visible extent of the map in projected coordinates
576    
577            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
578            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
579            tests.
580            (SimpleViewPortTest.test_visible_extent): New. The real test for
581            VisibleExtent()
582    
583    2004-07-22  Bernhard Herzog  <[email protected]>
584    
585            * test/test_viewport.py: Use support.run_tests as the main
586            function when running asa script.
587    
588    2004-07-22  Jan Sch�ngel <[email protected]>
589    
590            * Extensions/umn_mapserver/mf_export.py: Added "import os"
591            Removed the old "import Thuban.UI.mainwindow" code.
592            (tbextent_to_map): Removed the extra function and at the code direct
593            to "thuban_to_map" function.
594            (write_creatorcomment): Added. Now a short comment is added to the
595            beginning of an generated mapfile.
596            (export_mapfile): Now the Path and filename are saved in to variables,
597            and not together in one variable. This is needed for the new
598            write_creatorcomment function.
599                    
600            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
601            import module "re". Also added Range and the ClassGroupRange import
602            from Thuban. Both are needed for the new range expression import.
603            (create_rangeexpression): Added. Creates a Range Expression in Thuban
604            style from a given mapfile expression.
605            (added_rasterlayer): Make some small code changes. The shapepath is
606            now stored in an extra variable and the clazz_name is set empty if no
607            class name set in the mapfile.
608            Changed the Error message for Range Expressions, becaus the new
609            function create a error string which will be shown in the dialog.
610    
611            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
612            range expression import.
613    
614    2004-07-21  Jan-Oliver Wagner <[email protected]>
615    
616            * Extensions/umn_mapserver/README: Added hint that
617            installation as root can be avoided. Removed all tabs.
618    
619    2004-07-16  Bernhard Herzog  <[email protected]>
620    
621            * test/test_viewport.py
622            (ViewPortTest.test_changing_map_projection): Check that changing
623            the projection of an empty map shown in a viewport doesn't lead to
624            exceptions in the viewport's handler for the
625            MAP_PROJECTION_CHANGED messages
626    
627            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
628            try to keep the same region visible when the map actually contains
629            something
630    
631    2004-07-15  Jan Sch�ngel <[email protected]>
632    
633            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
634            mappath directly from the mapobj. Is needed because of the changes
635            in mf_import.py.
636            (MF_Layer.add_thubanclass): Added a new comment.
637            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
638            mapobj is empty there is no extent get from thuban an so no one can
639            set to th mapobj.
640            
641            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
642            the discription.
643            Split the funktion in to three smaller ones. The new functions are
644            add_rasterlayer, add_polygonlayer and select_layer2import.
645            Removed the mapfilepath and filepath initialisation, because its know
646            include in the new functions.
647            Now nothing will be imported if cancel is pressed in the
648            layer choice dialog.
649    
650    2004-07-14  Jan Sch�ngel <[email protected]>
651    
652            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
653            import.
654            (MF_Symbolset): Removed the extra variable for numsymbols.
655            (MF_Class.__init__): Added a comment to the exception clause.
656            Removed the extent init, because it was not needed anymore.
657            (MF_Layer.add_thubanclass): Added the code to set the class name to
658            the expression value from thuban if no label is defined.
659            Added the code to export Range expressions from thuban to the mapfile.
660            (MF_Map.set_extent): Removed the exception and replace it by some if
661            code. If the size of a map is not defined the size will be set to 1,1.
662            This is necessary because if the extent is set, mapscript checks if
663            the size is greater than zero.
664            (MF_Web): Added the get and set function for the template.
665    
666            * Extensions/umn_mapserver/mf_export.py: Added the function to check
667            if a mapobject exists and used it to set the status of the menu items.
668            If no mapfile exists the settings could not be edditied.
669            Define after which menuitem the exportitem will include.
670            
671            * Extensions/umn_mapserver/mf_handle.py: Removed the import
672            Thuban.UI.mainwindow clause, because it is not needed.
673            Added the command Refresh() to all "OnChangeColor()" functions,
674            because the color preview window was not updated on a color change.
675            Added the function to check if a mapobject exists and used it to set the
676            status of the menu items. If no mapobject exists the settings could not
677            be edditied.
678            (Map_Dialog): Moved the imagetype selector from the
679            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
680            (Web_Dialog): Removed the name label and added the template textbox.
681    
682            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
683            the exception handling on loading the layers by an if statement. It
684            is not necessary to us the exception there.
685            The Filepath creation now use os.path.join to build the path.
686    
687            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
688            definition from global to the setUp function. Now the testMap will
689            initialize new on each test.
690    
691            * Extensions/umn_mapserver/sample/iceland.map: Include three new
692            classes in the Line Layer, to test logical Expressions.
693            Set the status of the class "Point9" in the Point Layer to off
694            
695    2004-07-13  Bernhard Herzog  <[email protected]>
696    
697            * Thuban/UI/baserenderer.py
698            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
699            optimization that tries not to draw layers under a raster layer.
700            The bug was harmless.  All it effectively did was to produce The a
701            strange messages about not being able to draw Layer instances for
702            all vector layers below a raster layer which would be invisible
703            anyway because the raster layer currently always covers the entire
704            window
705    
706  2004-07-08  Jan Sch�ngel <[email protected]>  2004-07-08  Jan Sch�ngel <[email protected]>
707    
708          * Extensions/umn_mapserver/mapfile.py: Added code to generade and get          * Extensions/umn_mapserver/mapfile.py: Added code to generade and get

Legend:
Removed from v.2277  
changed lines
  Added in v.2430

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26