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

Legend:
Removed from v.1965  
changed lines
  Added in v.2297

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26