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

Legend:
Removed from v.2196  
changed lines
  Added in v.2445

root@scm.wald.intevation.org
ViewVC Help
Powered by ViewVC 1.1.26