/[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 2277 by jschuengel, Thu Jul 8 14:30:53 2004 UTC revision 2445 by bernhard, Sat Dec 11 03:24:36 2004 UTC
# Line 1  Line 1 
1    2004-12-11  Bernhard Reiter <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
114    
115            * po/hu.po: New. Hungarian translation. Contributed
116            by Norbert Solymosi.
117    
118    2004-11-26  Bernhard Herzog  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
260    
261            * Extensions/svgexport/: Minor improvements to doc strings.
262    
263    2004-10-07  Jan-Oliver Wagner <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
344    
345            * Doc/manual/thuban-manual-de.xml: Started translation of
346            Map chapter.
347    
348    2004-10-01  Martin Schulze  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
461    
462            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
463    
464    2004-09-03  Jan Sch�ngel  <[email protected]>
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 <[email protected]>
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 <[email protected]>
481    
482            * Thuban/UI/about.py:
483            small changes to be consistent with coding style.
484              
485    2004-08-13  Martin Schulze  <[email protected]>
486    
487            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
488            Adjusted a comment
489    
490    2004-08-11  Silke Reimer <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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  <[email protected]>
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  <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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 <[email protected]>
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 <[email protected]>
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  <[email protected]>
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 <[email protected]>  2004-07-08  Jan Sch�ngel <[email protected]>
798    
799          * Extensions/umn_mapserver/mapfile.py: Added code to generade and get          * Extensions/umn_mapserver/mapfile.py: Added code to generade and get

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26