/[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 2185 by jan, Fri Apr 16 08:21:47 2004 UTC revision 2450 by bh, Mon Dec 13 14:59:24 2004 UTC
# Line 1  Line 1 
1    2004-12-13  Bernhard Herzog  <[email protected]>
2    
3            * Extensions/svgexport/test/test_svgmapwriter.py
4            (TestDrawSplines.setUp): Do not use super with the unittest
5            classes because in Python 2.2 they're still old-style classes.
6    
7    2004-12-13  Frank Koormann <[email protected]>
8    
9        Alternative Path feature: When loading a (moved) session where
10            shapefiles cannot be found, ask the user. Use the specified path
11            if further shapefiles are missing. However, ask the usr for confirmation
12            in such cases.
13    
14            * test/test_load.py (TestAltPath): New, tests for alternative path feature
15            in load_session()
16            (Shapefile_CallBack): Helper, implements controllable callback.
17    
18            * Thuban/UI/application.py (ThubanApplication.OnInit):
19            Added "alt_path" to self.path
20            (ThubanApplication.OpenSession): Added shapefile_callback as second
21            callback similar to db_connection_callback.
22            (ThubanApplication.run_alt_path_dialog): New, implementaion of
23            shapefile_callback. In addition to raising the dialog the control of
24            self.path('alt_path') is implemented here.
25    
26            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
27            (SessionLoader.open_shapefile): Open shapefile, eventually with
28            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
29            formerly used in start_fileshapesource()/start_layer().
30            (SessionLoader.start_fileshapesource): Call open_shapefile().
31            (SessionLoader.start_layer): Call open_shapefile().
32            (load_session): Added shapefile_callback.
33    
34            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
35            feature (search / check).
36            
37            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
38    
39    2004-12-11  Bernhard Reiter <[email protected]>
40    
41             svgexport 0.9.2: Point size supports for maps.
42    
43            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
44            (def draw_point_shape): new parameter size defaults to 2 as before.
45            (draw_shape_layer_incrementally): Moved draw_func log line higher.
46            Added draw_func call with size when dealing with a point layer.
47    
48            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
49            
50    2004-12-11  Bernhard Reiter <[email protected]>
51    
52            Made sure that newlines are inserted in the svg path d attributes
53            to raise the chance that the line length will be below 255 characters,
54            as recommended by REC SVG 1.1 in section 8.3.1.
55    
56            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
57            Adding \n before L's and changed whitespace handling.
58    
59            * Extensions/svgexport/test/test_svgmapwriter.py:
60            Adapted tests to new whitespace handling of DrawPolygon.
61    
62    2004-12-11  Bernhard Reiter <[email protected]>
63    
64            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
65    
66            * Extensions/svgexport/test/test_svgmapwriter.py:
67            Removed test_drawbezier in favour of new test_drawspline3 and
68            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
69            All only to test DrawSpline.
70    
71            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
72            New implementation now really using the strange algorithm of
73            xfig 3.1's approximated splines and its conversion to postscript
74            with one twist: SVG can do quadratic beziers, so skipped translation
75            to cubic beziers.
76            (TestWithDC): Typo in comment fixed.
77    
78    2004-12-09  Martin Schulze  <[email protected]>
79    
80            * Thuban/Model/classgen.py: Added missing character encoding
81    
82            * Extensions/wms/properties.py (OpenWMSProperties): removed
83    
84            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
85            support for get_srs_discrepancies() since there are no
86            discrepancies anymore (was a thinko)
87    
88            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
89            format priority now that more formats are supported globally by
90            the render engine.
91    
92    2004-12-08  Silke Reimer <[email protected]>
93            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
94            because it is not available in all versions of ogr
95    
96    2004-12-08  Bernhard Reiter <[email protected]>
97            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
98            global tests until a real one is commited.
99    
100    2004-12-07 Nina H�ffmeyer <[email protected]>
101    
102            * /Extensions/ogr/: Adding a new extension to read shapefiles with
103            ogr. It is planned to add other vector formats.
104    
105            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
106    
107    2004-12-07  Jan-Oliver Wagner <[email protected]>
108    
109            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
110            part of a (non-)fix to renable that the tests are always
111            executed.
112    
113    2004-12-07  Bernhard Reiter <[email protected]>
114    
115            * Extensions/svgexport/test/test_svgmapwriter.py:
116            Added test_drawbezier() to test DrawSpline().
117    
118            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
119            Really implemented bezier drawing.
120    
121            * Extensions/svgexport/__init__.py: Bumped version of svgexport
122            to 0.9.1 because now the legend examples lines styles
123            will be drawing with beziers.
124    
125    2004-12-05  Martin Schulze  <[email protected]>
126    
127            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
128            GIF as supported bitmap image formats (helpful for the WMS extension)
129    
130    2004-11-30  Martin Schulze  <[email protected]>
131    
132            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
133            Improved the test for the internal compare method
134    
135    2004-11-27  Jan-Oliver Wagner <[email protected]>
136    
137            * Thuban/UI/about.py (About.__init__): Added
138            Norbert Solymosi for hungarian translation and Ole Rahn
139            as contrbutor. Moved Bernhard Reiter from Contributor
140            to Developer.
141    
142    2004-11-27  Bernhard Reiter <[email protected]>
143    
144            * Extensions/svgexport/test/test_svgmapwriter.py:
145            Removed Jan from author list as he did not change enough significant
146            lines yet.
147    
148            * Extensions/svgexport/__init__.py: Added Bernhard as author
149            of the Extension.
150    
151    2004-11-27  Jan-Oliver Wagner <[email protected]>
152    
153            * po/hu.po: New. Hungarian translation. Contributed
154            by Norbert Solymosi.
155    
156    2004-11-26  Bernhard Herzog  <[email protected]>
157    
158            * Extensions/svgexport/test/test_svgmapwriter.py
159            (Testobjectexport.test_transparent_polygon): Commented out some
160            debug prints
161    
162    2004-11-24  Jan-Oliver Wagner <[email protected]>
163    
164            Fix broken tests for svg extension and added svg legend
165            to Experimental menu.
166    
167            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
168            the test run correctly even if the extension is a package.
169            Also removed the "import Thuban" which makes no sense.
170    
171            * Extensions/svgexport/__init__.py: Fix to have the extensions'
172            test module also be executed from the global test routine.
173            This is done by looking for the absense of the DISPLAY variable.
174    
175            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
176            to Experimental menu since this module has yet not reached a stable
177            status (ie. 1.0).
178    
179    2004-11-22  Bernhard Reiter <[email protected]>
180    
181            * Extensions/svgexport/svgmapwriter.py:
182            Added verbose variable and some logging depending on it.
183            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
184            because counting i is not necessary.
185            (class Pen, class Brush): Added simple __str__ methods.
186            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
187            not exported to svg file) Note: holes still unhandled.
188    
189            * Extensions/svgexport/test/test_svgmapwriter.py:
190                    Made a baseclass TestWithDC for test needed a DC.
191                    Added tests for bug #2698 (transparent polygons are not
192                    exported to svg file):
193                    Testobjectexport.test_transparent_polygon()
194    
195            * Thuban/Model/base.py (UnsetModified):
196            Fixed some typos in docstring.
197    
198            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
199            Added hints on the used algorithm for handling holes.
200    
201    2004-11-20  Jan-Oliver Wagner <[email protected]>
202    
203            Some face lifting for the examples.
204    
205            * Examples/__init__.py: Make this directory a package.
206    
207            * Examples/simple_extensions/__init__.py: Make this directory a package.
208    
209            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
210            menu to Examples menu.
211    
212            * Examples/simple_extensions/simple_command.py: Some more comments,
213            minor changes.
214    
215            * Examples/simple_extensions/simple_tool.py: Minor changes.
216    
217    2004-11-20  Jan-Oliver Wagner <[email protected]>
218    
219            Changed way of extension registry for wms and added extension
220            registry for umn_mapserver extension.
221    
222            * Extensions/wms/__init__.py: Added registry entry and the importing
223            of the actual wms module. Included a test for the required PyOGCLib.
224    
225            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
226    
227            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
228            importing of the actual umn mapserver management modules.
229            Included a test for the required Python MapScript.
230    
231    2004-11-20  Jan-Oliver Wagner <[email protected]>
232    
233            Changed way of extension registry for importAPR, bboxdump
234            and added extension registry for svgexport.extension registry for
235            svgexport.
236    
237            * Extensions/importAPR/__init__.py: Added registry entry and the importing
238            of the actual importAPR module.
239    
240            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
241            __init__.py).
242    
243            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
244            ����of the actual bboxdump module.
245    
246            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
247            ����__init__.py).
248    
249            * Extensions/svgexport/__init__.py: Added registry entry and the importing
250            of the svgsaver module.
251    
252            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
253            to Experimental menu since this module has yet not reached a stable
254            status (ie. 1.0).
255    
256    2004-11-18  Jan-Oliver Wagner <[email protected]>
257    
258            Now the hit test considers the size of point symbols.
259    
260            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
261            'size' defaulting to the previously fixed value 5.
262            Extended doc-string.
263            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
264            for symbols.
265            Now the size of the largest point symbol is determined to find out
266            about whether the point has been hit.
267            This fixes the problem that only clicks inside a fixed distance of
268            5 where found.
269    
270    2004-11-17  Jan-Oliver Wagner <[email protected]>
271    
272            Another open issue fixed regarding sizeable symbols: correct rendering of
273            selected symbols.
274    
275            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
276            Added consideration of the specific size of point symbols.
277            The property for each point symbol is retrieved and the size applied
278            for the rendering method.
279            Added doc-string.
280    
281    2004-11-16  Jan-Oliver Wagner <[email protected]>
282    
283            Changed way of Extension Registry for gns2shp and profiling.
284    
285            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
286            __init__.py).
287    
288            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
289            of the actual gns2shp module.
290    
291            * Extensions/profiling/profiling.py: Removed registry entry (moved to
292            __init__.py).
293    
294            * Extensions/profiling/__init__.py: Added registry entry and the importing
295            of the actual profiling module.
296    
297    2004-10-28  Bernhard Reiter <[email protected]>
298    
299            * Extensions/svgexport/: Minor improvements to doc strings.
300    
301    2004-10-07  Jan-Oliver Wagner <[email protected]>
302    
303            Further elements for sizable point objects now
304            making this feature usable though not yet complete.
305    
306            * Thuban/Model/save.py (SessionSaver.write_classification): Write
307            attribute 'size' for cldata when the shape layer is of point type.
308            This also now make the test_load.py tests happy.
309    
310            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
311            gradient.
312    
313            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
314            ID_SELPROP_SPINCTRL_LINEWIDTH.
315            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
316            (ID_SELPROP_SPINCTRL_SIZE): New Id.
317            (SelectPropertiesDialog.__init__): Added a second spin control
318            for the size in case the corresponding layer is of point type.
319            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
320            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
321            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
322            and refresh preview.
323    
324    
325    
326    2004-10-04  Martin Schulze  <[email protected]>
327    
328            * Extensions/wms/test/test_parser.py
329            (TestWMSCapabilitiesParser.test_compareLists): Added missing
330            self-test for compareLists()
331            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
332            self-test for compareDicts()
333            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
334            to verify the test routine fails with non-equal arguments
335            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
336            to verify the test routine fails with non-equal arguments
337    
338    2004-10-03  Jan-Oliver Wagner <[email protected]>
339    
340            First elements for sizeable point objects.
341    
342            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
343    
344            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
345    
346            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
347            of a corresponding argument is given.
348            (TestSymbolSize): New. Test the size attribute of cldata.
349    
350            * Thuban/Model/classification.py: Removed some trailing whitespaces.
351            (ClassGroupProperties.__init__): Set default size.
352            (ClassGroupProperties.SetProperties): Set the size.
353            (ClassGroupProperties.GetSize): New. Return the size.
354            (ClassGroupProperties.SetSize): New. Set the size.
355            (ClassGroupProperties__eq__): Compare also size.
356            (ClassGroupProperties__repr__): Print also size.
357    
358            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
359            the size attribute.
360    
361            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
362            Also, now there is a return value that indicates whether the drawing
363            size exceeded the given rect extent and if so the new extent.
364            Finally, point objects are drawn depending on the size. If either
365            the width or height is exceeded, the new extent is returned.
366            (ClassRenderer.Draw): Now when calling the previewer drawing function,
367            evaluate the return value and, if not None, adapt the grid widget size
368            accordingly and redraw again.
369    
370            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
371            If the draw function is for points, call it with the size as additional
372            parameter.
373            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
374            the size. Compute the radius using the size.
375    
376            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
377            that Thuban supports size, apply this correctly.
378    
379            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
380    
381    2004-10-03  Jan-Oliver Wagner <[email protected]>
382    
383            * Doc/manual/thuban-manual-de.xml: Started translation of
384            Map chapter.
385    
386    2004-10-01  Martin Schulze  <[email protected]>
387    
388            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
389            argument for general use through properties-dialog selector
390            
391            * Thuban/UI/classifier.py: Register properties dialog classes for
392            both provided layer classes/types.
393    
394            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
395            map can be retrieved through the parent which is passed to the
396            constructor anyway and doesn't require an argument of its own,
397            required for the unification of arguments for general use through
398            properties-dialog selector.
399            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
400            whether a dialog is already opened (and raising it to the users
401            attention) and creating a new dialog into a function of its own
402            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
403            method
404            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
405            global registration of properties dialog classes (which are indeed
406            layer-specific).
407    
408            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
409            for general use through properties-dialog selector, the map can be
410            retrieved through the parent and doesn't require an argument of
411            its own.
412    
413            * Extensions/wms/wms.py: Register the properties dialog class for
414            the provided WMS layer
415    
416    2004-09-28  Jan-Oliver Wagner <[email protected]>
417    
418            New feature: Registry for Extensions.
419    
420            * Thuban/UI/extensionregistry.py: This module defines a registry for
421            Extensions.
422    
423            * Thuban/UI/about.py (About.__init__): Added description
424            of the registered extensions with all of the information.
425    
426            * Thuban/Model/extension.py (Extension): Improved doc-string.
427    
428            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
429            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
430            Extensions/wms/wms.py: Added registration of the extension.
431    
432    2004-09-27  Bernhard Reiter <[email protected]>
433    
434            More fixes to svgexport to make used ids unique and
435            conforming to XML's Name production.
436    
437            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
438            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
439            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
440            Added Bernhard R. as author.
441            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
442            concatenation char now (makes test_make_ide_nosetbaseid() valid).
443            Also transform second id part with "%d" and catch the TypeError
444            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
445            Corrected typo inBernhard's author line.
446            (SetBaseID): Return the transformed base id. Transform characters
447            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
448            import binascii. If to be set string starts with "xml" or so, add "t".
449            (draw_shape_layer_incrementally): use the returned value of SetBaseID
450            for used_baseids checks.
451    
452    2004-09-25  Bernhard Herzog  <[email protected]>
453    
454            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
455            Remove a debug print and some tab characters.
456    
457    2004-09-25  Bernhard Reiter <[email protected]>
458    
459            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
460            (SetBaseID, SetID, make_id): Improved docstring comments to explain
461            the interaction of the three functions and the XML id contrains.
462    
463    
464    2004-09-23  Jan-Oliver Wagner <[email protected]>
465    
466            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
467            Module.
468    
469            * Doc/README: Added info on ThubanModel.xmi.
470    
471    2004-09-23  Jan-Oliver Wagner <[email protected]>
472    
473            * Doc/README: New. Some info about how to generate technical
474            documentation from the source code.
475            This text was send to the Thuban developer mailing list on
476            September 21st 2004 by Bernhard Reiter.
477    
478    2004-09-21  Bernhard Reiter <[email protected]>
479    
480            Improved the svgexport to only use unique ids. Will issues
481            an error message dialoge when two layer names are the same.
482            ShapeIDs are now added with a dash within the svg ids.
483    
484            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
485            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
486            (TestSVGRenderer): New test class with test_make_in() and
487            test_check_for_layer_name_clash()
488            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
489            and draw_shape_layer_incrementally() to not use a baseid twice,
490            satisfying test_check_for_layer_name_clash()
491            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
492            test_make_in().
493            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
494            and wxICON_HAND.
495            (write_to_svg): Put dc and rendering in a try statement and on
496            catching SVGmapWriterError notify the user and delete the target file.
497    
498    2004-09-20  Bernhard Reiter <[email protected]>
499    
500            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
501    
502    2004-09-03  Jan Sch�ngel  <[email protected]>
503    
504            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
505            small bug with the line color. Now the line color will now only set
506            if it is set in Thuban an not Transparent.
507            
508            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
509            deleting the layers from mapfile. Now all layers will delete backwards
510            from the last.
511    
512    2004-08-20  Silke Reimer <[email protected]>
513    
514            * Thuban/Model/layer.py:
515            Fixes bug in projection handling: Otherwise very large region might not
516            have valid values in the layer's projection.
517    
518    2004-08-20  Silke Reimer <[email protected]>
519    
520            * Thuban/UI/about.py:
521            small changes to be consistent with coding style.
522              
523    2004-08-13  Martin Schulze  <[email protected]>
524    
525            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
526            Adjusted a comment
527    
528    2004-08-11  Silke Reimer <[email protected]>
529    
530            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
531                    too many and too enhanced imports of locale
532    
533    2004-08-10  Silke Reimer <[email protected]>
534    
535            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
536                    function unicodeToLocale() to convert special characters to users
537                    locale encoding
538    
539    2004-08-10  Jan-Oliver Wagner <[email protected]>
540    
541            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
542            lower case letter'
543    
544    2004-08-09  Jan Sch�ngel  <[email protected]>
545    
546            * ChangeLog: Rewrite the last ChangeLog entry to follow
547            the standard way.
548    
549            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
550            the function where it is needed, because it don't works if it stands
551            at the beginning.
552            (MF_Layer.__init__): Removed the extra numclassed variable. Now
553            numclasses from the mapscript will be used.
554            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
555            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
556            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
557            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
558            (MF_Map.create_new_layer): New. A new Layer is created and associated
559            with the mapscript object.
560            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
561            the mapscript.
562            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
563            linked to the layer in thuban, else the layerobject linked to the
564            thubanlayer will be used.
565            AnnotationLayer will now store the filename of the shapefile.
566            (MF_Map.remove_layer): If a layer is removed the associated object
567            must be set new.
568            
569            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
570            layers which are exists in thuban to the mapobj. All removed Layers
571            will be removed from the mapobj.
572            Added comments to all functions.
573            (thuban_to_map): No layer will be removed here.
574            
575            * Extensions/umn_mapserver/mf_handle.py
576            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
577            Layersettings for the mapserver kann be edited.
578    
579            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
580            imported, will be linked with the associated MF_Layer.
581            (import_mapfile): All layers, which are not selected, will be removed.
582            Disable the "import layer from mapfile" menu option.
583    
584            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
585            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
586            layer on permanently.
587    
588    2004-08-03  Jan Sch�ngel  <[email protected]>
589    
590            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
591            New. This function removes all metadata
592            (MF_Layer.set_group): New. Set the group setting.
593            (MF_Layer.get_group): New. Get the group setting.
594            (MF_Map): Removed the extra numlayers variable, used the mapscript
595            parameter instead.
596            (MF_Map.get_numlayers): New. This get numlayers.
597            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
598            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
599            if the object is an instance. Also added the annotation layer here to
600            export, but only the layer is created in the mapfile.
601    
602            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
603            the check if a mapobj exist, because its not needed anymore. The
604            export function is only available if a mapobj exist.
605            Use the new function to remove all layers.
606            
607            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
608            option and the metadata button. The layer dialog is temporary disabled.
609            (Metadata_CustomDataTable): Added some functions to show the grid
610            correct.
611    
612            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
613            the number of layer from import_mapfile to this function.
614            (AnnotationLayer): New. This Class shows the Annotation layer in
615            thuban. The layer don't do anything. It's only to show the layer
616            and to save the layer order.
617            (add_annotationlayer): New. Import an annotation layer to thuban.
618            (select_layer2import): New. Import only layers to thuban and not
619            the other settings like projection or scalebar.
620            (create_new_mapfile): Moved the _has_umn_mapobj function and the
621            create_new_mapfile functions from mf_handle.py to mf_import.py.
622            
623            * Extensions/umn_mapserver/sample/iceland.map: Added the group
624            parameter to the roads and cultural layers. Also added a new
625            Annotation Layer for the cultural points.
626    
627            * Extensions/umn_mapserver/sample/iceland.html: Added the select
628            option for the annotation layer.
629    
630            * Extensions/umn_mapserver/sample/index.html: Added the start
631            parameter for the annotation layer.
632    
633    2004-08-01  Jan-Oliver Wagner <[email protected]>
634    
635            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
636            translation completed.
637    
638            * Doc/manual/thuban-manual.xml (Chapter Session Management):
639            Fixed unprecise description for Save Session.
640    
641    2004-07-31  Jan-Oliver Wagner <[email protected]>
642    
643            Started translation of Users Manual into german.
644    
645            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
646    
647            * Doc/manual/Makefile: Added build instructions for german
648            users manual.
649    
650            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
651    
652    2004-07-28  Jan Sch�ngel  <[email protected]>
653    
654            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
655            functions. Now all metadata will handle by the function and its not
656            needed to initialize it from outside. Therefor the associated mapobj
657            will be stored in the Metadata Object. So we can use the special
658            functions from the associated mapobj to get the Metadata.
659            Therefor all initialization code for the metadata is removed from the
660            other classes.
661            (MF_Layer): Added a function to get the metadata object.
662            (MF_Map): Added a function to set the mappath, the path where
663            the mapfile ist stored.
664    
665            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
666            to set the extent in the mapfile. Now the code is set by the displayed
667            data in the Thuban-view.
668            (export_mapfile): The shapepath is now set empty, until relative
669            pathnames are supported.
670    
671            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
672            metadata. Yet only mapfile metadata are supported. Layer and class
673            supported are not implemented.
674            Added a dialog to handle layer informations. The dialog only shows the
675            selected layer at the moment.
676    
677            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
678            code for setting the extent in thuban. Now the extent is set to the
679            given extent from the mapfile.
680            Fixed a logical mistake. Now the extent is set when realy a layer is
681            loaded, and not if one is selected to load.
682    
683            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
684            move the shown map in the browser.
685    
686            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
687            line to the mapobj and added metadata to the political layer.
688    
689            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
690            for Metadata.
691    
692    2004-07-26  Martin Schulze  <[email protected]>
693    
694            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
695            ClassMapper
696    
697            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
698            case for the new ClassMapper
699    
700    
701    2004-07-22  Bernhard Herzog  <[email protected]>
702    
703            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
704            visible extent of the map in projected coordinates
705    
706            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
707            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
708            tests.
709            (SimpleViewPortTest.test_visible_extent): New. The real test for
710            VisibleExtent()
711    
712    2004-07-22  Bernhard Herzog  <[email protected]>
713    
714            * test/test_viewport.py: Use support.run_tests as the main
715            function when running asa script.
716    
717    2004-07-22  Jan Sch�ngel <[email protected]>
718    
719            * Extensions/umn_mapserver/mf_export.py: Added "import os"
720            Removed the old "import Thuban.UI.mainwindow" code.
721            (tbextent_to_map): Removed the extra function and at the code direct
722            to "thuban_to_map" function.
723            (write_creatorcomment): Added. Now a short comment is added to the
724            beginning of an generated mapfile.
725            (export_mapfile): Now the Path and filename are saved in to variables,
726            and not together in one variable. This is needed for the new
727            write_creatorcomment function.
728                    
729            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
730            import module "re". Also added Range and the ClassGroupRange import
731            from Thuban. Both are needed for the new range expression import.
732            (create_rangeexpression): Added. Creates a Range Expression in Thuban
733            style from a given mapfile expression.
734            (added_rasterlayer): Make some small code changes. The shapepath is
735            now stored in an extra variable and the clazz_name is set empty if no
736            class name set in the mapfile.
737            Changed the Error message for Range Expressions, becaus the new
738            function create a error string which will be shown in the dialog.
739    
740            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
741            range expression import.
742    
743    2004-07-21  Jan-Oliver Wagner <[email protected]>
744    
745            * Extensions/umn_mapserver/README: Added hint that
746            installation as root can be avoided. Removed all tabs.
747    
748    2004-07-16  Bernhard Herzog  <[email protected]>
749    
750            * test/test_viewport.py
751            (ViewPortTest.test_changing_map_projection): Check that changing
752            the projection of an empty map shown in a viewport doesn't lead to
753            exceptions in the viewport's handler for the
754            MAP_PROJECTION_CHANGED messages
755    
756            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
757            try to keep the same region visible when the map actually contains
758            something
759    
760    2004-07-15  Jan Sch�ngel <[email protected]>
761    
762            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
763            mappath directly from the mapobj. Is needed because of the changes
764            in mf_import.py.
765            (MF_Layer.add_thubanclass): Added a new comment.
766            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
767            mapobj is empty there is no extent get from thuban an so no one can
768            set to th mapobj.
769            
770            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
771            the discription.
772            Split the funktion in to three smaller ones. The new functions are
773            add_rasterlayer, add_polygonlayer and select_layer2import.
774            Removed the mapfilepath and filepath initialisation, because its know
775            include in the new functions.
776            Now nothing will be imported if cancel is pressed in the
777            layer choice dialog.
778    
779    2004-07-14  Jan Sch�ngel <[email protected]>
780    
781            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
782            import.
783            (MF_Symbolset): Removed the extra variable for numsymbols.
784            (MF_Class.__init__): Added a comment to the exception clause.
785            Removed the extent init, because it was not needed anymore.
786            (MF_Layer.add_thubanclass): Added the code to set the class name to
787            the expression value from thuban if no label is defined.
788            Added the code to export Range expressions from thuban to the mapfile.
789            (MF_Map.set_extent): Removed the exception and replace it by some if
790            code. If the size of a map is not defined the size will be set to 1,1.
791            This is necessary because if the extent is set, mapscript checks if
792            the size is greater than zero.
793            (MF_Web): Added the get and set function for the template.
794    
795            * Extensions/umn_mapserver/mf_export.py: Added the function to check
796            if a mapobject exists and used it to set the status of the menu items.
797            If no mapfile exists the settings could not be edditied.
798            Define after which menuitem the exportitem will include.
799            
800            * Extensions/umn_mapserver/mf_handle.py: Removed the import
801            Thuban.UI.mainwindow clause, because it is not needed.
802            Added the command Refresh() to all "OnChangeColor()" functions,
803            because the color preview window was not updated on a color change.
804            Added the function to check if a mapobject exists and used it to set the
805            status of the menu items. If no mapobject exists the settings could not
806            be edditied.
807            (Map_Dialog): Moved the imagetype selector from the
808            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
809            (Web_Dialog): Removed the name label and added the template textbox.
810    
811            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
812            the exception handling on loading the layers by an if statement. It
813            is not necessary to us the exception there.
814            The Filepath creation now use os.path.join to build the path.
815    
816            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
817            definition from global to the setUp function. Now the testMap will
818            initialize new on each test.
819    
820            * Extensions/umn_mapserver/sample/iceland.map: Include three new
821            classes in the Line Layer, to test logical Expressions.
822            Set the status of the class "Point9" in the Point Layer to off
823            
824    2004-07-13  Bernhard Herzog  <[email protected]>
825    
826            * Thuban/UI/baserenderer.py
827            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
828            optimization that tries not to draw layers under a raster layer.
829            The bug was harmless.  All it effectively did was to produce The a
830            strange messages about not being able to draw Layer instances for
831            all vector layers below a raster layer which would be invisible
832            anyway because the raster layer currently always covers the entire
833            window
834    
835    2004-07-08  Jan Sch�ngel <[email protected]>
836    
837            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
838            a list of supported outputformats. This formats are not alle supported
839            because there is no possibility to get the outputformat without the
840            name known. Make some formal changes to the code.
841            (MF_Map.set_name()): Fixed a bug if the name is None.
842    
843            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
844            statement, because its not needed anymore. The Outputformat is now
845            given as string from the object. Make some formal changes to the code.
846    
847            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
848            most of the new setting which were added during the last changes.
849            Removed the MF_Size Test.
850            
851            * Extensions/umn_mapserver/test/test.map: Added a new class to the
852            cultural Layer to test expressions and the the status of that layer
853            from on to default.
854            Changed the data path the the correct Thuban Data
855            Added the Outputformat Object and Symbol Object
856            
857    2004-07-07  Jan Sch�ngel <[email protected]>
858    
859            * Extensions/umn_mapserver/mapfile.py: Added some new
860            settings to edit (outputformat, label, imagetype)
861    
862            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
863            the Label Dialog and add the OutputDialog.
864            Make some changes to the code order.
865    
866    2004-07-06  Jan Sch�ngel <[email protected]>
867    
868            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
869            and line Obj and add the scalebar_status_type, scalebar_style_type and
870            scalebar_position_type.
871            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
872            are only used to create a Symbol like the circle in Thuban.
873            Added the scalebarObject (MF_Scalebar)
874            (MF_Class): Added set_status and get_status.
875            (MF_Layer.add_thubanclass): Added code to set the class status
876            (MF_Map): Added code to handle the symbols and scalebar
877            (MF_Label): Added the set_partials and get_partials functions
878            
879            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
880            from mapfile. Added a function to create a circle object like the one
881            from thuban if no one exists.
882            
883            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
884            press ok in the assosiated dialog and not at the end of the
885            colordialog.
886            Added the Dialog for the Scalebar.
887            (Label_Dialog): Added the offset option
888    
889            * Extensions/umn_mapserver/mf_import.py: Added code to import the
890            status of the Classes.
891            Fixed a bug with the projection. Now the to_meter parameter will be
892            added to the Projection only if it doesn't exists.
893    
894    2004-07-01  Jan Sch�ngel <[email protected]>
895    
896            Added the functionality to handle the content thuban is not
897            able to handle directly.
898    
899            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
900            Thuban with the possibility to edit the mapfile content.        
901            
902            * Extensions/umn_mapserver/mf_import.py: Added the possibility
903            to import mapfiles without any layer selected. So it is possible
904            to edit the other settings in a mapfile.
905            (import_mapfile): Added code to use the editing functions.
906            Added the possibility to import the projection to a layer if one
907            is defined.
908            Status settings (On,Off) will now set in thuban (visible, invisible).
909            fixed a bug with with classnames. If no classname is set in mapfile
910            the value in Thuban will set to the expression.
911            
912            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
913            possibility to save a new mapfile or use the old one which is
914            imported or new created.
915            Added code to use the editing functions.
916            Remove some not needed import statements
917    
918            * Extensions/umn_mapserver/mapfile.py: Added new types which are
919            need for the editing functions.
920            Added needed set-functions for the editing functions.
921            Added the possibility to export rasterimages.
922            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
923            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
924            moment.
925            (MF_Class.set_thubanstyle): Now point layers will set to a default
926            symbol to show a circle in mapserver and not only a 1px dot.
927            (MF_Style.__init__): Fixed a bug with the color. Color was not set
928            correct before.
929            (MF_Size): Removed, because it is not needed.
930            
931            * Extensions/umn_mapserver/README: Added the hints to use the
932            export and editing functions, too.
933    
934            * Extensions/umn_mapserver/sample/iceland.map: Added the
935            new parameter "UNITS METERS".
936            Change the political layer to status OFF.
937    
938            * Extensions/umn_mapserver/sample/README: Added some
939            more details to setup the sample in the MapServer.
940            
941    2004-06-26  Bernhard Reiter <[email protected]>
942    
943            * Extensions/svgexport/test/test_svgmapwriter.py:
944            Removed class VFile and used standard StringIO instead.
945    
946    2004-06-23  Jan Sch�ngel  <[email protected]>
947    
948            Add the export function to the umn_mapserver extension.
949    
950            * Extension/umn_mapserver/mf_export.py: New. This module extents
951            Thuban with the possibility to export the Thuban content.
952    
953            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
954            with the export module. Especially added the possibility to
955            add thuban objects directly to the map objects.
956    
957            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
958            because of the hint from Bernhard Herzog.
959            Corrected the handling of absolute pathnames.
960            Changed the Text of the Menu-Item, now the beginning is upper case.
961    
962            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
963    
964    2004-06-16  Jan Sch�ngel  <[email protected]>
965    
966            Add a sample and make some changes.
967    
968            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
969            import from * to explicit used statements. Changed the
970            Thuban.UI.mainwindow import phrase, too.
971            (import_mapfile):Corrected a clerical mistake.
972            Added wxCHANGE_DIR in OpenFile Dialog.
973            Added a MultipleChoiceDialog, to select the layers to load from
974            mapfile into thuban. Thereby the projection is only set if one layer
975            is selected.
976            Added the possibility to handle relative pathnames which uses
977            up-level references.
978            Removed some doubled code.
979            Corrected an error with integer values used as label in thuban
980            ClassGroup.
981            
982            * Extensions/umn_mapserver/sample: New.
983    
984            * Extensions/umn_mapserver/sample/README: New. Describes the
985            usage of the sample files.
986    
987            * Extensions/umn_mapserver/sample/iceland.map: New. This is
988            a suitable .map-file for the iceland data.
989    
990            * Extensions/umn_mapserver/sample/index.html: New. The template
991            for the mapfile.  
992    
993            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
994            file for the Iceland Application on web.
995    
996            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
997            some details.
998    
999            * Extensions/umn_mapserver/test/test_mapserver
1000            (mapserver_import_Test_generalClasses.test_MF_Color):
1001            Corrected the thubancolor test.
1002    
1003    2004-06-15  Jan Sch�ngel  <[email protected]>
1004    
1005            * Extensions/umn_mapserver/README: New. Install instruction.
1006    
1007    2004-06-14  Bernhard Reiter <[email protected]>
1008    
1009            * libraries/thuban/cpl_mfile.h: Added copyright header.
1010    
1011            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
1012            Free Software License so that it is most useful with gdalwarp
1013            and bmpdataset.
1014    
1015    2004-06-14  Bernhard Herzog  <[email protected]>
1016    
1017            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
1018            import of wxPython.wx itself (as opposed to the contents of
1019            wxPython.wx).  For some reason wxPython.wx is available as
1020            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
1021            wrt. wxPython 2.4.
1022    
1023    2004-06-10  Jan Sch�ngel  <[email protected]>
1024    
1025            Initial version of new extension "umn_mapserver".  This extension aims
1026            to manage configuration for the UMN MapServer application.  This
1027            inital version just imports the .map-files and displays all, Thuban is
1028            capable of.
1029    
1030            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
1031    
1032            * Extensions/umn_mapserver/test/README: New. Describes how to run the
1033            tests.
1034    
1035            * Extensions/umn_mapserver/test/test.map: New. This is a test
1036            .map-file for automated tests of the umn_mapserver extension of
1037            Thuban.
1038    
1039            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
1040            UMN Mapserver classes.
1041    
1042            * Extensions/umn_mapserver/__init__.py: New. Init to make this
1043            directory a package.
1044    
1045            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
1046            '.map'-file objects.
1047    
1048            * Extensions/umn_mapserver/mf_import.py: New. This module extends
1049            Thuban with the possibility to handle UMN MapServer mapfiles.
1050    
1051    2004-06-03  Bernhard Herzog  <[email protected]>
1052    
1053            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
1054            to a tuple before using it as arguments to the % operator.  This
1055            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
1056            reported today on thuban-list by Jan Sch�ngel
1057    
1058            * test/test_layer.py (TestLayerModification.setUp): Save the
1059            filename as an instance variable so we can refer to it in tests
1060            (TestLayerModification.test_tree_info): Uncomment this method
1061            again and make it work.  This tests for the formatting issue
1062            filed in RT#2239 on 2004-01-13
1063    
1064    2004-05-28  Bernhard Herzog  <[email protected]>
1065    
1066            * Thuban/UI/baserenderer.py: Fix some typos.
1067    
1068    2004-05-18  Jan-Oliver Wagner <[email protected]>
1069    
1070            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
1071            by increasing a field size.
1072    
1073    2004-05-17  Bernhard Herzog  <[email protected]>
1074    
1075            Update to newest shapelib and get rid of Thuban specific
1076            extensions, i.e. use the new DBFUpdateHeader instead of our
1077            DBFCommit kludge
1078    
1079            * libraries/shapelib/shpopen.c: Update to version from current
1080            shapelib CVS.
1081    
1082            * libraries/shapelib/shapefil.h: Update to version from current
1083            shapelib CVS.
1084    
1085            * libraries/shapelib/dbfopen.c: Update to version from current
1086            shapelib CVS.
1087            (DBFCommit): Effectively removed since shapelib itself has
1088            DBFUpdateHeader now which is better for what DBFCommit wanted to
1089            achieve.  
1090            We're now using an unmodified version of dbfopen.
1091    
1092            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
1093            value '1' to the Lib.dbflibc extension.  This simply reflects the
1094            shapelib and pyshapelib updates
1095    
1096    2004-05-16  Jan-Oliver Wagner <[email protected]>
1097    
1098            Finished introduction of Menu.FindOrInsertMenu.
1099    
1100            * Extensions/drawshape/drawshape.py: Add the command
1101            to the experimental menu additionally to the toolbar.
1102    
1103            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
1104            finding menu on its own.
1105    
1106            * Doc/manual/thuban-manual.xml: updated sample file
1107            to use FindOrInsertMenu().
1108    
1109            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
1110            instead of finding menu on its own.
1111    
1112    2004-05-11  Jan-Oliver Wagner <[email protected]>
1113    
1114            * test/test_menu.py (MenuTest.test): Added testing
1115            of method Menu.FindOrInsertMenu.
1116    
1117    2004-05-10  Jan-Oliver Wagner <[email protected]>
1118    
1119            Introduce and use Menu.FindOrInsertMenu.
1120    
1121            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
1122              given menu or, if not found, insert it.
1123    
1124            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
1125            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
1126            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
1127            menu on its own.
1128    
1129    2004-05-06  Jan-Oliver Wagner <[email protected]>
1130    
1131            Introduce a abstract ColorDialog class and remove
1132            and outdated file.
1133    
1134            * Thuban/UI/proj4dialog.py: Removed. It is has been
1135            replaced by projdialog for quite a while and is not used
1136            anymore.
1137    
1138            * Thuban/UI/colordialog.py: New. Abstraction for color selection
1139            dialog(s).
1140    
1141            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
1142            Now calls the abstract ColorDialog instead of wxColourDialog.
1143            This also removed the dependency to Color class conversion
1144            from this function.
1145    
1146    2004-05-04  Frank Koormann  <[email protected]>
1147    
1148            * Extensions/bboxdump/__init__.py: Fixed string left over from
1149            copying.
1150    
1151            * Extensions/bboxdump/bboxdump.py (bboxdump):
1152            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
1153            xrange(layer.NumShapes()). Compile the bboxmessage from a list
1154            of formatted outputs (string.join) instead of appending to the
1155            message. Two progress bar dialogs to report progress on the sometimes
1156            lenghty processing.
1157    
1158    2004-04-22  Frank Koormann  <[email protected]>
1159    
1160            New Extension to dump bounding boxes of all shapes of the selected
1161            layer. An optional column can be specified to group the objects,
1162            in this case the bounding box is a union of the separate boxes.
1163            Dump can be displayed in a ScrolledMessageDialog or written to file.
1164            The Extension is simply a combination of available and well tested
1165            Thuban functionality.
1166    
1167            * Extensions/bboxdump/__init__.py: New: Init to make this
1168            directory a package.
1169    
1170            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
1171            all shapes of the selected layer.
1172    
1173    2004-04-22  Jan-Oliver Wagner <[email protected]>
1174    
1175            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
1176            strings to be i18n now.
1177    
1178    2004-04-18  Jan-Oliver Wagner <[email protected]>
1179    
1180            Changing popup menu of legend from direct building
1181            to using the Menu construction as used for the mainwindow.
1182    
1183            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
1184            layer_to_bottom, layer_visibility
1185            (MainWindow.LayerToTop): New. Put current layer to the top.
1186            (MainWindow.LayerToBottom): New. Put current layer to bottom.
1187            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
1188            Replace 1,0 by True, False.
1189            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
1190            current layer.
1191            (MainWindow.LayerShowTable): Removed raising of dialog.
1192            (_has_selected_layer_visible): New. Support function.
1193    
1194            * Thuban/UI/legend.py: ID_POP_xxx: removed.
1195            (LegendPanel.__init__): Removed EVT_MENU bindings.
1196            (LegendTree._OnRightClick): Replace direct creation of
1197            menu via wx Classes by applying the menu definition
1198            as of Menu class of menu.py.
1199            
1200  2004-04-16  Jan-Oliver Wagner <[email protected]>  2004-04-16  Jan-Oliver Wagner <[email protected]>
1201    
1202          * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved          * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved

Legend:
Removed from v.2185  
changed lines
  Added in v.2450

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26