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

Legend:
Removed from v.2250  
changed lines
  Added in v.2429

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26