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

Legend:
Removed from v.2192  
changed lines
  Added in v.2437

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26