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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26