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

Legend:
Removed from v.1977  
changed lines
  Added in v.2264

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26