/[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 924 by frank, Mon May 19 09:12:42 2003 UTC revision 1286 by jonathan, Mon Jun 23 10:31:01 2003 UTC
# Line 1  Line 1 
1    2003-06-23  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
4            to make sure that we don't create reentrant possibilities with
5            wxYield.
6    
7            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
8            directly to avoid the wxSafeYield() call which generates an
9            OnPaint event causing infinite recursion. Don't try to catch
10            exception anymore. This was for before there were limits on map
11            scaling.
12    
13    2003-06-23  Bernhard Herzog  <[email protected]>
14    
15            Bug fix for RT #1961:
16    
17            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
18            Register DerivedShapestores with the session
19    
20            * Thuban/Model/session.py (Session.Tables): Make sure each table
21            is only listed once.
22    
23            * test/test_load.py (TestJoinedTable.test): Add check_format call.
24            Update file contents to match the one written out.
25    
26    2003-06-20  Bernhard Herzog  <[email protected]>
27    
28            * test/xmlsupport.py (SaxEventLister.startElementNS)
29            (SaxEventLister.endElementNS): Do not include the qname. Python
30            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
31            is (presumably incorrectly) None, whereas it's a string with the
32            element name in the later versions.
33    
34            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
35            (TestEventList.test_even_list_namespace): Update tests to reflect
36            the new behaviour
37            (TestEventList.test_even_list_id_normalization): Fix doc-string
38    
39    2003-06-20  Jonathan Coles   <[email protected]>
40    
41            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
42            by deriving classes to determine if that layer supports shapes.
43            (Layer): Override HasShapes and return true.
44    
45            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
46            instead of a direct call to wx[Begin|End]CusyCursor().
47            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
48            table data.
49    
50            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
51            New. Wrappers around the wxWindows functions that allow us to
52            make additional calls such as wxYield which gives the native
53            system a chance to update the cursor correctly.
54    
55            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
56            instead of a direct call to wx[Begin|End]CusyCursor().
57    
58            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
59            instead of a direct call to wx[Begin|End]CusyCursor().
60            (MapCanvas.find_shape_at): Check if the current search layer
61            support shapes, otherwise go on to the next layer.
62    
63            * test/test_layer.py: Add tests in each type of layer for
64            HasClassification() and HasShapes()
65    
66    2003-06-20  Jonathan Coles   <[email protected]>
67    
68            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after
69            turning on the busy cursor to allow the system to change the
70            cursor before we begin painting. This fixes a problem that
71            was occuring only under GTK. Fixes RTbug #1840.
72    
73    2003-06-20  Bernhard Herzog  <[email protected]>
74    
75            * Resources/XML/thuban-0.8.dtd: New DTD for the new file format
76            version.
77    
78            * Thuban/Model/save.py (sort_data_stores): New. Make topological
79            sort of the data sources so they can be written with sources that
80            data sources that depend on other data sources come after the
81            sources they depend on.
82            (SessionSaver.__init__): Add idmap instance variable to map from
83            objects to the ids used in the file.
84            (SessionSaver.get_id, SessionSaver.define_id)
85            (SessionSaver.has_id): New. Methods to manage the idmap
86            (SessionSaver.write): Use thuban-0.8.dtd
87            (SessionSaver.write_session): Add a namespace on the session and
88            write out the data sources before the maps.
89            (SessionSaver.write_data_containers): New. Write the data
90            containers.
91            (SessionSaver.write_layer): Layer elements now refer to a
92            shapestore and don't contain filenames anymore.
93    
94            * Thuban/Model/load.py (LoadError): Exception class to raise when
95            errors in the files are discovered
96            (SessionLoader.__init__): Define dispatchers for elements with a
97            thuban-0.8 namespace too.
98            (SessionLoader.check_attrs): New helper method to check and
99            convert attributes
100            (AttrDesc): New. Helper class for SessionLoader.check_attrs
101            (SessionLoader.start_fileshapesource)
102            (SessionLoader.start_derivedshapesource)
103            (SessionLoader.start_filetable, SessionLoader.start_jointable):
104            Handlers for the new elements in the new fileformat
105            (SessionLoader.start_layer): Handle the shapestore attribute in
106            addition to filename.
107            (SessionLoader.start_table, SessionLoader.end_table): Removed.
108            They were never used in the old formats and aren't needed for the
109            new.
110    
111            * Thuban/Model/session.py (Session.DataContainers): New method to
112            return all "data containers", i.e. shapestores and tables
113    
114            * test/xmlsupport.py (SaxEventLister.__init__)
115            (SaxEventLister.startElementNS, sax_eventlist): Add support to
116            normalize IDs.
117    
118            * test/test_xmlsupport.py
119            (TestEventList.test_even_list_id_normalization): New test case for
120            id normalization
121    
122            * test/test_load.py (LoadSessionTest.check_format): Use ID
123            normalization
124            (LoadSessionTest.thubanids, LoadSessionTest.thubanidrefs): New
125            class atrributes used for ID normalization
126            (TestSingleLayer, TestLayerVisibility, TestLabels.test)
127            (TestLayerProjection.test, TestRasterLayer.test): Adapt to new
128            file format
129            (TestJoinedTable): New test for loading sessions with joined
130            tables.
131            (TestLoadError): New. Test whether missing required attributes
132            cause a LoadError.
133    
134            * test/test_save.py (SaveSessionTest.thubanids)
135            (SaveSessionTest.thubanidrefs): New class attributes for ID
136            normalization in .thuban files.
137            (SaveSessionTest.compare_xml): Use id-normalization.
138            (SaveSessionTest.testEmptySession)
139            (SaveSessionTest.testLayerProjection)
140            (SaveSessionTest.testRasterLayer)
141            (SaveSessionTest.testClassifiedLayer): Adapt to new file format.
142            (SaveSessionTest.testLayerProjection): The filename used was the
143            same as for testSingleLayer. Use a different one.
144            (SaveSessionTest.test_dbf_table)
145            (SaveSessionTest.test_joined_table): New test cases for saving the
146            new data sources structures.
147            (TestStoreSort, MockDataStore): Classes to test the sorting of the
148            data stores for writing.
149    
150            * test/runtests.py: Add CVS keywords
151    
152    2003-06-20  Jonathan Coles   <[email protected]>
153    
154            * test/test_session.py
155            (UnreferencedTablesTests.test_unreferenced_tables_with_joins):
156            Use the cultural_landmark-point.dbf file for the store so that
157            the table rows and shape count match.
158    
159    2003-06-20  Jonathan Coles   <[email protected]>
160    
161            * Thuban/Model/data.py (DerivedShapeStore.__init__): Raise
162            an exception if the number of shapes is different from the
163            number of rows in the table. Address RTbug #1933.
164    
165            * test/test_layer.py (TestLayer.test_derived_store): Add
166            a test for the new exception in DerivedShapeStore.__init__.
167    
168            * test/support.py (FloatTestCase): Removed since there is
169            already FloatComparisonMixin. Fixes RTbug #1954.
170            (FloatComparisonMixin.assertFloatEqual): Include test for
171            infinity that was part of FloatTestCase.
172    
173            * test/test_range.py (RangeTest): Inherit from
174            support.FloatComparisonMixin now that we don't have
175            support.FloatTestCase.
176    
177    2003-06-20  Bernhard Herzog  <[email protected]>
178    
179            * test/test_save.py (SaxEventLister, sax_eventlist): Removed. Use
180            the implementation in xmlsupport instead.
181            (SaveSessionTest.compare_xml): sax_eventlist is now in xmlsupport
182    
183            * test/test_proj.py: Import sax_eventlist from xmlsupport instead
184            of test_save
185    
186    2003-06-20  Bernhard Herzog  <[email protected]>
187    
188            * test/test_load.py (LoadSessionTest.check_format): New helper
189            method to make sure the test files we load might have been written
190            by the current thuban version.
191            (ClassificationTest.TestLayers, TestSingleLayer.test)
192            (TestLayerVisibility.test, TestClassification.test)
193            (TestLabels.test, TestLayerProjection.test, TestRasterLayer.test):
194            Add check_format() calls and fix the thuban data to match the data
195            that would be written by saving the session loaded from it.
196    
197            * test/xmlsupport.py (SaxEventLister, sax_eventlist): Copies of
198            the same class and function in test_save.
199    
200            * test/test_xmlsupport.py (TestEventList): New. test cases for
201            sax_eventlist
202    
203    2003-06-20  Bernhard Herzog  <[email protected]>
204    
205            * Resources/XML/thuban.dtd: Add comment about which versions of
206            Thuban are covered by this DTD
207            (map): Fix content model for layers and raster layers. There can
208            be any number or layers and raster layers in any order.
209    
210    2003-06-20  Jonathan Coles   <[email protected]>
211    
212            This is mainly about fixing RTbug #1949.
213    
214            * Thuban/Model/classification.py: Remove "from __future__"
215            import statement since python 2.2 is the earliest supported
216            version.
217    
218            * Thuban/Model/proj.py (Projection.GetProjectedUnits): New.
219            Currently returns PROJ_UNITS_METERS or PROJ_UNITS_DEGREES
220            depending on the units this projection *forwards* into.
221    
222            * Thuban/Model/save.py (SessionSaver.write_classification):
223            Remove unnecessary use of lambdas and nested functions.
224    
225            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Do scale
226            adjustment here if the map projection uses degrees.
227    
228            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Remove
229            scale adjust code since it is now done before calling
230            this method. Don't do anything if the map projection
231            is None.
232    
233    2003-06-19  Bernhard Herzog  <[email protected]>
234    
235            Move version specific load tests to their own file.
236    
237            * test/test_load.py: Expand the doc-string to explain a bit how to
238            handle file format changes.
239            (TestClassification.test): Update the docstring as this test is
240            not about Thuban 0.2 anymore.
241    
242            * test/test_load_0_2.py: New file with the load tests for thuban
243            files created with Thuban 0.2 and earlier.
244    
245    2003-06-19  Bernhard Herzog  <[email protected]>
246    
247            Add XML validation to some of the tests. Validation will only be
248            done if pyRXP is installed (http://reportlab.com/xml/pyrxp.html).
249            To make the DTD available to the test cases it's moved into
250            Resources/XML
251    
252            * Resources/XML/thuban.dtd: New. This is now the real Thuban DTD
253            for versions up to and including 0.2. Two slight changes: added an
254            encoding specification and fixed the comment which refered to
255            GRASS, not Thuban
256    
257            * test/xmlsupport.py: New support module for tests involving XML.
258            Currently there's a mix-in class for XML validation.
259    
260            * test/test_xmlsupport.py: New. Tests for the xmlsupport module
261    
262            * test/test_save.py (SaveSessionTest): Derive from ValidationTest
263            so that we can validate the
264            (SaveSessionTest.testEmptySession)
265            (SaveSessionTest.testSingleLayer)
266            (SaveSessionTest.testSingleLayer)
267            (SaveSessionTest.testLayerProjection)
268            (SaveSessionTest.testRasterLayer)
269            (SaveSessionTest.testClassifiedLayer): Validate the generated XML
270    
271            * test/runtests.py (main): Call print_additional_summary instead
272            of print_garbage_information
273    
274            * test/support.py (resource_dir): New function to return the
275            "Resource" subdirectory
276            (print_additional_summary): New function to combine several
277            summary functions
278            (run_tests): Use print_additional_summary instead of calling
279            print_garbage_information directly
280    
281    2003-06-19  Bernhard Herzog  <[email protected]>
282    
283            * Doc/thuban.dtd (classification): Correct the content model of
284            the classification element.
285            (projection): Add the "name" attribute
286    
287    2003-06-19  Frank Koormann   <[email protected]>
288    
289            MERGE from the greater-ms3 branch.
290    
291            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Apply conversion to
292            scale if projection is latlong to get better estimate.
293    
294            Fix problem of hidden properties dialog under windows after double
295            click on layer tree:
296            The tree control always gets an Expanded / Collapsed event after
297            the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply
298            raises the already displayed window.
299    
300            * Thuban/UI/legend.py (LegendTree.__init__): Instance variable
301            raiseProperties initialized to prevent endless loops
302            (LegendTree._OnItemActivated): Depending on self.raiseProperties
303            simply raise the properties or open the dialog and issue a second
304            event.
305    
306    2003-06-18  Jonathan Coles   <[email protected]>
307    
308            * setup.py: Fix a few problems that occured under Windows.
309    
310    2003-06-18  Jonathan Coles   <[email protected]>
311    
312            When Thuban loaded the map was redrawn twice because the
313            legend was being opened after the mainwindow was created
314            and not during its creation. This meant the map was drawn
315            initially and then had to be redrawn when the legend
316            caused the display to change. Now the legend is opened
317            in the mainwindow constructor which resolves this issue.
318    
319            Also, although we were checking for the existence of
320            gdal and gdalwarp modules, the gdalwarp extension was
321            still being compiled (which may fail if the system doesn't
322            have gdal installed). the build_ext command to setup.py
323            now accepts the flags --with-gdal and --without-gdal.
324            If --without-gdal is specified setup.py will try to
325            use the gdal parameters specified by gdal-config. Under
326            windows, those parameters have to be set in setup.py
327            as with proj4 an wxWindows.
328    
329            * setup.py: Use a list instead of seperate variables for
330            extension parameters so we can create a generic function
331            that runs an appropriate *-config script.
332            (run_cs_script): Renamed from run_wx_script and modified
333            to accept a second argument which is a list of lists to
334            be filled in by the values returned from running the command.
335            (thuban_build_ext): New. Extends the build_ext command and
336            provides the options --with-gdal/--without-gdal which then
337            optionally includes the gdalwarp extension.
338    
339            * Thuban/Model/resource.py: First check if we can import
340            the gdalwarp Thuban extension before checking for gdal.
341            Also added some comments.
342            
343            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Check if
344            the map is None which may be the case if none has been loaded
345            yet.
346    
347            * Thuban/UI/main.py (main): Remove call to ShowLegend.
348    
349            * Thuban/UI/mainwindow.py (MainWindow.__init__): Call ShowLegend().
350    
351            * Thuban/UI/renderer.py: Check for gdal support before importing
352            gdalwarp.
353            (MapRenderer.render_map): Only try to optimize if we have gdal
354            support otherwise nothing will get drawn.
355    
356            * Thuban/UI/view.py (MapCanvas.FitMapToWindow): This may be called
357            during startup before a map has been created. Check if map is None
358            before using it and do nothing if it is.
359    
360    2003-06-17  Jonathan Coles   <[email protected]>
361    
362            Fix the problem with raster layers under Windows that caused
363            Thuban to crash. The view should respond to layer projection
364            changed events to update the display. Changes to a projection
365            should not cause the map to be set to full extent.
366            
367            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
368            current_map_proj to remember the current map projection so that
369            when the projection changes we know what the previous projection
370            was.
371            (MapCanvas.SetMap): Unsubscribe and subscribe to
372            LAYER_PROJECTION_CHANGED events.
373            (MapCanvas.projection_changed): Split into two methods that respond
374            to map and layer projection changes.
375            (MapCanvas.map_projection_changed): New. Takes the current view and
376            projects it using the new projection. This does not cause the
377            map to be redrawn at full extent.
378            (MapCanvas.layer_projection_changed): New. Cause a redraw which
379            will draw each layer in its new projection.
380            
381            * extensions/thuban/bmpdataset.cpp (BMPDataset::Open): Call
382            VSIFClose() not VSIFCloseL() to close the file. Fixes a crash
383            under Windows.
384            
385            * extensions/thuban/gdalwarp.cpp (MFILENAME): Padding should be
386            to twice sizeof(void*) because there are two digits for each
387            hex byte.
388    
389    2003-06-16  Bernhard Herzog  <[email protected]>
390    
391            Update to the layer interface: Direct access to the table,
392            shapetable, shapefile and filename attributes is now actively
393            deprecated by issuing deprecation warnings for all places where
394            this happens.
395    
396            * Thuban/Model/layer.py (Layer.__getattr__): New. Implement access
397            to the instance variables table, shapetable, shapefile and
398            filename via __getattr__ so that we can issue a deprecation
399            warning.
400            (Layer.SetShapeStore): Don't set the deprecated instance variables
401            any more
402            (Layer.SetShapeStore): Don't use deprecated layer instance
403            variables
404            (Layer.Destroy): No need to explicitly remove the instance
405            variables any more
406            (Layer.GetFieldType, Layer.Shape): Don't use deprecated layer
407            instance variables
408    
409            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
410            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve)
411            (GenQuantilesPanel.GetList, GenQuantilesPanel.OnRetrieve): Don't
412            use deprecated layer instance variables
413    
414            * Thuban/UI/classifier.py (Classifier.__init__): Don't use
415            deprecated layer instance variables
416    
417            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
418            (IdentifyGridCtrl.selected_shape): Don't set the deprecated layer
419            instance variables
420    
421            * Thuban/UI/tableview.py (LayerTableGrid.select_shapes): Don't use
422            deprecated layer instance variables
423    
424            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Don't use
425            deprecated layer instance variables
426    
427            * Thuban/Model/save.py (SessionSaver.write_layer): Don't use
428            deprecated layer instance variables
429    
430            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer)
431            (MapRenderer.polygon_render_param): Don't use deprecated layer instance
432            variables
433    
434            * test/runtests.py (main): Turn Thuban's deprecation warnings into
435            errors so that they're cought by the tests
436    
437            * test/test_load.py (TestSingleLayer.test): Don't use deprecated
438            layer instance variables
439    
440    2003-06-16  Jonathan Coles   <[email protected]>
441    
442            Fix a problem under Windows whereby if the user double-clicks on a
443            layer in the legend that tree item will expand or collapse as well
444            as open the layer properties dialog. The state of the tree item
445            should not be affected.
446    
447            * Thuban/UI/legend.py (LegendTree.__init__): Add instance variable
448            preventExpandCollapse and subscribe to expanding and collapsing
449            events.
450            (LegendTree.OnItemExpandCollapse): New. Responds to expanding and
451            collapsing events and will veto the event if it has been triggered
452            by the user double clicking on a layer.
453            (LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
454            that an expanding/collapsing event should be vetoed.
455    
456    2003-06-13  Bernhard Herzog  <[email protected]>
457    
458            * Thuban/UI/classifier.py (Classifier.OnClose)
459            (Classifier.map_layers_removed)
460            (Classifier.layer_shapestore_replaced): Unsubscribe the messages
461            in OnClose and not in map_layers_removed or
462            layer_shapestore_replaced to make sure it always happens when the
463            dialog is closed
464    
465    2003-06-13  Jonathan Coles   <[email protected]>
466    
467            This puts back a fix for Windows where a panel is needed so that
468            the background of the table view appears correctly.
469    
470            * Thuban/UI/tableview.py (TableFrame.__init__): Add a panel
471            object that can be used by derived classes to place any
472            controls (including the grid) onto.
473            (QueryTableFrame.__init__): Use the panel as the parent window
474            for all the controls. Reparent the grid so that the panel is
475            the parent. Call UpdateStatusText() to correctly initialize
476            the status bar.
477    
478    2003-06-13  Jonathan Coles   <[email protected]>
479    
480            * Thuban/UI/dialogs.py (ThubanFrame): New: a class that inherits
481            from wxFrame (as opposed to wxDialog like the other classes)
482            but otherwise behaves like the other classes. This is needed
483            for the TableView which isn't really a dialog and needs to
484            have a status bar and control buttons.
485    
486            * Thuban/UI/tableview.py (TableGrid.__init__): Create an
487            instance variable to keep track of how many rows are selected.
488            Subscribe once to the the events we are interested in.
489            (ThubanGrid.OnRangeSelect): Only handle event if event handling
490            hasn't been turned off.
491            (ThubanGrid.OnSelectCell): Only handle event if event handling
492            hasn't been turned off.
493            (ThubanGrid.ToggleEventListeners): Rather than subscribe None
494            as an event listener (which changes the event handler stack)
495            simply set an instance variable to False. This is checked in
496            the event handlers.
497            (ThubanGrid.GetNumberSelected): Return the number of currently
498            selected rows.
499            (TableFrame): Inherit from ThubanFrame so we can have a
500            status bar and control buttons.
501            (QueryTableFrame.__init__): Create a status bar. Fixes RTbug #1942.
502            Explicitly set which items are selected in the operator choice and
503            action choice so there is always a valid selection. Fixes RTbug #1941.
504            Subscribe to grid cell selection events so we can update the
505            status bar.
506            (QueryTableFrame.UpdateStatusText): Update the status bar with
507            how many rows are in the grid, how many columns, and how many
508            rows are selected.
509            (QueryTableFrame.OnGridSelectRange, QueryTableFrame.OnGridSelectCell):
510            Call UpdateStatusText when cells are (de)selected.
511            (QueryTableFrame.OnQuery): Use the string value in the value
512            combo if either the selected item index is 0 or if the string
513            cannot be found in the predefined list (this happens if the
514            user changes the text). Fixes RTbug #1940.
515            Only turn off the grid event listeners if there a query comes
516            back with a none empty list of ids. in the case that the list
517            is empty this causes a grid.ClearSelection() call to actually
518            clear the grid selection which causes the selected items in
519            the map to be deselected. Fixes RTbug #1939.
520    
521            * test/test_save.py (XMLWriterTest.Encode): Check return values.
522            Fixes RTbug #1851.
523    
524    2003-06-13  Bernhard Herzog  <[email protected]>
525    
526            * Thuban/UI/identifyview.py (IdentifyView.__init__): Call
527            self.selected_shape with the current selection to make sure the
528            contents of the dialog are up to date when it's shown for the
529            first time.
530            The dialog used to work without this by luck. The recent fix to
531            the connector module 'broke' a 'feature' the identify view was
532            relying on, i.e that subscribing to a message in response to
533            receiving a message of that type would mean that the new
534            subscriber would also be called for the same message.
535            
536    2003-06-12  Jonathan Coles   <[email protected]>
537    
538            * extensions/thuban/gdalwarp.cpp: Removed debug printing as
539            the image is rendered. Fixes RTbug #1937.
540    
541    2003-06-12  Jonathan Coles   <[email protected]>
542    
543            * Thuban/Lib/fileutil.py: As is done under Windows, create the
544            user directory if it doesn't exist on a posix system.
545            Fixes RTbug #1815.
546    
547            * Thuban/Model/resource.py (get_user_proj_files): Moved the
548            called to get_application_dir here, so that the directory
549            will only be called if this method is invoked.
550    
551            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): Clear
552            the projfilepath if no projection is selected.
553    
554    2003-06-12  Jonathan Coles   <[email protected]>
555    
556            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Don't draw
557            the scalebar if the current map has no projection set.
558    
559            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): Set the
560            projfilepath label to just the basename of the projection file
561            rather than include the entire path.
562    
563            * Thuban/Model/resource.py: Fix missed proj functions that
564            needed to be renamed.
565    
566    2003-06-12  Jonathan Coles   <[email protected]>
567    
568            * Thuban/Model/classification.py: Removed assert statements that
569            tested if the variable was an instance of Color.
570    
571            * Thuban/Model/color.py (Color): Remove commented code that isn't
572            used.
573            (Transparent): Renamed from NoColor. Doesn't inherit from Color.
574            Fixes RTbug #1835.
575            (Transparent.__eq__, Transparent.__ne, Transparent.__repr): New.
576            Needed now that the class doesn't inherit from Color.
577    
578    2003-06-12  Jonathan Coles   <[email protected]>
579    
580            * test/test_save.py (XMLWriterTest.testEncode): Explicitly
581            check unicode strings.
582    
583            * test/test_layer.py: Check for existence of gdal.
584    
585    2003-06-12  Jonathan Coles   <[email protected]>
586        
587            * Thuban/Model/xmlreader.py: New. Contains the XMLReader class
588            that was in load.py
589    
590            * Thuban/Model/xmlwriter.py: New. Contains the XMLWriter class
591            that was in save.py
592    
593    2003-06-12  Jonathan Coles   <[email protected]>
594    
595            This is largely a collection of bug fixes. We also handle the
596            case where gdal is not on the system. The XMLReader and XMLWriter
597            classes were moved into there own files to resolve some circular
598            import references and because they shouldn't really be in the
599            file that is dediciated to reading/writing session files since
600            they are also used elsewhere.
601    
602            * Thuban/Model/classgen.py: Renamed functions to follow the
603            function_names_with_underscores style. Fixes RTbug #1903.
604            (calculate_quantiles): Raise ValueError if 'percents' is invalid.
605    
606            * Thuban/Model/layer.py: Import gdal only if it available.
607            (RasterLayer): Handle the case where the gdal library is unavailable.
608            Addresses RTbug #1877.
609    
610            * Thuban/Model/load.py (XMLReader): Moved into seperate file
611            xmlreader.py.
612    
613    2003-06-12  Jonathan Coles   <[email protected]>
614    
615            This is largely a collection of bug fixes. We also handle the
616            case where gdal is not on the system. The XMLReader and XMLWriter
617            classes were moved into there own files to resolve some circular
618            import references and because they shouldn't really be in the
619            file that is dediciated to reading/writing session files since
620            they are also used elsewhere.
621    
622            * Thuban/Model/classgen.py: Renamed functions to follow the
623            function_names_with_underscores style. Fixes RTbug #1903.
624            (calculate_quantiles): Raise ValueError if 'percents' is invalid.
625    
626            * Thuban/Model/layer.py: Import gdal only if it available.
627            (RasterLayer): Handle the case where the gdal library is unavailable.
628            Addresses RTbug #1877.
629    
630            * Thuban/Model/load.py (XMLReader): Moved into seperate file
631            xmlreader.py.
632    
633            * Thuban/Model/save.py (escape, XMLWriter): Moved into seperate
634            file xmlwriter.py.
635    
636            * Thuban/Model/resource.py: Renamed functions to following the
637            function_names_with_underscores style.
638            (has_gdal_support): New function that returns true if the gdal
639            library is available. Addresses RTbug #1877.
640    
641            * Thuban/UI/application.py (ThubanApplication.OpenSession):
642            Display a message box if the gdal library is not available, but
643            only if there are any layers that would use it. Addresses RTbug #1877.
644    
645            * Thuban/UI/classgen.py: Use renamed projection resource functions.
646            (GenUniformPanel.__CalcStepping): Fix a slight discrepency
647            when using integers versus floats.
648    
649            * Thuban/UI/mainwindow.py (_has_gdal_support): New. Used to
650            determine if the "Add Image Layer" menu option should be
651            greyed out or not. Addresses RTbug #1877.
652    
653            * Thuban/UI/projdialog.py: Use renamed projection resource functions.
654    
655            * Thuban/UI/renderer.py (MapRenderer.render_map): Only try to
656            optimize if a raster layer is visible. Fixes RTbug #1931.
657            Only draw the raster layer if the gdal library is available.
658            Addresses RTbug #1877.
659    
660            * test/test_classgen.py: Add tests for generate_singletons,
661            generate_uniform_distribution, generate_quantiles. Fixes RTbug #1903.
662            (test_calculate_quantiles): Fix some tests to catch the new
663            ValueError that is raised.
664    
665            * test/test_proj.py: Use renamed projection resource functions.
666    
667            * test/test_save.py (SaveSessionTest.testClassifiedLayer): New
668            test for saving classified layers. Fixes RTbug #1902.
669            (XMLWriterTest): New. Tests the XMLWriter class. Fixes RTbug #1851.
670    
671    2003-06-12  Jan-Oliver Wagner <[email protected]>
672    
673            Fix for http://intevation.de/rt/webrt?serial_num=1900.
674    
675            * Thuban/UI/multiplechoicedialog.py: New. A multiple choice dialog.
676    
677            * Thuban/UI/mainwindow.py: import wxMultipleChoiceDialog from
678            multiplechoicedialog.py rather than from the wxPython library.
679    
680    2003-06-11  Frank Koormann  <[email protected]>
681    
682            * Thuban/Lib/fileutil.py (get_application_dir): Minor stability
683            update.
684    
685    2003-06-11  Frank Koormann  <[email protected]>
686    
687            * Thuban/Lib/fileutil.py (get_application_dir): New function to
688            determine the absolute .thuban/thuban directory under
689            "posix" (os.expanduser) and "nt" (read AppData registry key).
690    
691            * Thuban/Model/resource.py: Use get_application_dir
692    
693            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
694            Use get_application_dir.
695    
696    2003-06-10  Bernhard Herzog  <[email protected]>
697    
698            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Subscribe to
699            the messages MAP_LAYERS_REMOVED messages
700            (LayerTableFrame.OnClose): Unsubscribe from it.
701            (LayerTableFrame.map_layers_removed): New. Receiver for
702            MAP_LAYERS_REMOVED. Close the dialog when the layer whose the
703            dialog is showing is removed.
704    
705    2003-06-10  Bernhard Herzog  <[email protected]>
706    
707            * Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy
708            of the receivers list so that unsubscribing in a receiver doesn't
709            modify it while iterating over it.
710    
711            * test/test_connector.py
712            (ConnectorTest.test_disconnect_in_receiver): New. Test whether
713            unsubscribing in a receiver works correctly. See docstring for
714            details
715    
716    2003-06-10  Bernhard Herzog  <[email protected]>
717    
718            * Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New
719            message.
720    
721            * Thuban/Model/layer.py (Layer.SetShapeStore): Send
722            LAYER_SHAPESTORE_REPLACED when the shapestore changes. A
723            LAYER_CHANGED will still be sent if the classification changes.
724    
725            * Thuban/UI/classifier.py (Classifier.__init__): Add the map as
726            parameter so we can subscribe to some of its messages
727            (Classifier.__init__): Subscribe to the map's MAP_LAYERS_REMOVED
728            and the layer's LAYER_SHAPESTORE_REPLACED
729            (Classifier.unsubscribe_messages): New. Unsubscribe from message
730            subscribed to in __init__
731            (Classifier.map_layers_removed)
732            (Classifier.layer_shapestore_replaced): receivers for the messages
733            subscribed to in __init__. Unsubscribe and close the dialog
734    
735            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): Pass
736            the map to the Classifier dialog
737    
738            * test/test_layer.py (SetShapeStoreTests): Derive from
739            SubscriberMixin as well so we can test messages
740            (SetShapeStoreTests.setUp): Subscribe to some of the layer's
741            messages
742            (SetShapeStoreTests.tearDown): Clear the messages again
743            (SetShapeStoreTests.test_sanity): Expand the doc-string and check
744            for the modified flag too
745            (SetShapeStoreTests.test_set_shape_store_modified_flag): New test
746            to check whether SetShapeStore sets the modified flag
747            (SetShapeStoreTests.test_set_shape_store_different_field_name)
748            (SetShapeStoreTests.test_set_shape_store_same_field)
749            (SetShapeStoreTests.test_set_shape_store_same_field_different_type):
750            Add tests for the messages. This checks both the new
751            LAYER_SHAPESTORE_REPLACED and the older LAYER_CHANGED
752    
753    2003-06-06  Jan-Oliver Wagner <[email protected]>
754    
755            * Thuban/UI/mainwindow.py: Improved and partly added help texts for
756            the menu items.
757    
758    2003-06-05  Frank Koormann  <[email protected]>
759    
760            * Thuban/UI/identifyview.py (IdentifyView.__init__):
761            Layout reimplemented without panel. Make life easier to fit the list
762            in the dialog.
763    
764    2003-06-05  Frank Koormann  <[email protected]>
765    
766            * Thuban/UI/projdialog.py (ProjFrame.__init__): Fill the projchoice
767            once on initialisation (Former implementation resulted in multiple
768            entries for each projection).
769            (ProjFrame.__FillAvailList): selectProj as second optional parameter,
770            if set, select the projection found under the specified name. This
771            overwrites any other selection estimate.
772            Removed projchoice filling from this method.
773            (ProjFrame._OnSave, ProjFrame._OnAddToList):
774            Updated call of ProjFrame.__FillAvailList
775            (LCCPanel._DoLayout): Moved parameter controls in more common order.
776    
777            * Resources/Projections/defaults.proj: Extended defaults representing
778            various common European projections.
779    
780    2003-06-05  Frank Koormann  <[email protected]>
781    
782            * Thuban/UI/identifyview.py (IdentifyView.__init__):
783            Use ListCtrl instead of GridCtrl
784    
785            * Thuban/Model/resource.py:
786            Guess location of .thuban directory from tempdir parent directory.
787    
788            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
789            Guess location of .thuban directory from tempdir parent directory.
790    
791    2003-06-04  Bernhard Herzog  <[email protected]>
792    
793            Do not cache the values returned by the tree widget's
794            GetFirstChild and GetNextChild methods because it led to lots of
795            segfaults. The new way requires more brute force but is more
796            reliable.
797    
798            * Thuban/UI/legend.py (LegendTree.__init__): Remove instance
799            variable layer2id
800            (LegendTree.find_layer): New method to do with brute force what
801            layer2id tried to accomplish
802            (LegendTree._OnMsgLayerChanged)
803            (LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer):
804            Use find_layer instead of layer2id
805            (LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to
806            update layer2id anymore
807            (LegendTree._OnMsgMapLayersRemoved)
808            (LegendTree._OnMsgMapLayersAdded): Get by without layer2id.
809    
810    2003-06-03  Thomas Koester  <[email protected]>
811    
812            * Thuban/Model/classgen.py (GenQuantiles0): New function.
813    
814    2003-06-02  Bernhard Herzog  <[email protected]>
815    
816            * Thuban/UI/mainwindow.py (layer_rename command, table_rename command):
817            New commands.
818            (main_menu): Add the new commands.
819            (MainWindow.TableRename): New. Implementation of the table_rename
820            command.
821            (MainWindow.RenameLayer): New. Implementation of the layer_rename
822            command.
823    
824            * Thuban/Model/session.py (Session.AddTable): call self.changed to
825            set the modified flag
826    
827            * test/test_session.py (TestSessionSimple.test_add_table): Test
828            whether the modified flag is set properly
829    
830            * Thuban/Model/base.py (TitledObject.SetTitle): Call changed
831            instead of issue so that the modified flags get updated.
832    
833            * test/test_base.py (SomeTitledObject): Derive from Modifiable
834            instead of Publisher to reflect reality better and to accomodate
835            the fact that SetTitle now calls changed instead of issue
836    
837    2003-06-02  Bernhard Herzog  <[email protected]>
838    
839            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource
840            acquisition has to happen before the try in a try-finally.
841    
842    2003-06-02  Bernhard Herzog  <[email protected]>
843    
844            * Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's
845            possible that a layer is removed that is not currently selected in
846            the legend so don't check for this.
847    
848    2003-05-30  Bernhard Herzog  <[email protected]>
849    
850            * Thuban/Model/layer.py (Layer.Destroy): Set all instance
851            variables to None that have direct or indirect references to
852            shapefiles or dbf files to make sure that they do go away and the
853            files are closed.
854    
855    2003-05-30  Bernhard Herzog  <[email protected]>
856    
857            * Thuban/UI/legend.py (LegendTree.GetRootItem): Reset
858            availImgListIndices when a new image list is created
859            
860    2003-05-30  Bernhard Herzog  <[email protected]>
861    
862            * Thuban/UI/legend.py (LegendTree.__init__): New instance variable
863            changing_selection to indicate whether the LegendTree code itself
864            is currently changing the selection
865            (LegendTree.normalize_selection): New method to normalize the
866            selection by selecting the layer item even if the user clicked on
867            the classification.
868            (LegendTree._OnSelChanged): normalize the selection. This works
869            around a bug in wx which doesn't keep track of the selection
870            properly when subtrees are deleted.
871    
872    2003-05-30  Bernhard Herzog  <[email protected]>
873    
874            * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the
875            maximum and minimum scale factors.
876    
877            * test/test_classgen.py (ClassGenTest.test): Update to reflect the
878            changes in classgen.py
879    
880    2003-05-30  Jonathan Coles   <[email protected]>
881    
882            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
883            all the methods functions. Fixes RTBug #1903.
884    
885            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
886            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
887            RTBug #1907.
888    
889            * Thuban/UI/classgen.py: Use classgen functions that were part
890            of the ClassGenerator class. Put try/finally blocks around
891            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
892            RTBug #1904.
893    
894            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
895    
896            * Thuban/UI/legend.py: The legend was cleared and repopulated any
897            time something changed which caused some state to be lost such
898            as which children were expanded or collapsed. Fixes RTBug #1901.
899            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
900            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
901            the legend but not in the map.
902            (LegendTree.__FillTree): Move main functionality out into smaller
903            methods that can be used by other methods.
904            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
905            if they are available.
906            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
907            that we override the wxTreeCtrl method. Iterate over children
908            and call __RemoveLayer.
909            (LegendTree.__AddLayer): New. Add a new layer to the legend.
910            (LegendTree.__RemoveLayer): Remove a layer from the legend.
911            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
912            Should only be called with the id of a layer branch.
913            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
914            Returns the root item or creates one if necessary.
915    
916            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
917            ProjectRasterFile with tuple arguments instead of strings.
918    
919            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
920            with try/finally. Fixes RTBug #1904.
921    
922            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
923            with try/finally. Fixes RTBug #1904.
924            (MapCanvas.FitSelectedToWindow): If a single point is selected
925            simply center it on the display. Fixes RTBug #1849.
926    
927            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
928            to be compiled as a standalone app. Now the code can only be
929            called from Python which simplifies the parameter passing.
930            (ProjectRasterFile): Handle Python arguments. Remove code that
931            checks for a destination dataset. Add more clean up code.
932    
933            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
934            TestMapWithContents.test_lower_layer_bottom):
935            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
936            Fixes RTBug #1907.
937    
938            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
939            extent to the map when the legend is toggled. Fixes RTBug #1881.
940    
941    2003-05-29  Jan-Oliver Wagner <[email protected]>
942    
943            * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now
944            unsubscribes all that is subcribed in __init__.
945    
946    2003-05-28  Bernhard Herzog  <[email protected]>
947    
948            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
949            (MainWindow.CanDuplicateLayer): New methods to implement the
950            Layer/Duplicate command.
951            (layer_duplicate command): New.
952            (main_menu): Add layer_duplicate to the Layer menu.
953    
954    2003-05-28  Bernhard Herzog  <[email protected]>
955    
956            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
957            renderer so that NULL/None values get displayed differently (by a
958            gray rectangle).
959            (TableGrid.__init__): Override the default renderers
960    
961    2003-05-28  Bernhard Herzog  <[email protected]>
962    
963            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
964            classification to "None" if the type of the field has changed.
965    
966            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
967            test for the Layer.SetShapeStore method
968    
969    2003-05-28  Jan-Oliver Wagner <[email protected]>
970    
971            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
972            does not necessarily have a filename).
973    
974    2003-05-28  Jan-Oliver Wagner <[email protected]>
975    
976            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
977            sort the selection list for the dialog.
978    
979    2003-05-28  Frank Koormann  <[email protected]>
980    
981            * extensions/thuban/wxproj.cpp
982            (project_point): Removed cast to int for projected point coordinates.
983            (shape_centroid): Return last point if all polygon vertices fall
984            to one point.
985    
986    2003-05-28  Bernhard Herzog  <[email protected]>
987    
988            * Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope
989            with layers that don't have shapestores, i.e. raster layers.
990    
991    2003-05-28  Bernhard Herzog  <[email protected]>
992    
993            * Thuban/Model/table.py (DBFTable.__init__): Omit the extension
994            when determining the title from the filename.
995    
996            * test/test_dbf_table.py (TestDBFTable.test_title): Update to
997            reflect changes in the way the title is derived from the filename
998    
999    2003-05-28  Frank Koormann  <[email protected]>
1000    
1001            * Thuban/UI/mainwindow.py (MainWindow.TableShow):
1002            Added wxDEFAULT_DIALOG_STYLE to show table dialog styles.
1003    
1004    2003-05-27  Bernhard Herzog  <[email protected]>
1005    
1006            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also
1007            delegate SelectedLayer.
1008            (MainWindow.LayerUnjoinTable): Implement.
1009            (_can_unjoin): New. Helper function for the sensitivity of the
1010            layer/unjoin command.
1011    
1012            * Thuban/Model/data.py (ShapefileStore.OrigShapeStore)
1013            (DerivedShapeStore.OrigShapeStore): New. Return the original
1014            shapestore. Used to figure out how to unjoin.
1015            (DerivedShapeStore.Shapefile): Fix a typo.
1016    
1017    2003-05-27  Bernhard Herzog  <[email protected]>
1018    
1019            * Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as
1020            well
1021            (JoinDialog.__init__): Use the layer parameter and only build the
1022            left choice when a layer is given
1023            (JoinDialog.OnJoin): Handle layer joins as well
1024            (JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case
1025            that the user selects the "Select..." item. The sensitivitly
1026            updating is now in update_sensitivity
1027            (JoinDialog.y): New method to refactor the sensitivity update of
1028            the join button into its own method.
1029    
1030            * Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement.
1031    
1032    2003-05-27  Bernhard Herzog  <[email protected]>
1033    
1034            * Thuban/UI/mainwindow.py (table_close command): Make it sensitive
1035            iff there are unreferenced tables in the session
1036    
1037    2003-05-27  Bernhard Herzog  <[email protected]>
1038    
1039            * Thuban/Model/messages.py (TABLE_REMOVED): New message.
1040    
1041            * Thuban/Model/session.py (Session.UnreferencedTables): New method
1042            to return tables that are not referenced by other tables or shape
1043            stores and can be removed.
1044            (Session.RemoveTable): Issue a TABLE_REMOVED message after
1045            removing the table
1046    
1047            * Thuban/UI/mainwindow.py: Remove unused imports
1048            (MainWindow.TableClose): Implement.
1049    
1050            * Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some
1051            messages so that the frame will be automatically closed when a new
1052            session is opened or the table is removed.
1053            (TableFrame.OnClose): Unsubscribe the Subscriptions made in
1054            __init__
1055            (TableFrame.close_on_session_replaced)
1056            (TableFrame.close_on_table_removed): New. Subscribers that close
1057            the window
1058    
1059            * test/test_session.py (TestSessionMessages.test_remove_table)
1060            (TestSessionSimple.test_remove_table): Move the test to
1061            TestSessionSimple and add test for the TABLE_REMOVED message
1062            (TestSessionBase.setUp): Also subscribe to TABLE_REMOVED
1063            (TestSessionSimple.test_unreferenced_tables) New. Test for the
1064            UnreferencedTables method.
1065            (UnreferencedTablesTests): New. Class with some more sophisticated
1066            tests for UnreferencedTables.
1067    
1068    2003-05-27  Frank Koormann  <[email protected]>
1069    
1070            * Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election"
1071            display has some unwanted side effects. Removed again.
1072    
1073    2003-05-27  Frank Koormann  <[email protected]>
1074    
1075            * Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend.
1076    
1077            * Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer"
1078    
1079    2003-05-27  Jan-Oliver Wagner <[email protected]>
1080    
1081            * test/test_menu.py (MenuTest.test): Added test for
1082            Menu.RemoveItem().
1083    
1084            * Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from
1085            the menu.
1086    
1087    2003-05-27  Frank Koormann  <[email protected]>
1088            
1089            Nonmodal dialogs without parent (i.e. they can fall behind the main
1090            window)
1091    
1092            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy
1093            all dialogs in the dialogs dictionary and the canvas.
1094    
1095            * Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without
1096            parent, i.e. can fall behind other windows.
1097            (NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog
1098            dictionary before removing it.
1099    
1100            * Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog
1101    
1102            * Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog
1103            * Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog
1104            * Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog
1105    
1106    2003-05-27  Bernhard Herzog  <[email protected]>
1107    
1108            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a
1109            tableview dialog
1110            (MainWindow.TableShow): Use ShowTableView to open the dialogs.
1111            Also, don't use the table's titles as the dialog names. The titles
1112            aren't guaranteed to be unique.
1113            (MainWindow.TableOpen): Open a table view dialog after opening the
1114            table
1115    
1116    2003-05-27  Bernhard Herzog  <[email protected]>
1117    
1118            * Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its
1119            effect can be achieved by simply closing the window showing the
1120            table.
1121            (MainWindow.TableHide): Removed.
1122            (main_menu): Removed "table_hide"
1123    
1124    2003-05-27  Frank Koormann  <[email protected]>
1125    
1126            Fix legend tree display problems under Win32
1127    
1128            * Thuban/UI/legend.py:  BMP_SIZE_W = 15
1129            (LegendTree.__FillTree): Display "legend_icon_map.xpm" with layer title.
1130            (LegendTree.__FillTreeLayer): Explicitely set SelectedImage.
1131    
1132            * Resources/Bitmaps/legend_icon_map.xpm: New icon for legend.
1133    
1134    2003-05-27  Jan-Oliver Wagner <[email protected]>
1135    
1136            * Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter
1137            'after' now allows to insert separators almost anywhere in the menu.
1138    
1139    2003-05-27  Frank Koormann  <[email protected]>
1140    
1141            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Underline the
1142            "S" of selection box label to hint on hot key (Alt-S). Works under
1143            Win32 but is ignored under GTK.
1144    
1145    2003-05-26  Frank Koormann  <[email protected]>
1146    
1147            * Thuban/UI/projdialog.py (ProjFrame.__do_layout, ProjPanel._DoLayout):
1148            Center Choices.
1149    
1150    2003-05-26  Bernhard Herzog  <[email protected]>
1151    
1152            Remove the Precision methods again. They're too DBF specific to be
1153            part of the table interface and they're only used in table_to_dbf
1154            anyway.
1155            
1156            * Thuban/Model/transientdb.py (TransientTableBase.Width):Use a
1157            fixed precision of 12 for doubles.
1158            (TransientTableBase.Precision): Removed
1159            (AutoTransientTable.Width): Delegate to self.table.
1160    
1161            * Thuban/Model/table.py (DBFTable.Precision)
1162            (MemoryTable.Precision): Removed.
1163            (MemoryTable.Width): Use a fixed precision of 12 for doubles.
1164            (table_to_dbf): Use a fixed precision of 12 for floats unless the
1165            column object specifies something else.
1166    
1167            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): New.
1168            test for table_to_dbf
1169    
1170    2003-05-26  Bernhard Herzog  <[email protected]>
1171    
1172            * test/test_transientdb.py
1173            (TestTransientTable.run_iceland_political_tests): Fix a comment.
1174    
1175    2003-05-26  Bernhard Herzog  <[email protected]>
1176    
1177            * Thuban/UI/mainwindow.py (MainWindow.TableOpen): Real
1178            implementation. Mark parts of the file format strings for
1179            localization.
1180    
1181            * Thuban/Model/session.py (Session.OpenTableFile): New. Open a dbf
1182            file and add the table to the tables managed by the session
1183    
1184            * test/test_session.py (TestSessionSimple.test_open_table_file):
1185            New. test case for OpenTableFile
1186    
1187    2003-05-26  Jan-Oliver Wagner <[email protected]>
1188    
1189            * Thuban/UI/controls.py, Thuban/UI/identifyview.py, Thuban/UI/join.py,
1190            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py,
1191            Thuban/UI/proj4dialog.py, Thuban/UI/tableview.py, Thuban/UI/view.py:
1192            Replace the true/false of wxWindows by True/False of Python 2.2.1.
1193    
1194    2003-05-26  Jan-Oliver Wagner <[email protected]>
1195    
1196            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is
1197            already a selection present, update the grid accordingly.
1198    
1199            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
1200            resizeable and increase its initial size.
1201    
1202    2003-05-26  Frank Koormann  <[email protected]>
1203    
1204            Table export functionality
1205    
1206            * Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width):
1207            Return width (in characters) for a column.
1208            (DBFTable.Precision, MemoryTable.Precision): Return decimal precision.
1209            (table_to_dbf): Write table to dbf file.
1210            (table_to_csv): Write table to csv file.
1211    
1212            * Thuban/Model/transientdb.py (TransientTableBase.Width,
1213            TransientTableBase.Precision): Return column width and precision.
1214    
1215            * Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf
1216            or table_to_csv depending on file selection.
1217    
1218            * test/test_dbf_table.py:
1219            Test table_to_dbf (extension of former part of test).
1220    
1221            * test/test_csv_table.py:
1222            Test table_to_csv.
1223    
1224    2003-05-23  Jan-Oliver Wagner <[email protected]>
1225    
1226            * Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings.
1227            Use QueryTableFrame instead of TableFrame.
1228    
1229            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the
1230            table window with 'Layer Table:' instead of 'Table:'.
1231    
1232    2003-05-23  Jan-Oliver Wagner <[email protected]>
1233    
1234            Give all tables a title via mix-in TitledObject.LayerShowTable
1235    
1236            * Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue'
1237            only if it exists.
1238    
1239            * Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject
1240            and call its init-method with a default title. Remove Title() method.
1241    
1242            * Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable,
1243            AutoTransientTable): mix-in TitledObject and call its init-method with
1244            a default title. Remove Title() method.
1245    
1246    2003-05-23  Bernhard Herzog  <[email protected]>
1247    
1248            * Thuban/Model/session.py (Session.AddShapeStore): Define
1249            AddShapeStore analogously to AddTable.
1250    
1251            * test/test_session.py (TestSessionSimple.test_add_shapestore):
1252            New. Test for AddShapeStore
1253    
1254    2003-05-23  Jan-Oliver Wagner <[email protected]>
1255    
1256            Introducing QueryTableFrame and a very coarse ShowTable implementation.
1257    
1258            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
1259            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
1260            The latter implements the selection GUI without dependency on a layer.
1261            LayerTableFrame now is derived from QueryTableFrame and connects
1262            to a layer.
1263    
1264            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
1265            implementation that still needs work.
1266    
1267            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
1268    
1269    2003-05-22  Frank Koormann  <[email protected]>
1270    
1271            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
1272            Added "outer_join = False" as optional parameter.
1273            (TransientJoinedTable.create): If outer join is true, perform a
1274            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
1275            the left table. Records not matching are filled with 0 / None.
1276    
1277            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
1278            (JoinDialog.OnJoin): Consider outer join check box.
1279    
1280    2003-05-22  Bernhard Herzog  <[email protected]>
1281    
1282            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
1283            somewhat safer way. Storing the traceback in a local variable can
1284            lead to memory leaks
1285    
1286    2003-05-22  Bernhard Herzog  <[email protected]>
1287    
1288            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
1289            the wxMessageDialog's Destroy() method.
1290    
1291    2003-05-22  Frank Koormann  <[email protected]>
1292    
1293            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
1294            TransientTable.Title()
1295    
1296    2003-05-22  Frank Koormann  <[email protected]>
1297    
1298            Join Dialog, initial version.
1299    
1300            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
1301    
1302            * Thuban/UI/join.py (JoinDialog): Functional implementation of
1303            former framework. Renamed Table1/Table2 to LeftTable/RightTable
1304            in all occurences.
1305    
1306            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
1307            Typo fixed.
1308    
1309    2003-05-22  Bernhard Herzog  <[email protected]>
1310    
1311            Give the tables titles so that the GUI can display more meaningful
1312            names. For now the titles are fixed but depend on e.g. filenames
1313            or the titles of the joined tables.
1314    
1315            * Thuban/Model/transientdb.py (TransientTable.Title)
1316            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
1317    
1318            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
1319    
1320            * test/test_transientdb.py
1321            (TestTransientTable.test_auto_transient_table_title): New. Test
1322            for the Title method
1323            (TestTransientTable.test_transient_joined_table)
1324            (TestTransientTable.test_transient_table): Add test for the Title
1325            methods
1326    
1327            * test/test_memory_table.py (TestMemoryTable.test_title): New.
1328            Test for the Title method
1329    
1330            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
1331            the Title method
1332    
1333    2003-05-22  Bernhard Herzog  <[email protected]>
1334    
1335            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
1336            Provide a better way to destroy the layers
1337            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
1338            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
1339            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
1340            the new way to destroy the layers.
1341            (TestLayer.test_derived_store): New. Test for using a layer with a
1342            DerivedShapeStore
1343    
1344            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
1345            filename if the shape store actually has one.
1346    
1347    2003-05-22  Bernhard Herzog  <[email protected]>
1348    
1349            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
1350            for the filename
1351    
1352            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
1353            for the FileName method
1354            (TestDBFTableWriting.test_write): Fix spelling of filename
1355    
1356    2003-05-22  Thomas Koester  <[email protected]>
1357    
1358            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
1359            from SciParam that now really is immutable.
1360    
1361    2003-05-22  Frank Koormann  <[email protected]>
1362    
1363            Layer Top/Bottom placement added to legend.
1364    
1365            * Thuban/UI/legend.py
1366            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
1367            bound to tool events.
1368            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
1369            New, methods binding the event methods with the map methods.
1370    
1371            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
1372            layer at top/bottom of layer stack.
1373    
1374            * Resources/Bitmaps/top_layer.xpm: New button icon.
1375    
1376            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
1377    
1378    2003-05-22  Bernhard Herzog  <[email protected]>
1379    
1380            * Thuban/Model/session.py (Session.RemoveTable): New method to
1381            remove tables
1382    
1383            * test/test_session.py (TestSessionSimple.test_remove_table): New.
1384            Test for RemoveTable
1385    
1386    2003-05-22  Thomas Koester  <[email protected]>
1387    
1388            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
1389            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
1390    
1391    2003-05-22  Bernhard Herzog  <[email protected]>
1392    
1393            Implement a way to discover dependencies between tables and
1394            shapestores.
1395    
1396            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
1397            (TransientJoinedTable.Dependencies)
1398            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
1399            interface
1400            (TransientJoinedTable.__init__): Keep tack of the original table
1401            objects in addition to the corresponding transient tables.
1402    
1403            * Thuban/Model/table.py (DBFTable.Dependencies)
1404            (MemoryTable.Dependencies): New. Implement the dependencies
1405            interface
1406    
1407            * Thuban/Model/data.py (ShapeTable): New. Helper class for
1408            ShapefileStore
1409            (ShapefileStore.__init__): Use ShapeTable instead of
1410            AutoTransientTable
1411            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
1412            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
1413            methods for filename and type
1414            (ShapefileStore.Dependencies): New. Implement the dependencies
1415            interface
1416            (DerivedShapeStore): New class to replace SimpleStore. The main
1417            difference to SimpleStore is that it depends not on a shapefile
1418            but another shapestore which expresses the dependencies a bit
1419            better
1420            (SimpleStore.__init__): Add deprecation warning.
1421    
1422            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
1423            Test for the Dependencies method.
1424    
1425            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
1426            New. Test for the Dependencies method.
1427    
1428            * test/test_transientdb.py
1429            (TestTransientTable.test_auto_transient_table_dependencies): New.
1430            Test for the Dependencies method.
1431            (TestTransientTable.test_transient_joined_table): Add test for the
1432            Dependencies method.
1433    
1434            * test/test_session.py (TestSessionSimple.setUp)
1435            (TestSessionSimple.tearDown): New. Implement a better way to
1436            destroy the sessions.
1437            (TestSessionSimple.test_initial_state)
1438            (TestSessionSimple.test_add_table): Bind session to self.session
1439            so that it's destroyed by tearDown
1440            (TestSessionSimple.test_open_shapefile): New. Test for
1441            OpenShapefile and the object it returns
1442    
1443    2003-05-22  Bernhard Herzog  <[email protected]>
1444    
1445            * Thuban/Model/session.py (Session.AddTable): New method to
1446            register tables with the session.
1447            (Session.Tables): Return the tables registered with AddTable too.
1448    
1449            * test/test_session.py (TestSessionSimple.test_add_table): New.
1450            Test case for the AddTable method
1451    
1452    2003-05-22  Frank Koormann  <[email protected]>
1453    
1454            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
1455            lower right corner, center labels for selections, initialize controls
1456            in reasonable order for keyboard navigation.
1457    
1458            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
1459            (ProjFrame.__DoOnProjAvail): Determine position of current projection
1460            using the wxListBox.FindString() method. Still a problem (#1886)
1461    
1462            * Thuban/UI/classifier.py
1463            (Classifier.__init__, SelectPropertiesDialog.__init__)
1464    
1465            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
1466            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
1467            different classification types from here to __init__.
1468            (GenUniquePanel.__init__): Set the column width of the first field
1469            in the Field ListCtrl to the full width.
1470    
1471            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
1472            Button to 'Export'. Center Buttons in Selection Box, set Focus to
1473            Grid.
1474            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
1475            changes focus to the Selection when pressing "Alt-S".
1476    
1477            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
1478            the text if not visible. The italic font sometimes exceeds the
1479            rendering area.
1480    
1481    2003-05-21  Jonathan Coles   <[email protected]>
1482    
1483            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
1484            to OnClose so that Thuban closes correctly.
1485    
1486            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
1487            DockFrame.OnClose, not DockFrame._OnClose.
1488    
1489    2003-05-21  Jonathan Coles   <[email protected]>
1490    
1491            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
1492            references to 'inf' and use new Range __init__ to pass floats
1493            directly rather than converting them to strings first.
1494            Fixes RTBug #1876.
1495    
1496            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
1497            Use new Range ___init__ to pass floats.
1498    
1499            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
1500            filename is a valid image file. Throw IOError otherwise.
1501    
1502            * Thuban/Model/range.py: Brought over new Range from SciParam that
1503            is immutable and has an __init__ which can accept floats.
1504    
1505            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
1506            into try block. AddLayer doesn't throw any exceptions anymore.
1507            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
1508            try block.
1509    
1510            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
1511            the first item in choices. Fixes RTBug #1882.
1512    
1513            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
1514            has gone to 0 which is a serious problem. abort.
1515            (MapRenderer.draw_raster_layer): Catch IOError seperately and
1516            print the error from GDAL.
1517    
1518            * Thuban/UI/tableview.py (TableGrid.__init__): Call
1519            ToggleEventListeners to turn on listening.
1520            (TableGrid.ToggleEventListeners): New. Turns event listening on
1521            and off so as to prevent excessive messages.
1522            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
1523            to suppress excessive messages when selecting many rows.
1524            Fixes RTBug #1880.
1525    
1526            * Thuban/UI/view.py: Added checks against if scale == 0. This
1527            is a serious problem that can occur when an image without
1528            geo data is loading and causes the map projection bounds to
1529            go to infinity. Right now, the solution is to simply try
1530            to recover.
1531    
1532            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
1533            to set the MFILEReceiver attributes even if the data is NULL.
1534    
1535            * extensions/thuban/gdalwarp.cpp: Improved the error handling
1536            and passed GDAL messages back up to the Python layer. Also
1537            tried to fix some memory leaks that were present in the original
1538            utility but didn't matter because the program aborted.
1539    
1540            * test/test_range.py: Copied over tests from SciParam. Removed
1541            tests against importing. Fixes RTBug #1867.
1542    
1543    2003-05-21  Bernhard Herzog  <[email protected]>
1544    
1545            * test/test_load.py: Remove unused imports and restructure the
1546            test code
1547            (LoadSessionTest): Split into one class for each test and turn
1548            LoadSessionTest itself into the base class for all such session
1549            tests.
1550            (ClassificationTest): New base class for load tests that test
1551            classifications
1552            (TestSingleLayer, TestLayerVisibility, TestClassification)
1553            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
1554            for the individual tests
1555    
1556            * test/support.py (FileLoadTestCase.filename): New base class for
1557            file loading tests
1558    
1559    2003-05-21  Jan-Oliver Wagner <[email protected]>
1560    
1561            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
1562            Mercator' to 'UTM Zone 32' as a more convenient example.
1563            Added 'Gauss Krueger Zone 6'.
1564    
1565            * Data/iceland_sample_raster.thuban: political polygon now
1566            filled transparent to have the raster image visible at once.
1567    
1568    2003-05-21  Frank Koormann  <[email protected]>
1569    
1570            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
1571            OnClose() to keep in sync with extensions. Internally Thuban
1572            still uses "underscored" names.
1573    
1574    2003-05-20  Jonathan Coles   <[email protected]>
1575    
1576            This puts back Raster layer support. These layers support projections
1577            through the GDAL library. Currently, the CVS version is being used.
1578            There are no Debian packages available although this may change soon.
1579            A GDAL driver was extended to support writing to memory rather to
1580            files.
1581    
1582            There is still some work that needs to be done, such as some error
1583            handling when loading invalid images or when there is a problem
1584            projecting the image. This putback simply checks in the majority
1585            of the work.
1586    
1587            * setup.py: Add gdalwarp library extension.
1588    
1589            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
1590            Defaults to False, but can be overridden by subclasses if they
1591            support classification.
1592            (RasterLayer): New. Defines a new layer that represents an
1593            image.
1594    
1595            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
1596            tag handler.
1597            (SessionLoader.start_layer): Encode the filename.
1598            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
1599            New. Supports reading a rasterlayer tag.
1600    
1601            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
1602    
1603            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
1604            get a string in Latin1. If we get such as string convert it to
1605            unicode first, otherwise leave if alone before encoding.
1606            (SessionSaver.write_layer): Add support for writing both Layers
1607            and RasterLayers.
1608    
1609            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
1610            The right argument may not be a string, it could also be a Column.
1611    
1612            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
1613            Make initial window size 600x400. Fixes RTBug #1872.
1614    
1615            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
1616            the dialog is constructed so that we can support layers that
1617            do not have classifications.
1618            (Classifier._OnTry): Only build a classification if the layer
1619            supports one.
1620    
1621            * Thuban/UI/legend.py: Change all checks that a layer is an
1622            instance of Layer into checks against BaseLayer.
1623            (LegendTree.__FillTreeLayer): Only add children to a branch if
1624            the layer supports classification.
1625    
1626            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
1627            MainWindow.OpenSession): Don't proceed with an action if the
1628            user chooses Cancel when they are asked to save changes.
1629            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
1630            user to select an image file. Create a new RasterLayer and add
1631            it to the map.
1632    
1633            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
1634            for rendering RasterLayer layers.
1635            (MapRenderer.draw_raster_layer): Actually method that calls
1636            the GDALWarp python wrapper and constructs an image from the
1637            data returned.
1638    
1639            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
1640            Choices symbols to match those used in the table query method.
1641            Replace deprecated method calls on table with new method names.
1642    
1643            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
1644            how small the scale can get. This still needs more testing.
1645    
1646            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
1647            Provides a driver to output in .bmp format.
1648    
1649            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
1650            New. Provides IO routines which write to memory, rather than a file.
1651    
1652            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
1653            of the gdalwarp utility provided in GDAL. Added function calls
1654            that can be accessed from python.
1655    
1656            * Data/iceland_sample_raster.thuban: New. Sample file that uses
1657            a raster layer.
1658    
1659            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
1660            layer image data.
1661    
1662            * Doc/thuban.dtd: Added rasterlayer attribute definition.
1663    
1664            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
1665            tests associated with the raster layer code.
1666    
1667            * test/test_transientdb.py
1668            (TestTransientTable.test_auto_transient_table_query): Added a test
1669            for using a Column object as the "right" parameter to a query.
1670    
1671    2003-05-19  Frank Koormann  <[email protected]>
1672    
1673            * Thuban/version.py (get_changelog_date):
1674            Catch exceptions if ChangeLog does not exist.
1675    
1676            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
1677    
1678  2003-05-19  Frank Koormann  <[email protected]>  2003-05-19  Frank Koormann  <[email protected]>
1679    
1680          Extended version information for Thuban          Extended version information for Thuban

Legend:
Removed from v.924  
changed lines
  Added in v.1286

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26