/[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 1960 by bh, Wed Nov 19 15:31:52 2003 UTC revision 2380 by jan, Sun Oct 3 22:04:32 2004 UTC
# Line 1  Line 1 
1    2004-10-03  Jan-Oliver Wagner <[email protected]>
2    
3            First elements for sizeable point objects.
4    
5            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
6    
7            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
8    
9            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
10            of a corresponding argument is given.
11            (TestSymbolSize): New. Test the size attribute of cldata.
12    
13            * Thuban/Model/classification.py: Removed some trailing whitespaces.
14            (ClassGroupProperties.__init__): Set default size.
15            (ClassGroupProperties.SetProperties): Set the size.
16            (ClassGroupProperties.GetSize): New. Return the size.
17            (ClassGroupProperties.SetSize): New. Set the size.
18            (ClassGroupProperties__eq__): Compare also size.
19            (ClassGroupProperties__repr__): Print also size.
20    
21            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
22            the size attribute.
23    
24            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
25            Also, now there is a return value that indicates whether the drawing
26            size exceeded the given rect extent and if so the new extent.
27            Finally, point objects are drawn depending on the size. If either
28            the width or height is exceeded, the new extent is returned.
29            (ClassRenderer.Draw): Now when calling the previewer drawing function,
30            evaluate the return value and, if not None, adapt the grid widget size
31            accordingly and redraw again.
32    
33            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
34            If the draw function is for points, call it with the size as additional
35            parameter.
36            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
37            the size. Compute the radius using the size.
38    
39            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
40            that Thuban supports size, apply this correctly.
41    
42            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
43    
44    2004-10-03  Jan-Oliver Wagner <[email protected]>
45    
46            * Doc/manual/thuban-manual-de.xml: Started translation of
47            Map chapter.
48    
49    2004-10-01  Martin Schulze  <[email protected]>
50    
51            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
52            argument for general use through properties-dialog selector
53            
54            * Thuban/UI/classifier.py: Register properties dialog classes for
55            both provided layer classes/types.
56    
57            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
58            map can be retrieved through the parent which is passed to the
59            constructor anyway and doesn't require an argument of its own,
60            required for the unification of arguments for general use through
61            properties-dialog selector.
62            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
63            whether a dialog is already opened (and raising it to the users
64            attention) and creating a new dialog into a function of its own
65            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
66            method
67            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
68            global registration of properties dialog classes (which are indeed
69            layer-specific).
70    
71            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
72            for general use through properties-dialog selector, the map can be
73            retrieved through the parent and doesn't require an argument of
74            its own.
75    
76            * Extensions/wms/wms.py: Register the properties dialog class for
77            the provided WMS layer
78    
79    2004-09-28  Jan-Oliver Wagner <[email protected]>
80    
81            New feature: Registry for Extensions.
82    
83            * Thuban/UI/extensionregistry.py: This module defines a registry for
84            Extensions.
85    
86            * Thuban/UI/about.py (About.__init__): Added description
87            of the registered extensions with all of the information.
88    
89            * Thuban/Model/extension.py (Extension): Improved doc-string.
90    
91            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
92            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
93            Extensions/wms/wms.py: Added registration of the extension.
94    
95    2004-09-27  Bernhard Reiter <[email protected]>
96    
97            More fixes to svgexport to make used ids unique and
98            conforming to XML's Name production.
99    
100            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
101            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
102            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
103            Added Bernhard R. as author.
104            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
105            concatenation char now (makes test_make_ide_nosetbaseid() valid).
106            Also transform second id part with "%d" and catch the TypeError
107            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
108            Corrected typo inBernhard's author line.
109            (SetBaseID): Return the transformed base id. Transform characters
110            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
111            import binascii. If to be set string starts with "xml" or so, add "t".
112            (draw_shape_layer_incrementally): use the returned value of SetBaseID
113            for used_baseids checks.
114    
115    2004-09-25  Bernhard Herzog  <[email protected]>
116    
117            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
118            Remove a debug print and some tab characters.
119    
120    2004-09-25  Bernhard Reiter <[email protected]>
121    
122            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
123            (SetBaseID, SetID, make_id): Improved docstring comments to explain
124            the interaction of the three functions and the XML id contrains.
125    
126    
127    2004-09-23  Jan-Oliver Wagner <[email protected]>
128    
129            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
130            Module.
131    
132            * Doc/README: Added info on ThubanModel.xmi.
133    
134    2004-09-23  Jan-Oliver Wagner <[email protected]>
135    
136            * Doc/README: New. Some info about how to generate technical
137            documentation from the source code.
138            This text was send to the Thuban developer mailing list on
139            September 21st 2004 by Bernhard Reiter.
140    
141    2004-09-21  Bernhard Reiter <[email protected]>
142    
143            Improved the svgexport to only use unique ids. Will issues
144            an error message dialoge when two layer names are the same.
145            ShapeIDs are now added with a dash within the svg ids.
146    
147            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
148            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
149            (TestSVGRenderer): New test class with test_make_in() and
150            test_check_for_layer_name_clash()
151            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
152            and draw_shape_layer_incrementally() to not use a baseid twice,
153            satisfying test_check_for_layer_name_clash()
154            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
155            test_make_in().
156            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
157            and wxICON_HAND.
158            (write_to_svg): Put dc and rendering in a try statement and on
159            catching SVGmapWriterError notify the user and delete the target file.
160    
161    2004-09-20  Bernhard Reiter <[email protected]>
162    
163            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
164    
165    2004-09-03  Jan Sch�ngel  <[email protected]>
166    
167            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
168            small bug with the line color. Now the line color will now only set
169            if it is set in Thuban an not Transparent.
170            
171            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
172            deleting the layers from mapfile. Now all layers will delete backwards
173            from the last.
174    
175    2004-08-20  Silke Reimer <[email protected]>
176    
177            * Thuban/Model/layer.py:
178            Fixes bug in projection handling: Otherwise very large region might not
179            have valid values in the layer's projection.
180    
181    2004-08-20  Silke Reimer <[email protected]>
182    
183            * Thuban/UI/about.py:
184            small changes to be consistent with coding style.
185              
186    2004-08-13  Martin Schulze  <[email protected]>
187    
188            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
189            Adjusted a comment
190    
191    2004-08-11  Silke Reimer <[email protected]>
192    
193            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
194                    too many and too enhanced imports of locale
195    
196    2004-08-10  Silke Reimer <[email protected]>
197    
198            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
199                    function unicodeToLocale() to convert special characters to users
200                    locale encoding
201    
202    2004-08-10  Jan-Oliver Wagner <[email protected]>
203    
204            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
205            lower case letter'
206    
207    2004-08-09  Jan Sch�ngel  <[email protected]>
208    
209            * ChangeLog: Rewrite the last ChangeLog entry to follow
210            the standard way.
211    
212            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
213            the function where it is needed, because it don't works if it stands
214            at the beginning.
215            (MF_Layer.__init__): Removed the extra numclassed variable. Now
216            numclasses from the mapscript will be used.
217            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
218            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
219            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
220            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
221            (MF_Map.create_new_layer): New. A new Layer is created and associated
222            with the mapscript object.
223            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
224            the mapscript.
225            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
226            linked to the layer in thuban, else the layerobject linked to the
227            thubanlayer will be used.
228            AnnotationLayer will now store the filename of the shapefile.
229            (MF_Map.remove_layer): If a layer is removed the associated object
230            must be set new.
231            
232            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
233            layers which are exists in thuban to the mapobj. All removed Layers
234            will be removed from the mapobj.
235            Added comments to all functions.
236            (thuban_to_map): No layer will be removed here.
237            
238            * Extensions/umn_mapserver/mf_handle.py
239            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
240            Layersettings for the mapserver kann be edited.
241    
242            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
243            imported, will be linked with the associated MF_Layer.
244            (import_mapfile): All layers, which are not selected, will be removed.
245            Disable the "import layer from mapfile" menu option.
246    
247            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
248            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
249            layer on permanently.
250    
251    2004-08-03  Jan Sch�ngel  <[email protected]>
252    
253            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
254            New. This function removes all metadata
255            (MF_Layer.set_group): New. Set the group setting.
256            (MF_Layer.get_group): New. Get the group setting.
257            (MF_Map): Removed the extra numlayers variable, used the mapscript
258            parameter instead.
259            (MF_Map.get_numlayers): New. This get numlayers.
260            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
261            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
262            if the object is an instance. Also added the annotation layer here to
263            export, but only the layer is created in the mapfile.
264    
265            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
266            the check if a mapobj exist, because its not needed anymore. The
267            export function is only available if a mapobj exist.
268            Use the new function to remove all layers.
269            
270            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
271            option and the metadata button. The layer dialog is temporary disabled.
272            (Metadata_CustomDataTable): Added some functions to show the grid
273            correct.
274    
275            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
276            the number of layer from import_mapfile to this function.
277            (AnnotationLayer): New. This Class shows the Annotation layer in
278            thuban. The layer don't do anything. It's only to show the layer
279            and to save the layer order.
280            (add_annotationlayer): New. Import an annotation layer to thuban.
281            (select_layer2import): New. Import only layers to thuban and not
282            the other settings like projection or scalebar.
283            (create_new_mapfile): Moved the _has_umn_mapobj function and the
284            create_new_mapfile functions from mf_handle.py to mf_import.py.
285            
286            * Extensions/umn_mapserver/sample/iceland.map: Added the group
287            parameter to the roads and cultural layers. Also added a new
288            Annotation Layer for the cultural points.
289    
290            * Extensions/umn_mapserver/sample/iceland.html: Added the select
291            option for the annotation layer.
292    
293            * Extensions/umn_mapserver/sample/index.html: Added the start
294            parameter for the annotation layer.
295    
296    2004-08-01  Jan-Oliver Wagner <[email protected]>
297    
298            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
299            translation completed.
300    
301            * Doc/manual/thuban-manual.xml (Chapter Session Management):
302            Fixed unprecise description for Save Session.
303    
304    2004-07-31  Jan-Oliver Wagner <[email protected]>
305    
306            Started translation of Users Manual into german.
307    
308            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
309    
310            * Doc/manual/Makefile: Added build instructions for german
311            users manual.
312    
313            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
314    
315    2004-07-28  Jan Sch�ngel  <[email protected]>
316    
317            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
318            functions. Now all metadata will handle by the function and its not
319            needed to initialize it from outside. Therefor the associated mapobj
320            will be stored in the Metadata Object. So we can use the special
321            functions from the associated mapobj to get the Metadata.
322            Therefor all initialization code for the metadata is removed from the
323            other classes.
324            (MF_Layer): Added a function to get the metadata object.
325            (MF_Map): Added a function to set the mappath, the path where
326            the mapfile ist stored.
327    
328            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
329            to set the extent in the mapfile. Now the code is set by the displayed
330            data in the Thuban-view.
331            (export_mapfile): The shapepath is now set empty, until relative
332            pathnames are supported.
333    
334            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
335            metadata. Yet only mapfile metadata are supported. Layer and class
336            supported are not implemented.
337            Added a dialog to handle layer informations. The dialog only shows the
338            selected layer at the moment.
339    
340            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
341            code for setting the extent in thuban. Now the extent is set to the
342            given extent from the mapfile.
343            Fixed a logical mistake. Now the extent is set when realy a layer is
344            loaded, and not if one is selected to load.
345    
346            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
347            move the shown map in the browser.
348    
349            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
350            line to the mapobj and added metadata to the political layer.
351    
352            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
353            for Metadata.
354    
355    2004-07-26  Martin Schulze  <[email protected]>
356    
357            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
358            ClassMapper
359    
360            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
361            case for the new ClassMapper
362    
363    
364    2004-07-22  Bernhard Herzog  <[email protected]>
365    
366            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
367            visible extent of the map in projected coordinates
368    
369            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
370            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
371            tests.
372            (SimpleViewPortTest.test_visible_extent): New. The real test for
373            VisibleExtent()
374    
375    2004-07-22  Bernhard Herzog  <[email protected]>
376    
377            * test/test_viewport.py: Use support.run_tests as the main
378            function when running asa script.
379    
380    2004-07-22  Jan Sch�ngel <[email protected]>
381    
382            * Extensions/umn_mapserver/mf_export.py: Added "import os"
383            Removed the old "import Thuban.UI.mainwindow" code.
384            (tbextent_to_map): Removed the extra function and at the code direct
385            to "thuban_to_map" function.
386            (write_creatorcomment): Added. Now a short comment is added to the
387            beginning of an generated mapfile.
388            (export_mapfile): Now the Path and filename are saved in to variables,
389            and not together in one variable. This is needed for the new
390            write_creatorcomment function.
391                    
392            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
393            import module "re". Also added Range and the ClassGroupRange import
394            from Thuban. Both are needed for the new range expression import.
395            (create_rangeexpression): Added. Creates a Range Expression in Thuban
396            style from a given mapfile expression.
397            (added_rasterlayer): Make some small code changes. The shapepath is
398            now stored in an extra variable and the clazz_name is set empty if no
399            class name set in the mapfile.
400            Changed the Error message for Range Expressions, becaus the new
401            function create a error string which will be shown in the dialog.
402    
403            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
404            range expression import.
405    
406    2004-07-21  Jan-Oliver Wagner <[email protected]>
407    
408            * Extensions/umn_mapserver/README: Added hint that
409            installation as root can be avoided. Removed all tabs.
410    
411    2004-07-16  Bernhard Herzog  <[email protected]>
412    
413            * test/test_viewport.py
414            (ViewPortTest.test_changing_map_projection): Check that changing
415            the projection of an empty map shown in a viewport doesn't lead to
416            exceptions in the viewport's handler for the
417            MAP_PROJECTION_CHANGED messages
418    
419            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
420            try to keep the same region visible when the map actually contains
421            something
422    
423    2004-07-15  Jan Sch�ngel <[email protected]>
424    
425            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
426            mappath directly from the mapobj. Is needed because of the changes
427            in mf_import.py.
428            (MF_Layer.add_thubanclass): Added a new comment.
429            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
430            mapobj is empty there is no extent get from thuban an so no one can
431            set to th mapobj.
432            
433            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
434            the discription.
435            Split the funktion in to three smaller ones. The new functions are
436            add_rasterlayer, add_polygonlayer and select_layer2import.
437            Removed the mapfilepath and filepath initialisation, because its know
438            include in the new functions.
439            Now nothing will be imported if cancel is pressed in the
440            layer choice dialog.
441    
442    2004-07-14  Jan Sch�ngel <[email protected]>
443    
444            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
445            import.
446            (MF_Symbolset): Removed the extra variable for numsymbols.
447            (MF_Class.__init__): Added a comment to the exception clause.
448            Removed the extent init, because it was not needed anymore.
449            (MF_Layer.add_thubanclass): Added the code to set the class name to
450            the expression value from thuban if no label is defined.
451            Added the code to export Range expressions from thuban to the mapfile.
452            (MF_Map.set_extent): Removed the exception and replace it by some if
453            code. If the size of a map is not defined the size will be set to 1,1.
454            This is necessary because if the extent is set, mapscript checks if
455            the size is greater than zero.
456            (MF_Web): Added the get and set function for the template.
457    
458            * Extensions/umn_mapserver/mf_export.py: Added the function to check
459            if a mapobject exists and used it to set the status of the menu items.
460            If no mapfile exists the settings could not be edditied.
461            Define after which menuitem the exportitem will include.
462            
463            * Extensions/umn_mapserver/mf_handle.py: Removed the import
464            Thuban.UI.mainwindow clause, because it is not needed.
465            Added the command Refresh() to all "OnChangeColor()" functions,
466            because the color preview window was not updated on a color change.
467            Added the function to check if a mapobject exists and used it to set the
468            status of the menu items. If no mapobject exists the settings could not
469            be edditied.
470            (Map_Dialog): Moved the imagetype selector from the
471            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
472            (Web_Dialog): Removed the name label and added the template textbox.
473    
474            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
475            the exception handling on loading the layers by an if statement. It
476            is not necessary to us the exception there.
477            The Filepath creation now use os.path.join to build the path.
478    
479            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
480            definition from global to the setUp function. Now the testMap will
481            initialize new on each test.
482    
483            * Extensions/umn_mapserver/sample/iceland.map: Include three new
484            classes in the Line Layer, to test logical Expressions.
485            Set the status of the class "Point9" in the Point Layer to off
486            
487    2004-07-13  Bernhard Herzog  <[email protected]>
488    
489            * Thuban/UI/baserenderer.py
490            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
491            optimization that tries not to draw layers under a raster layer.
492            The bug was harmless.  All it effectively did was to produce The a
493            strange messages about not being able to draw Layer instances for
494            all vector layers below a raster layer which would be invisible
495            anyway because the raster layer currently always covers the entire
496            window
497    
498    2004-07-08  Jan Sch�ngel <[email protected]>
499    
500            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
501            a list of supported outputformats. This formats are not alle supported
502            because there is no possibility to get the outputformat without the
503            name known. Make some formal changes to the code.
504            (MF_Map.set_name()): Fixed a bug if the name is None.
505    
506            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
507            statement, because its not needed anymore. The Outputformat is now
508            given as string from the object. Make some formal changes to the code.
509    
510            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
511            most of the new setting which were added during the last changes.
512            Removed the MF_Size Test.
513            
514            * Extensions/umn_mapserver/test/test.map: Added a new class to the
515            cultural Layer to test expressions and the the status of that layer
516            from on to default.
517            Changed the data path the the correct Thuban Data
518            Added the Outputformat Object and Symbol Object
519            
520    2004-07-07  Jan Sch�ngel <[email protected]>
521    
522            * Extensions/umn_mapserver/mapfile.py: Added some new
523            settings to edit (outputformat, label, imagetype)
524    
525            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
526            the Label Dialog and add the OutputDialog.
527            Make some changes to the code order.
528    
529    2004-07-06  Jan Sch�ngel <[email protected]>
530    
531            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
532            and line Obj and add the scalebar_status_type, scalebar_style_type and
533            scalebar_position_type.
534            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
535            are only used to create a Symbol like the circle in Thuban.
536            Added the scalebarObject (MF_Scalebar)
537            (MF_Class): Added set_status and get_status.
538            (MF_Layer.add_thubanclass): Added code to set the class status
539            (MF_Map): Added code to handle the symbols and scalebar
540            (MF_Label): Added the set_partials and get_partials functions
541            
542            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
543            from mapfile. Added a function to create a circle object like the one
544            from thuban if no one exists.
545            
546            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
547            press ok in the assosiated dialog and not at the end of the
548            colordialog.
549            Added the Dialog for the Scalebar.
550            (Label_Dialog): Added the offset option
551    
552            * Extensions/umn_mapserver/mf_import.py: Added code to import the
553            status of the Classes.
554            Fixed a bug with the projection. Now the to_meter parameter will be
555            added to the Projection only if it doesn't exists.
556    
557    2004-07-01  Jan Sch�ngel <[email protected]>
558    
559            Added the functionality to handle the content thuban is not
560            able to handle directly.
561    
562            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
563            Thuban with the possibility to edit the mapfile content.        
564            
565            * Extensions/umn_mapserver/mf_import.py: Added the possibility
566            to import mapfiles without any layer selected. So it is possible
567            to edit the other settings in a mapfile.
568            (import_mapfile): Added code to use the editing functions.
569            Added the possibility to import the projection to a layer if one
570            is defined.
571            Status settings (On,Off) will now set in thuban (visible, invisible).
572            fixed a bug with with classnames. If no classname is set in mapfile
573            the value in Thuban will set to the expression.
574            
575            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
576            possibility to save a new mapfile or use the old one which is
577            imported or new created.
578            Added code to use the editing functions.
579            Remove some not needed import statements
580    
581            * Extensions/umn_mapserver/mapfile.py: Added new types which are
582            need for the editing functions.
583            Added needed set-functions for the editing functions.
584            Added the possibility to export rasterimages.
585            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
586            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
587            moment.
588            (MF_Class.set_thubanstyle): Now point layers will set to a default
589            symbol to show a circle in mapserver and not only a 1px dot.
590            (MF_Style.__init__): Fixed a bug with the color. Color was not set
591            correct before.
592            (MF_Size): Removed, because it is not needed.
593            
594            * Extensions/umn_mapserver/README: Added the hints to use the
595            export and editing functions, too.
596    
597            * Extensions/umn_mapserver/sample/iceland.map: Added the
598            new parameter "UNITS METERS".
599            Change the political layer to status OFF.
600    
601            * Extensions/umn_mapserver/sample/README: Added some
602            more details to setup the sample in the MapServer.
603            
604    2004-06-26  Bernhard Reiter <[email protected]>
605    
606            * Extensions/svgexport/test/test_svgmapwriter.py:
607            Removed class VFile and used standard StringIO instead.
608    
609    2004-06-23  Jan Sch�ngel  <[email protected]>
610    
611            Add the export function to the umn_mapserver extension.
612    
613            * Extension/umn_mapserver/mf_export.py: New. This module extents
614            Thuban with the possibility to export the Thuban content.
615    
616            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
617            with the export module. Especially added the possibility to
618            add thuban objects directly to the map objects.
619    
620            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
621            because of the hint from Bernhard Herzog.
622            Corrected the handling of absolute pathnames.
623            Changed the Text of the Menu-Item, now the beginning is upper case.
624    
625            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
626    
627    2004-06-16  Jan Sch�ngel  <[email protected]>
628    
629            Add a sample and make some changes.
630    
631            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
632            import from * to explicit used statements. Changed the
633            Thuban.UI.mainwindow import phrase, too.
634            (import_mapfile):Corrected a clerical mistake.
635            Added wxCHANGE_DIR in OpenFile Dialog.
636            Added a MultipleChoiceDialog, to select the layers to load from
637            mapfile into thuban. Thereby the projection is only set if one layer
638            is selected.
639            Added the possibility to handle relative pathnames which uses
640            up-level references.
641            Removed some doubled code.
642            Corrected an error with integer values used as label in thuban
643            ClassGroup.
644            
645            * Extensions/umn_mapserver/sample: New.
646    
647            * Extensions/umn_mapserver/sample/README: New. Describes the
648            usage of the sample files.
649    
650            * Extensions/umn_mapserver/sample/iceland.map: New. This is
651            a suitable .map-file for the iceland data.
652    
653            * Extensions/umn_mapserver/sample/index.html: New. The template
654            for the mapfile.  
655    
656            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
657            file for the Iceland Application on web.
658    
659            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
660            some details.
661    
662            * Extensions/umn_mapserver/test/test_mapserver
663            (mapserver_import_Test_generalClasses.test_MF_Color):
664            Corrected the thubancolor test.
665    
666    2004-06-15  Jan Sch�ngel  <[email protected]>
667    
668            * Extensions/umn_mapserver/README: New. Install instruction.
669    
670    2004-06-14  Bernhard Reiter <[email protected]>
671    
672            * libraries/thuban/cpl_mfile.h: Added copyright header.
673    
674            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
675            Free Software License so that it is most useful with gdalwarp
676            and bmpdataset.
677    
678    2004-06-14  Bernhard Herzog  <[email protected]>
679    
680            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
681            import of wxPython.wx itself (as opposed to the contents of
682            wxPython.wx).  For some reason wxPython.wx is available as
683            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
684            wrt. wxPython 2.4.
685    
686    2004-06-10  Jan Sch�ngel  <[email protected]>
687    
688            Initial version of new extension "umn_mapserver".  This extension aims
689            to manage configuration for the UMN MapServer application.  This
690            inital version just imports the .map-files and displays all, Thuban is
691            capable of.
692    
693            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
694    
695            * Extensions/umn_mapserver/test/README: New. Describes how to run the
696            tests.
697    
698            * Extensions/umn_mapserver/test/test.map: New. This is a test
699            .map-file for automated tests of the umn_mapserver extension of
700            Thuban.
701    
702            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
703            UMN Mapserver classes.
704    
705            * Extensions/umn_mapserver/__init__.py: New. Init to make this
706            directory a package.
707    
708            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
709            '.map'-file objects.
710    
711            * Extensions/umn_mapserver/mf_import.py: New. This module extends
712            Thuban with the possibility to handle UMN MapServer mapfiles.
713    
714    2004-06-03  Bernhard Herzog  <[email protected]>
715    
716            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
717            to a tuple before using it as arguments to the % operator.  This
718            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
719            reported today on thuban-list by Jan Sch�ngel
720    
721            * test/test_layer.py (TestLayerModification.setUp): Save the
722            filename as an instance variable so we can refer to it in tests
723            (TestLayerModification.test_tree_info): Uncomment this method
724            again and make it work.  This tests for the formatting issue
725            filed in RT#2239 on 2004-01-13
726    
727    2004-05-28  Bernhard Herzog  <[email protected]>
728    
729            * Thuban/UI/baserenderer.py: Fix some typos.
730    
731    2004-05-18  Jan-Oliver Wagner <[email protected]>
732    
733            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
734            by increasing a field size.
735    
736    2004-05-17  Bernhard Herzog  <[email protected]>
737    
738            Update to newest shapelib and get rid of Thuban specific
739            extensions, i.e. use the new DBFUpdateHeader instead of our
740            DBFCommit kludge
741    
742            * libraries/shapelib/shpopen.c: Update to version from current
743            shapelib CVS.
744    
745            * libraries/shapelib/shapefil.h: Update to version from current
746            shapelib CVS.
747    
748            * libraries/shapelib/dbfopen.c: Update to version from current
749            shapelib CVS.
750            (DBFCommit): Effectively removed since shapelib itself has
751            DBFUpdateHeader now which is better for what DBFCommit wanted to
752            achieve.  
753            We're now using an unmodified version of dbfopen.
754    
755            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
756            value '1' to the Lib.dbflibc extension.  This simply reflects the
757            shapelib and pyshapelib updates
758    
759    2004-05-16  Jan-Oliver Wagner <[email protected]>
760    
761            Finished introduction of Menu.FindOrInsertMenu.
762    
763            * Extensions/drawshape/drawshape.py: Add the command
764            to the experimental menu additionally to the toolbar.
765    
766            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
767            finding menu on its own.
768    
769            * Doc/manual/thuban-manual.xml: updated sample file
770            to use FindOrInsertMenu().
771    
772            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
773            instead of finding menu on its own.
774    
775    2004-05-11  Jan-Oliver Wagner <[email protected]>
776    
777            * test/test_menu.py (MenuTest.test): Added testing
778            of method Menu.FindOrInsertMenu.
779    
780    2004-05-10  Jan-Oliver Wagner <[email protected]>
781    
782            Introduce and use Menu.FindOrInsertMenu.
783    
784            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
785              given menu or, if not found, insert it.
786    
787            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
788            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
789            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
790            menu on its own.
791    
792    2004-05-06  Jan-Oliver Wagner <[email protected]>
793    
794            Introduce a abstract ColorDialog class and remove
795            and outdated file.
796    
797            * Thuban/UI/proj4dialog.py: Removed. It is has been
798            replaced by projdialog for quite a while and is not used
799            anymore.
800    
801            * Thuban/UI/colordialog.py: New. Abstraction for color selection
802            dialog(s).
803    
804            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
805            Now calls the abstract ColorDialog instead of wxColourDialog.
806            This also removed the dependency to Color class conversion
807            from this function.
808    
809    2004-05-04  Frank Koormann  <[email protected]>
810    
811            * Extensions/bboxdump/__init__.py: Fixed string left over from
812            copying.
813    
814            * Extensions/bboxdump/bboxdump.py (bboxdump):
815            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
816            xrange(layer.NumShapes()). Compile the bboxmessage from a list
817            of formatted outputs (string.join) instead of appending to the
818            message. Two progress bar dialogs to report progress on the sometimes
819            lenghty processing.
820    
821    2004-04-22  Frank Koormann  <[email protected]>
822    
823            New Extension to dump bounding boxes of all shapes of the selected
824            layer. An optional column can be specified to group the objects,
825            in this case the bounding box is a union of the separate boxes.
826            Dump can be displayed in a ScrolledMessageDialog or written to file.
827            The Extension is simply a combination of available and well tested
828            Thuban functionality.
829    
830            * Extensions/bboxdump/__init__.py: New: Init to make this
831            directory a package.
832    
833            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
834            all shapes of the selected layer.
835    
836    2004-04-22  Jan-Oliver Wagner <[email protected]>
837    
838            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
839            strings to be i18n now.
840    
841    2004-04-18  Jan-Oliver Wagner <[email protected]>
842    
843            Changing popup menu of legend from direct building
844            to using the Menu construction as used for the mainwindow.
845    
846            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
847            layer_to_bottom, layer_visibility
848            (MainWindow.LayerToTop): New. Put current layer to the top.
849            (MainWindow.LayerToBottom): New. Put current layer to bottom.
850            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
851            Replace 1,0 by True, False.
852            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
853            current layer.
854            (MainWindow.LayerShowTable): Removed raising of dialog.
855            (_has_selected_layer_visible): New. Support function.
856    
857            * Thuban/UI/legend.py: ID_POP_xxx: removed.
858            (LegendPanel.__init__): Removed EVT_MENU bindings.
859            (LegendTree._OnRightClick): Replace direct creation of
860            menu via wx Classes by applying the menu definition
861            as of Menu class of menu.py.
862            
863    2004-04-16  Jan-Oliver Wagner <[email protected]>
864    
865            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
866        button string to stronger clearify that Thuban will be closed when hitting
867            the button.
868    
869            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
870            Now for layers without a ShapeStore a corresponding message is given
871            to the user, that this layer has no table to show.
872    
873    2004-04-15  Martin Schulze  <[email protected]>
874    
875            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
876            recalculate the format for the internal render engine as well.
877    
878            * Extensions/wms/properties.py (wmsProperties): First start for a
879            properties dialog.  It's functional for a first selection of
880            layers, but still has some weired wxWidgets/GTK problems but
881            beautification can be done later.
882    
883            * Extensions/wms/layer.py: Added more documentation
884            (WMSLayer.getFormats): New: Return list of supported image formats
885            by the WMS server
886            (WMSLayer.getLayers): New: Return the list of layer names
887            supported by the WMS server
888            (WMSLayer.getLayerTitle): New: Return the title of the named layer
889            (WMSLayer.getWMSFormat): New: Return the image format that is used
890            for WMS GetMap requests
891            (WMSLayer.setWMSFormat): New: Set the image format that is used
892            for WMS GetMap requests
893            (WMSLayer.__init__): Move away from using only one layer to using
894            a list of layers (unsorted at the moment, though).
895            (WMSLayer.getVisibleLayers): New: Return the list of names for all
896            visible layers
897            (WMSLayer.setVisibleLayers): New: Set the list of names for all
898            visible layers
899    
900            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
901            order to establish a clean structure.
902    
903            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
904            own in order to establish a clean structure.
905    
906    2004-04-13  Martin Schulze  <[email protected]>
907    
908            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
909            support for oldstyle (WMS 1.0 apparently) image format
910            specification.
911    
912            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
913            supported graphic formats back to JPEG and BMP, PNG and others are
914            too *cough* experimental...  Sorry, I meant to filter this out
915            before I committed this part.  This should make the WMS extension
916            run from CVS again.
917            (wms_dialog): Reset an empty URL to None so that the subsequent
918            program can depend on this, since the dialog will indeed return an
919            empty URL, causing another declaration of love by Python.
920    
921            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
922            Whenever a native BoundingBox request cannot be fulfilled, check
923            whether the requested SRS is EPSG:3426, in which case return the
924            LatLonBoundingBox values.
925    
926            * Extensions/wms/test/test_parser.py
927            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
928            ignoring AUTO:* SRS.
929            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
930            Added another test method to test whether the LatLonBoundingBox
931            values will be returned if BoundingBox values are requested with
932            SRS set to EPSG:3426.
933    
934            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
935            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
936            the moment by placing them into a variable which is currently
937            unused.  Also test whether the EPSG SRS is numerical as it should
938            be and add an error message if it is not.
939    
940            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
941            appear in the real world as well.  Since we cannot handle them yet
942            (OGCLib can't either), we will ignore them for the moment.
943    
944            * Extensions/wms/parser.py: Use a variable for denoting the sample
945            filename
946            (WMSCapabilitiesParser.peekLayers): Added support for error
947            messages during grok().  They will be aggregated in an array and
948            may be displayed later.  We may have to add a classification
949            "Warning" and "Error" to this.  That requires more experience,
950            though, since not every error may be lethal.
951    
952            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
953            ShowTable() dialog/frame when the user attempts to display it
954            while it has been opened before already and not closed again.
955    
956    2004-04-11  Martin Schulze  <[email protected]>
957    
958            * Extensions/wms/infodialog.py: Adjusted the class documentation
959    
960            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
961            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
962            wxWidgets variants.
963            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
964    
965            * Extensions/wms/infodialog.py: Added an information dialog that
966            will display various information about the WMS current resource,
967            so that additional information such as the title, the abstract,
968            fees and access constraints can be displayed for the user if they
969            are documented in the WMS XML.
970    
971    2004-04-10  Martin Schulze  <[email protected]>
972    
973            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
974            string handling.  It's "foo".lower() and not lower(foo) without
975            lower imported from strings or something.
976    
977            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
978            from capabilities.py and parser.py.  Implement priority list for
979            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
980            and GIF are supported here, but not yet by main Thuban.  Hence,
981            support for them may be removed later.  Special contribution to
982            usability: get wxWidgets to change the cursor when we're waiting
983            for data from the network so the user won't start to worry.  This
984            causes a redrawing error/warning, though.
985    
986            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
987            the DOM object.
988    
989    2004-04-01  Martin Schulze  <[email protected]>
990    
991            * Extensions/wms/capabilities.py: Adjusted documentation
992            (WMSCapabilities.__init__): Improved documentation, fixed syntax
993            (WMSCapabilities.saveCapabilities): Only catch IOError when
994            handling files
995            (WMSCapabilities.loadCapabilities): Only catch IOError when
996            handling files
997            __main__: corrected variable naming
998            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
999            class a specialisation of WMSCapabilitiesParser as well.  Also
1000            execute grok() after loading or fetching capabilities, if that
1001            went well, so that subsequent calls can already access the data.
1002            (WMSCapabilities.getVersion): Export the used version of the
1003            GetCapabilities request, so we can use it for subsequent calls,
1004            i.e. for GetMap requests.
1005            (WMSCapabilities.fetchCapabilities): Added proper error handling
1006            when the GetCapabilities request failed, so that the surrounding
1007            program can act accordingly.
1008    
1009    2004-03-30  Martin Schulze  <[email protected]>
1010    
1011            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
1012            Adjusted the getLayerSRS method to return the list of SRSes
1013            extracted from <SRS> elements instead of <BoundingBox> elements.
1014            Added a bit of documentation as well.
1015            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
1016            since it was only implemented due to a misunderstanding.
1017    
1018            * Extensions/wms/test/test_parser.py
1019            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
1020            reflect the corrected interpretation of the standard: i.e. a layer
1021            does not have to define a BoundingBox for all SRSes it supports.
1022            Hence the <SRS></SRS> specification is authoritative, not the list
1023            of BoundingBoxes.
1024            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
1025            to ensure None is returned for a non-existing SRS.
1026            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
1027            since it is not applicable anymore.  Listing more SRSes in <SRS>
1028            elements is valid according to the specs.
1029    
1030    2004-03-26  Bernhard Reiter <[email protected]>
1031    
1032            * README: Nicer formatting of text. Improved descriptions.
1033            Reflected wxWidgets name change.
1034            
1035            * Thuban/UI/about.py: Extended copyright to 2004 and added
1036            information about the thuban-devel mailinglist.
1037    
1038    2004-03-24  Martin Schulze  <[email protected]>
1039    
1040            * Extensions/wms/capabilities.py: Renamed the class to contain
1041            'WMS', also added a linebreak where required
1042    
1043            * Extensions/wms/parser.py: Finally added the XML parser for the
1044            GetCapabilities response.
1045    
1046            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
1047            <SRS> elements match the <BoundingBox> elements, except for the
1048            layer 'beschriftung'.
1049    
1050            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
1051            since Python uses unicode strings internally, otherwise
1052            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
1053            the SRS will be calculated anyway and this method is obsoleted by
1054            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
1055            Move loading the sample file into the setUp method.  Added a test
1056            for finding the integrity problem in the sample response.
1057            Improved formatting.
1058    
1059            * Extensions/wms/domutils.py: Added convenience routines for
1060            handling of Document Object Model (DOM) nodes.
1061    
1062            * Extensions/wms/test/test_domutils.py: Added a test for the
1063            domutils module
1064    
1065    2004-03-19  Martin Schulze  <[email protected]>
1066    
1067            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
1068            Moved path detection and adding into a module of its own,
1069            adjustpath, which exports thubandir as main Thuban directory.
1070    
1071            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
1072            detection and adding into a module of its own, adjustpath, which
1073            exports thubandir as main Thuban directory.  Reorganised the
1074            module in order to support the SkipTest feature for Thuban test
1075            cases.
1076    
1077            * Extensions/wms/test/adjustpath.py: Moved path detection and
1078            adding into a module of its own.
1079    
1080    2004-03-18  Martin Schulze  <[email protected]>
1081    
1082            * Extensions/wms/test/test_parser.py: Added another test for
1083            checking whether the WMS XML parser (to be implemented) returns
1084            the information we expect.  This requires a sample WMS WML file
1085            (sample.xml) which has been extracted from the frida server and
1086            "improved" manually.
1087    
1088            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
1089            main Thuban directory to the path in order to be able to import
1090            random modules.  Adjusted the PyOGCLib detection to reuse the
1091            information gathered.  Also added a note about the PYTHONPATH
1092            environment variable.
1093    
1094            * Extensions/wms/test/test_ogclib.py: The format specification is
1095            a mime-type, not a graphic format, hence image/jpeg wou ld be the
1096            proper format and not JPEG.  We'll also have to take care of the
1097            encoding of / as %2F.
1098    
1099    2004-03-16  Martin Schulze  <[email protected]>
1100    
1101            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
1102            comprehensive test for the getMapURL method, built compare URLs
1103            according to the documentation in OGC 01-068r3
1104    
1105            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
1106            class WMSCapabilities to manage capabilites, will incorporate
1107            parsing the capabilities response and provide details for other
1108            classes.
1109    
1110    2004-03-12  Bernhard Herzog  <[email protected]>
1111    
1112            Support views in addition to normal tables in the postgis
1113            shapestore
1114    
1115            * Thuban/Model/postgisdb.py
1116            (PostGISShapeStore._fetch_table_information): Add a fallback for
1117            the case where the table name is not in the geometry_columns
1118            table.  This is usually the case for views.  Also, set
1119            self.shapestore here.
1120            (PostGISShapeStore.ShapeType): No need to query the database all
1121            the time.  The shape type is now determined in
1122            _fetch_table_information
1123    
1124            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
1125            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
1126            New parameter to specify views.
1127            (PostGISDatabase.has_data): Also compare the views.  New views
1128            parameter
1129            (PostGISDatabase.initdb): Create the views.
1130            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
1131            view
1132    
1133            * test/test_postgis_db.py
1134            (TestPostGISShapestorePointFromViews): New.  Test a
1135            PostGISShapeStore with a view
1136            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
1137            the geometry_column explicitly to test whether that works
1138    
1139    2004-03-12  Bernhard Herzog  <[email protected]>
1140    
1141            Final step for explicit id/geometry columns: Loading and saving
1142    
1143            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
1144            with the following changes:
1145            (dbshapesource): Two new attributes id_column and geometry_column
1146    
1147            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
1148            (SessionSaver.write_session): Use the new namespace
1149            (SessionSaver.write_data_containers): Write the new dbshapesource
1150            parameters
1151    
1152            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
1153            the new file format version
1154            (SessionLoader.start_dbshapesource): Handle the new db parameters
1155    
1156            * test/test_save.py: Update to the new dtd and namespace
1157            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
1158            mock object to provide a working IDColumn method.
1159    
1160            * test/test_load_1_0.py: New.  Copy of the test_load.py before
1161            today's changes but with the round-trip tests removed.
1162    
1163            * test/test_load_0_9.py: Update doc-string.
1164    
1165            * test/test_load.py: Update all .thuban files to the new dtd and
1166            namespace.
1167            (TestPostGISLayer.file_contents): Add the new dbshapesource
1168            paramters
1169    
1170    2004-03-11  Bernhard Herzog  <[email protected]>
1171    
1172            Next step for explicit id/geometry columns: User interaction
1173    
1174            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
1175            the dialog is constructed. Add combo boxes to select id and
1176            geometry column.  Rename some instance variables.
1177            (ChooseDBTableDialog.GetTable): Return id and geometry column
1178            names
1179            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
1180            selections in the table list
1181    
1182            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
1183            and geometry_column
1184    
1185            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
1186            parameters for id_column and geometry column of PostGISShapeStore
1187            here as well.
1188    
1189            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
1190            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
1191            (PostGISConnection.GeometryTables): Use a better query to
1192            determine which relations in the database might be usable for
1193            shapestores.  Now supports views as well but is more PostgreSQL
1194            specific
1195            (PostGISConnection.table_columns): New. Somewhat experimental
1196            method to let the db dialogs provide lists of columns to users so
1197            that they can select id and geometry columns.
1198            (PostGISTable.__init__): The default value of the id_column
1199            parameter is now None it still means "gid" effectively, though.
1200            (PostGISTable.IDColumn): New introspection method to return a
1201            column object for the id column
1202            (PostGISShapeStore.GeometryColumn): New introspection method to
1203            return a column object for the geometry column
1204    
1205            * test/test_postgis_db.py
1206            (TestPostGISConnection.test_gis_tables_non_empty):
1207            Removed. Subsumed by the new:
1208            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
1209            New. Tes the GeometryTables and table_columns methods with actual
1210            tables and views.
1211            (PointTests.test_id_column, PointTests.test_geometry_column):
1212            New. tests for the new methods.
1213            (TestPostGISShapestorePoint.setUp)
1214            (TestPostGISShapestorePointSRID.setUp)
1215            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
1216            instance variables needed by the new tests
1217    
1218    2004-03-11  Bernhard Herzog  <[email protected]>
1219    
1220            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
1221            numbers given to ReadValue are ordinals.
1222    
1223    2004-03-11  Bernhard Herzog  <[email protected]>
1224    
1225            Elimiate the requirement for PostGIS tables to have a column
1226            called "gid".
1227    
1228            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
1229            id_column to specify which column to use to identify rows.  Also
1230            new instance variables id_column and quoted_id_column
1231            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
1232            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
1233            (PostGISTable.SimpleQuery): Use the id column name provided to the
1234            constructor instead of "gid"
1235            (PostGISShapeStore.__init__): New parameter id_column analogously
1236            to PostGISTable.__init__.  This parameter is simply passed through
1237            to the base class constructor
1238            (PostGISShapeStore._create_col_from_description): Fix typo in
1239            doc-string
1240            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
1241            (PostGISShapeStore.ShapesInRegion): Use the id column name
1242            provided to the constructor instead of "gid"
1243    
1244            * test/postgissupport.py
1245            (PostgreSQLServer.get_default_static_data_db): New static table
1246            landmarks_point_id with an id column != "gid.  Update the comments
1247            a bit.
1248            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
1249            doc-
1250            (upload_shapefile): New parameter gid_column to use a name other
1251            than "gid" for the column to store the shape ids
1252    
1253            * test/test_postgis_db.py (TableTests): New.  Mixin-class
1254            containing all tests previously in TestPostGISTable.  The actual
1255            tests are the same but the code is a bit more configurable to
1256            allow for different id columns etc.
1257            (TestPostGISTable): Derive from TableTests now for the actual
1258            tests.
1259            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
1260            except that it the landmarks_point_id table to test the id_column
1261            parameter
1262            (PointTests): Extend the doc-string
1263            (TestPostGISShapestorePointExplicitGIDColumn)
1264            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
1265            from PointTests to test the explicit id_column parameter.  One
1266            tests with the name of the column holding the shape ids, the other
1267            uses PostgreSQL's OID column.  For the latter a number of methods
1268            have to be overwritten to make them independent of the actual id
1269            values.
1270    
1271    2004-03-08  Silke Reimer  <[email protected]>
1272    
1273            Update debian directory:
1274    
1275            * debian/changelog: Added new version.
1276            * deiban/rules: Updated management of patches (with cbds)
1277            * debian/control: Added cbds to dependencies
1278            * debian/patches/*: New. Adds better support for patches of thuban in
1279                            debian
1280            * debian/menu: Syntax of menu changed slightly
1281            * debian/setup.py.patch: removed because it has been moved to
1282                            debian/patechs/setup.py.patch
1283            
1284    
1285    2004-02-26  Bernhard Herzog  <[email protected]>
1286    
1287            Create the Doc/technotes directory for text files with information
1288            for developers
1289    
1290            * Doc/technotes/README: New. README for the technotes
1291    
1292            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
1293            Thuban
1294    
1295            * Doc/technotes/release_process.txt: New. Used to be
1296            HOWTO-Release.  Now slightly adapted to technote formatting style.
1297    
1298            * HOWTO-Release: Removed.  It's contents are now in
1299            Doc/technotes/release_process.txt
1300    
1301    2004-02-25  Bernhard Herzog  <[email protected]>
1302    
1303            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
1304            version of wxWindows the module was compiled with so we can check
1305            that against the wxPython version.
1306    
1307            * Thuban/version.py (thuban_branch, thuban_release): New variables
1308            controlling which and how Thuban versions are shown.  See the
1309            comments for details.
1310            (verify_versions): Also check that the wx version that wxproj is
1311            compiled against matches that of the wxPython we use at runtime
1312    
1313    2004-02-20  Bernhard Herzog  <[email protected]>
1314    
1315            * Extensions/wms/wms.py (epsg_code_to_projection): Use
1316            get_system_proj_file to read the epsg projections.  The old way
1317            depended on the current directory being the top Thuban directory.
1318    
1319    2004-02-20  Bernhard Herzog  <[email protected]>
1320    
1321            * Extensions/svgexport/test/test_svgmapwriter.py
1322            (TestVirtualDC.test_clippath): Remove a debug print
1323    
1324    2004-02-20  Bernhard Herzog  <[email protected]>
1325    
1326            * Extensions/svgexport/__init__.py: New.  Turn
1327            Extensions/svgexport into a package.
1328    
1329            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
1330            doc-string a bit.  The doc-string must come first, otherwise it's
1331            not a doc-string.  The __future__ import must be the first thing
1332            after the doc-string.  Use only double quotes in doc-strings.
1333            Single quotes trip up emacs syntax highlighting if the text
1334            contains apostrophes.
1335    
1336    2004-02-20  Bernhard Herzog  <[email protected]>
1337    
1338            * Extensions/svgexport/test/__init__.py,
1339            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
1340            suite for svgexport
1341    
1342            * test/runtests.py (find_test_modules): New. Function with the
1343            module finding code from main.
1344            (main): Use find_test_modules to figure out the default test
1345            modules and take modules from Extensions.svgexport.test too.
1346    
1347    2004-02-19  Bernhard Herzog  <[email protected]>
1348    
1349            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
1350            the mainwindow has a reference to the map of the initial session.
1351            This fixes a bug introduced with the fix for RT#2245
1352    
1353    2004-02-19  Bernhard Herzog  <[email protected]>
1354    
1355            * Extensions/svgexport/svgsaver.py,
1356            Extensions/svgexport/svgmapwriter.py,
1357            Extensions/svgexport/maplegend.py: Added again.  This time in the
1358            correct place.
1359    
1360    2004-02-17  Bernhard Herzog  <[email protected]>
1361    
1362            Fix for RT#2245
1363    
1364            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
1365            instance variables before trying to create any windows.  Creating
1366            windows can start an event loop if e.g. message boxes are popped
1367            up for some reason, and event handlers, especially EVT_UPDATE_UI
1368            may want to access things from the application.
1369            (ThubanApplication.maps_changed): The mainwindow may not have been
1370            created yet, so check whether it has been created before calling
1371            its methods
1372    
1373            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
1374            have a map
1375    
1376    2004-02-17  Bernhard Herzog  <[email protected]>
1377    
1378            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
1379            Extensions/svgmapwriter.py, Extensions/maplegend.py,
1380            extensions/svgexport/svgsaver.py,
1381            extensions/svgexport/svgmapwriter.py,
1382            extensions/svgexport/maplegend.py: Removed.  These files were in
1383            the wrong places or didn't work at all.
1384    
1385    2004-02-16  Bernhard Herzog  <[email protected]>
1386    
1387            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
1388            line
1389    
1390    2004-02-16  Bernhard Herzog  <[email protected]>
1391    
1392            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
1393    
1394    2004-02-15  Markus Rechtien  <[email protected]>
1395            
1396            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
1397            to write a session to a file in SVG format.
1398            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
1399            to write a SVG map of a session.
1400            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
1401            in SVG format for the current session.
1402    
1403    2004-02-13  Bernhard Herzog  <[email protected]>
1404    
1405            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
1406            can't be created, return immediately after displaying the error
1407            message.
1408    
1409    2004-02-11  Bernhard Herzog  <[email protected]>
1410    
1411            Handle postgis tables with more than one geometry column.
1412    
1413            * Thuban/Model/postgisdb.py
1414            (PostGISTable._fetch_table_information): Delegate the creation of
1415            column objects to a different method so that we can extend that in
1416            derived classes
1417            (PostGISTable._create_col_from_description): New. Column object
1418            creation part of _fetch_table_information
1419            (PostGISShapeStore._create_col_from_description): New. Extend
1420            inherited method to handle geometry columns
1421            (PostGISShapeStore.__init__): New parameter geometry_column to
1422            specify which geometry column to use.  Optional but mandatory for
1423            tables with more than one geometry column
1424            (PostGISShapeStore._fetch_table_information): Also use the name of
1425            the geometry column when looking for the srid
1426            (PostGISShapeStore.ShapeType): Also use the name of the geometry
1427            column when looking for the shape type
1428    
1429            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
1430            NonConnectionStore to changes in the PostGISShapeStore
1431    
1432            * test/test_postgis_db.py
1433            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
1434            PostGISShapeStore with tables having two geometry columns.
1435    
1436    2004-02-10  Bernhard Herzog  <[email protected]>
1437    
1438            Fix some postgis problems.  What remains to be done is real
1439            handling of SRIDs as they affect how reprojection is done
1440    
1441            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
1442            doc-string
1443            (PostGISShapeStore._fetch_table_information): New. Extend
1444            inherited method to retrieve srid
1445            (PostGISShapeStore.BoundingBox): Handle tables without data.
1446            extent yields NULL for those
1447            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
1448    
1449            * test/test_postgis_db.py
1450            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
1451            for the special case of a table without any data
1452            (TestPostGISShapestorePointSRID): New class with tests for a table
1453            that uses srids
1454            (PolygonTests): Fix a doc-string typo
1455    
1456            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
1457            reference_systems with a specification of spacial reference
1458            systems to create in the new db.
1459            (PostgreSQLServer.new_postgis_db)
1460            (PostgreSQLServer.get_static_data_db): New parameter
1461            reference_systems to be passed through ultimately to
1462            PostGISDatabase.  In new_postgis_db also check whether an existing
1463            db already has the right srids
1464            (PostgreSQLServer.get_default_static_data_db): Add srids and a
1465            table that uses srids
1466            (PostGISDatabase.initdb): Create the entries for the reference
1467            systems
1468            (PostGISDatabase.has_data): Add reference_systems parameter to
1469            check for those too
1470            (upload_shapefile): New parameter srid to create tables with a
1471            specific srid
1472    
1473    2004-02-06  Frank Koormann  <[email protected]>
1474    
1475            * po/pt_BR.po: Fixed charset
1476    
1477    2004-02-05  Frank Koormann  <[email protected]>
1478    
1479            * po/pt_BR.po: Fixed format string for error message, missing %s
1480            added (Thuban/UI/application.py:273)
1481    
1482    2004-02-03  Frank Koormann  <[email protected]>
1483            
1484            First version of Portuguese (Brazilian) translation
1485    
1486            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
1487            Brazilian Portuguese by Eduardo Patto Kanegae.
1488    
1489            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
1490            translators.
1491    
1492    
1493    2004-01-22  Frank Koormann  <[email protected]>
1494    
1495            * Doc/manual/thuban-manual.xml: Added section on installation of
1496            Thuban under Win32 systems. Fixed image path references in the postgis
1497            section. Some minor source formattings.
1498    
1499    2004-01-21  Frank Koormann  <[email protected]>
1500    
1501            Make Thuban remember path selections (at least for one application run).
1502    
1503            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
1504            attribute of application object. Path is a dictionary of
1505            strings, currently with the items "data" and "projection".  
1506            (Application.SetPath): New, stores path for the specified item.
1507            (Application.Path): New, return path for the specified item.
1508    
1509            * Thuban/UI/mainwindow.py
1510            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
1511            MainWindow.AddLayer, MainWindow.AddRasterLayer,
1512            MainWindow.TableOpen): Access "data" path information of the
1513            application.
1514            
1515            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
1516            Access "projection" path information of the application.
1517    
1518    2004-01-05  Bernhard Herzog  <[email protected]>
1519    
1520            * po/ru.po: Updated translations from Alex Shevlakov
1521    
1522    2004-01-05  Bernhard Herzog  <[email protected]>
1523    
1524            * po/Makefile, po/README: Move the description of how to generate
1525            the translation statistics to the README.
1526    
1527    2003-12-23  Bernhard Herzog  <[email protected]>
1528    
1529            * NEWS: Update for 1.0.0
1530    
1531            * po/it.po: Another update from Maurizio Napolitano
1532    
1533    2003-12-23  Bernhard Herzog  <[email protected]>
1534    
1535            * po/it.po: Updated translation from Maurizio Napolitano
1536    
1537    2003-12-23  Bernhard Herzog  <[email protected]>
1538    
1539            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
1540            for translation
1541    
1542            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
1543            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
1544            strings for translation
1545    
1546            * po/de.po: Update with the newly marked strings.
1547    
1548    2003-12-22  Bernhard Herzog  <[email protected]>
1549    
1550            * HOWTO-Release: Fix the places where version numbers have to be
1551            updated
1552    
1553    2003-12-22  Bernhard Herzog  <[email protected]>
1554    
1555            * setup.py (setup call): 1.0.0, yeah!
1556    
1557            * Thuban/version.py (longversion): 1.0.0, yeah!
1558    
1559            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
1560            1.0.0 namespace too
1561    
1562            * Thuban/Model/save.py (SessionSaver.write_session): Save with
1563            1.0.0 namespace
1564    
1565            * test/test_load.py (LoadSessionTest.dtd)
1566            (TestSingleLayer.file_contents)
1567            (TestNonAsciiColumnName.file_contents)
1568            (TestLayerVisibility.file_contents)
1569            (TestClassification.file_contents, TestLabels.file_contents)
1570            (TestLayerProjection.file_contents)
1571            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1572            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
1573            (TestPostGISLayerPassword.file_contents)
1574            (TestLoadError.file_contents, TestLoadError.test): Update for
1575            1.0.0 namespace
1576    
1577            * test/test_save.py (SaveSessionTest.dtd)
1578            (SaveSessionTest.testEmptySession)
1579            (SaveSessionTest.testSingleLayer)
1580            (SaveSessionTest.testLayerProjection)
1581            (SaveSessionTest.testRasterLayer)
1582            (SaveSessionTest.testClassifiedLayer)
1583            (SaveSessionTest.test_dbf_table)
1584            (SaveSessionTest.test_joined_table)
1585            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
1586    
1587    2003-12-22  Bernhard Herzog  <[email protected]>
1588    
1589            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
1590            alignment flags are byte strings not unicode and that they have
1591            valid values
1592    
1593            * test/test_load.py (TestLabelLayer): New. Test loading (and
1594            indirectly saving) of maps with labels.
1595    
1596    2003-12-22  Bernhard Herzog  <[email protected]>
1597    
1598            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
1599            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
1600            unsubscribe all subscribers.
1601            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
1602            self.grid since it may already have been destroyed.
1603            Fixes RT #2256
1604    
1605    2003-12-19  Bernhard Herzog  <[email protected]>
1606    
1607            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
1608    
1609    2003-12-16  Bernhard Herzog  <[email protected]>
1610            
1611            * debian/bitmappath.patch, debian/setup.py.patch:
1612                    added to ensure compliance with FHS for debian
1613            * debian/rules, debian/changelog:
1614                added patches in rules to ensure compliance with FHS for debian
1615    
1616    2003-12-16  Bernhard Herzog  <[email protected]>
1617    
1618            * po/Makefile (mo): Make the output a bit nicer so that it prints
1619            statistics about the translations. Add a comment how produce even
1620            nicer statistics with sed.
1621    
1622    2003-12-09  Frank Koormann   <[email protected]>
1623    
1624            * Resources/Projections/defaults.proj:
1625            French projection sample with correct accents (UNICODE).
1626    
1627    2003-12-05  Bernhard Herzog  <[email protected]>
1628    
1629            * MANIFEST.in: Add the devtools directory
1630    
1631            * setup.py (setup call): Use license instead of licence. This
1632            silences a deprecation warning on Python 2.3
1633    
1634    2003-12-05  Frank Koormann   <[email protected]>
1635    
1636            Documentation synced with 1.0rc1
1637    
1638            * Doc/manual/thuban-manual.xml:
1639            Minor formatting changes and references to database layers .
1640            Introduction.Internationalization: New section on i18n.
1641            MapManagement.AddingandRemovingLayers: Added item on database layers.  
1642            MapManagement.TheLegend: Added section and screenshot on popup menu.
1643            ProjectionManagement: Updated screenshot and sentence on EPSG.
1644            Appendix.SupportedDataSources: Added PostGIS.
1645            Appendix.WorkingwithPostGIS: New section.
1646    
1647            * Doc/manual/images/6_projection.png: Updated screenshot including
1648            EPSG checkboxes.
1649    
1650            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
1651    
1652            * Doc/manual/images/app_postgis_add_layer.png,
1653            Doc/manual/images/app_postgis_db_add.png,
1654            Doc/manual/images/app_postgis_db_management.png:
1655            New screenshots focussing on database layers
1656    
1657    2003-12-05  Frank Koormann   <[email protected]>
1658    
1659            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
1660            write warning to stderr instead of rising a warning dialog
1661    
1662    2003-12-03  Bernhard Herzog  <[email protected]>
1663    
1664            Fix for RT #2243
1665    
1666            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
1667            New. Like has_selected_layer but for shape layers only
1668            (_has_selected_shape_layer): New. Like _has_selected_layer but for
1669            shape layers only
1670            (layer_show_table command, layer_jointable command): Use these
1671            commands should only be available for shape layers
1672    
1673    2003-12-03  Bernhard Herzog  <[email protected]>
1674    
1675            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
1676            publishers that are wx objects and may have been destroyed by wx
1677            already. Fixes RT #2242.
1678    
1679    2003-12-03  Bernhard Herzog  <[email protected]>
1680    
1681            * po/ru.po: Updates from Alex Shevlakov
1682    
1683    2003-12-03  Silke Reimer <silkeintevation.de>
1684    
1685            * debian/control, debian/changelog: Added gdal-support to
1686                    debian package, updated to new thuban version
1687    
1688    
1689    2003-12-03  Bernhard Herzog  <[email protected]>
1690    
1691            * Thuban/Lib/version.py: New. Module for version number
1692            manipulations. The version of make_tuple here also deals better
1693            with more unusual version number strings, such as e.g.
1694            "1.2+cvs20031111"
1695    
1696            * Thuban/version.py (make_tuple): Removed. It's now in
1697            Thuban.Lib.version. Use that implementation instead.
1698    
1699            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
1700    
1701    2003-12-02  Bernhard Herzog  <[email protected]>
1702    
1703            * MANIFEST.in: Add debian files
1704    
1705            * setup.py (setup call): Add packages for the Extensions so that
1706            they're installed too
1707            (data_files): Add READMEs and sample data from some Extensions
1708    
1709            * NEWS: Add note about the extensions in binary packages
1710    
1711    2003-12-02  Bernhard Herzog  <[email protected]>
1712    
1713            * Thuban/Model/save.py (SessionSaver.write_session): Save files
1714            with the thuban-1.0rc1
1715    
1716            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
1717            thuban-1.0rc1 namespace too
1718    
1719            * test/test_save.py (SaveSessionTest.dtd)
1720            (SaveSessionTest.testEmptySession)
1721            (SaveSessionTest.testSingleLayer)
1722            (SaveSessionTest.testLayerProjection)
1723            (SaveSessionTest.testRasterLayer)
1724            (SaveSessionTest.testClassifiedLayer)
1725            (SaveSessionTest.test_dbf_table)
1726            (SaveSessionTest.test_joined_table)
1727            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
1728            namespace
1729    
1730            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
1731            namespace
1732            (TestSingleLayer.file_contents)
1733            (TestNonAsciiColumnName.file_contents)
1734            (TestLayerVisibility.file_contents)
1735            (TestClassification.file_contents, TestLabels.file_contents)
1736            (TestLayerProjection.file_contents)
1737            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1738            (TestPostGISLayer.file_contents)
1739            (TestPostGISLayerPassword.file_contents)
1740            (TestLoadError.file_contents, TestLoadError.test): Update to
1741            thuban-1.0rc1 namespace
1742    
1743    2003-12-01  Bernhard Herzog  <[email protected]>
1744    
1745            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
1746            nt to better match Intevation's current w32 setup
1747    
1748            * HOWTO-Release: Add note about updating MANIFEST.in
1749    
1750            * MANIFEST.in: Add the Extensions
1751    
1752            * NEWS: Update for 1.0rc1
1753    
1754    2003-12-01  Bernhard Herzog  <[email protected]>
1755    
1756            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
1757            cards for the dialog so that shapefiles ending in all uppercase
1758            SHP are listed too
1759    
1760    2003-11-28  Bernhard Herzog  <[email protected]>
1761    
1762            * Thuban/version.py (longversion): Update to 1.0rc1
1763    
1764            * setup.py (setup call): Update version to 1.0rc1. Use the
1765            [email protected] email address as author email instead of my
1766            personal one.
1767    
1768    2003-11-28  Bernhard Herzog  <[email protected]>
1769    
1770            * po/de.po: Update german translation.
1771    
1772    2003-11-28  Bernhard Herzog  <[email protected]>
1773    
1774            Unify the filenames stored in .thuban files so that the .thuban
1775            files are more platform independend
1776    
1777            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
1778            that they can be used on both windows and unix
1779            (SessionSaver.prepare_filename): New. Handle all filename
1780            transformations for filenames stored in the thuban file
1781            (SessionSaver.write_data_containers, SessionSaver.write_layer):
1782            Use prepare_filename
1783    
1784            * test/test_save.py (SaveSessionTest.testSingleLayer)
1785            (SaveSessionTest.testLayerProjection)
1786            (SaveSessionTest.testRasterLayer)
1787            (SaveSessionTest.testClassifiedLayer)
1788            (SaveSessionTest.test_dbf_table)
1789            (SaveSessionTest.test_joined_table): Filenames are always stored
1790            with slashes on all currently supported platforms so adapt all
1791            tests to this
1792    
1793            * test/test_load.py (LoadSessionTest.filenames): With the new
1794            filename scheme the filenames in the tests should be
1795            understandable on all currently supported platforms so we turn
1796            this into an empty list because we don't have to normalize them
1797            anymore
1798    
1799    2003-11-28  Bernhard Herzog  <[email protected]>
1800    
1801            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
1802            Add the ellipsoid to the projection since some Proj versions
1803            complain if it's missing.
1804    
1805    2003-11-27  Bernhard Herzog  <[email protected]>
1806    
1807            Corect some bounding box projection problems
1808    
1809            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
1810            version of ForwardBBox
1811            (Projection._transform_bbox): New. common implementation of
1812            ForwardBBox and InverseBBox
1813            (Projection.ForwardBBox): Use _transform_bbox.
1814    
1815            * test/test_proj.py (TestProjection.test): Add test for
1816            InverseBBox
1817    
1818            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
1819            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
1820            new InverseBBox method to determine the unprojected bounding box
1821            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
1822            bbox.
1823    
1824            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
1825            Removed.
1826            (TestLayer.test_arc_layer_with_projection): New. This test is
1827            better able to test whether bounding boxes are projected correctly
1828            than test_point_layer_with_projection
1829    
1830            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
1831            InverseBBox to unproject bboxes
1832    
1833    2003-11-25  Bernhard Herzog  <[email protected]>
1834    
1835            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
1836            source code.
1837    
1838    2003-11-25  Bernhard Herzog  <[email protected]>
1839    
1840            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
1841            there for backwards compatibility and all code relying on that
1842            should have been updated by now.
1843    
1844    2003-11-25  Bernhard Herzog  <[email protected]>
1845    
1846            * test/test_load.py (TestClassification.test): Add the missing
1847            round trip test.
1848            (TestClassification.file_contents): Update to the newest file
1849            format
1850    
1851    2003-11-25  Bernhard Herzog  <[email protected]>
1852    
1853            Add very experimental (and possibly dangerous) extension to draw
1854            polygons:
1855    
1856            * Extensions/drawshape/README: New. Brief installation
1857            instructions
1858    
1859            * Extensions/drawshape/drawshape.py: New. Implementation of the
1860            drawshape extensions
1861    
1862            * Extensions/drawshape/patch.diff: Patch to apply before the
1863            extension can be used.
1864    
1865    2003-11-24  Bernhard Herzog  <[email protected]>
1866    
1867            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
1868            (ShapefileStore.__init__): Factor opening the shapefile into a
1869            separate method (the new _open_shapefile). This makes the code a
1870            bit more readable but the real reason is that it makes some evil
1871            hacks easier. :-)
1872    
1873    2003-11-24  Bernhard Herzog  <[email protected]>
1874    
1875            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
1876            converter is specified for an attribute assume it's a string
1877            containing only Latin1 characters. Update doc-string accordingly.
1878            This change should fix many places where unicode objects might
1879            accidentally enter Thuban.
1880    
1881            * test/test_load.py (TestNonAsciiColumnName): New test to check
1882            what happens with column names in DBF files that contain non-ascii
1883            characters
1884    
1885    2003-11-21  Bernhard Herzog  <[email protected]>
1886    
1887            Enable the experimental attribute editing again and introduce a
1888            command line switch to actually activate it
1889    
1890            * Thuban/UI/main.py (options): New. Container for options set on
1891            the commmand line
1892            (main): Add the --enable-attribute-editing flag.
1893    
1894            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
1895            editing is enabled use the grid ctrl which allows editing of the
1896            values
1897    
1898            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
1899            New. Just delegate this to the underlying table.
1900    
1901    2003-11-20  Bernhard Herzog  <[email protected]>
1902    
1903            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
1904            Skip this test if run under non-posix systems since it only works
1905            there
1906    
1907    2003-11-19  Bernhard Herzog  <[email protected]>
1908    
1909            * Thuban/Model/resource.py: Rework the way gdal support is
1910            determined so that we can give a reason in the about why gdal is
1911            not supported.
1912            (gdal_support_status): New. Variable holding a string with the
1913            reason for no gdal support
1914    
1915            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
1916            not supported to the message
1917    
1918    2003-11-19  Bernhard Herzog  <[email protected]>
1919    
1920            Remove the old table interface and its test cases
1921    
1922            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
1923            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
1924            anymore
1925    
1926            * Thuban/Model/transientdb.py (TransientTableBase)
1927            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
1928            anymore
1929    
1930            * test/test_table.py: Removed since the old interface it tests is
1931            gone.
1932    
1933            * test/runtests.py (main): The old table interface is gone and
1934            with it the deprecation warnings so remove the code that turns
1935            these warnings into errors
1936    
1937  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
1938    
1939          * test/test_table.py: Revert to revision 1.5 again. Changing the          * test/test_table.py: Revert to revision 1.5 again. Changing the
# Line 3582  Line 5518 
5518          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
5519          click on layer tree:          click on layer tree:
5520          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
5521          the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply          the ItemActivated  on double click, which raises the main window again.
5522            We add a second ItemActivated event to the queue, which simply
5523          raises the already displayed window.          raises the already displayed window.
5524    
5525          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.1960  
changed lines
  Added in v.2380

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26