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

Legend:
Removed from v.2238  
changed lines
  Added in v.2434

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26