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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26