/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1965 by bh, Wed Nov 19 19:48:59 2003 UTC revision 2551 by jonathan, Thu Jan 27 14:19:41 2005 UTC
# Line 1  Line 1 
1    2005-01-26  Jonathan Coles <[email protected]>
2    
3            Add a new dialog box for raster layers. The dialog box allows
4            the user to toggle a mask that is generated by ProjectRasterFile
5            and is used to only draw the real parts of the projected image.
6    
7            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer):
8            Instruct the warping code to generate a mask if the raster layer
9            requests one.
10            (BaseRenderer.draw_raster_data): Removed obsolete optional mask argument.
11    
12            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Removed
13            obsolete optional mask argument.
14    
15            * Thuban/UI/classifier.py (Classifier): Change the parent class
16            to LayerProperties and rework the code to support layout calls
17            from the parent.
18            (Classifier.dialog_layout): New. Layout the dialog box.
19            (Classifier.map_layers_removed): Removed. Moved to parent class.
20            (Classifier.map_replaced): Removed. Moved to parent class.
21            (Classifier._OnTry): Renamed to OnTry to support parent class.
22            (Classifier.OnClose): Removed. Supplied in parent class.
23            (Classifier._OnCloseBtn): Removed. Supplied in parent class as OnCloseBtn.
24            (Classifier._OnOK): Renamed to OnOK to support parent class.
25            (Classifier._OnRevert): Renamed to OnRevert to support parent class.
26    
27            * Thuban/UI/layerproperties.py: New. Base class for layer properties
28            dialog boxes.
29    
30            * Thuban/UI/rasterlayerproperties.py: New. Class for displaying
31            raster layer properties.
32    
33            * libraries/thuban/gdalwarp.cpp: Replace the old gdalwarp.cpp code
34            with the non-simple version supplied with gdal. This allows added
35            features such as creating an alpha band.
36            (GetImageData): Generate a mask array from the alpha band that is
37            generated by gdal if the user has selected it. Try to support images
38            that have more than three bands, such as images with RGB plus an
39            alpha band.
40            (ProjectRasterFile): Convert python argument for mask and tell
41            gdal to enable or disable an alpha band.
42    
43            * Thuban/Model/layer.py (BaseLayer.Type): New. Returns a string
44            describing what kind of layer the class is. Defaults to "Unknown",
45            but should be overridden by subclasses.
46            (Layer.Type): New. Override base class method.
47            (RasterLayer.__init__): Create a flag for using a mask. Record extra
48            data from gdal for display in the properties dialog.
49            (RasterLayer.Type): New. Override base class method.
50            (RasterLayer.UseMask): New. Returns True if the mask should be used.
51            (RasterLayer.SetUseMask): New. Set if the mask should be used.
52            (RasterLayer.ImageInfo): New. Return extra information about the image.
53    
54            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Load
55            the mask information.
56    
57            * Thuban/Model/save.py (SessionSaver.write_layer): Save mask information.
58    
59            * Thuban/UI/mainwindow.py: Register the RasterLayerProperties and
60            Classifier classes as dialogs to use with the proper layer types.
61    
62            * test/test_baserenderer.py (TestBaseRenderer.test_raster_no_projection):
63            Fix test.
64    
65            * test/test_layer.py (TestLayer.test_raster_layer): Test new methods.
66            (TestLayerModification.build_path): New. Support function.
67            (TestLayerModification.test_raster_layer): New. Test new methods.
68    
69            * test/test_save.py (SaveSessionTest.testRasterLayer): Add tests for mask.
70    
71            * test/test_load.py (TestRasterLayer): Add tests for mask.
72    
73            * test/test_load_1_0_1.py: New. Copied from test_load.py.
74    
75            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Removed
76            obsolete optional mask argument.
77    
78    2005-01-26  Nina H�ffmeyer <[email protected]>
79    
80            * Extensions/ogr/ogrshapes.py: Added two dictionaries to ShapeStore
81            which maps the ids and the ordinals. Fixed RowIdToOrdinal(),
82            RowOrdinalToId() and ReadRowAsDict().
83    
84            * Extensions/ogr/ogrstart.py: Added menu item which opens database
85            layers for existing database connections.
86    
87            * Extensions/ogr/test/test_OGRShapestore.py: Fixed a message string.
88    
89    
90    2005-01-26  Jan-Oliver Wagner <[email protected]>
91    
92            * Doc/manual/thuban-manual-de.xml: More translations.
93    
94    2005-01-24  Bernhard Herzog  <[email protected]>
95    
96            Rework the status bar updates a bit to make sure the message about
97            the projections is produced at the right times.
98    
99            * Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
100            New class variable with messages that may require a status bar
101            update.
102            (MainWindow.view_position_changed)
103            (MainWindow.update_status_bar): Rename from view_position_changed
104            to update_status_bar.  It's meaning has changed now that it may
105            also generate messages about problems with projection settings.
106            (MainWindow.__init__): Use the new update_status_bar_messages
107            class variable to subscribe update_status_bar
108            (MainWindow.set_position_text): Update doc-string.  This method
109            has to be renamed at some point.  See doc-string and comments.
110            (MainWindow.OnClose): Unsubscribe update_status_bar from all
111            messages in update_status_bar_messages
112    
113            * Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
114            class attribute.  map messages to be forwarded by the viewport.
115            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
116            the messages in forwarded_map_messages
117    
118    2005-01-21  Bernhard Herzog  <[email protected]>
119    
120            * test/postgissupport.py (PostGISDatabase.__init__): Tweak
121            doc-string
122            (find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
123            different name for the initialization SQL file.
124    
125    2005-01-21  Jonathan Coles <[email protected]>
126    
127            * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
128            a projection and returns a formatted string representing the
129            parameters to feed to gdalwarp. This function eliminates
130            redundancy in draw_raster_layer().
131            (BaseRenderer.render_map_incrementally): Removed the optimization which
132            drew the top most raster layer first and then only those vector-
133            based layers that are above it. With the support for transparency
134            this optimization breaks correct behaviour.
135            (BaseRenderer.draw_raster_layer): Reorganize code to support possible
136            future enhancements to raster layer bounding box. The old behaviour has
137            not changed. Also, change calling parameters to draw_raster_data()
138            to specify new RAW data format and mask.
139            (BaseRenderer.draw_raster_data): Change signature to include an optional
140            parameter for mask information. Change documentation to mention
141            support for new parameter and added option for RAW data format.
142            The data argument is now a list of [width, height, data].
143    
144            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
145            mask parameter. Add new condition for RAW format, which
146            significantly reduces rendering time. Add condition for
147            mask parameter.
148    
149            * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
150            data array of RGB values from the projected image returned from
151            the gdal warping functions. In the case of palette based images, it
152            converts the NO_DATA index to the mask color.
153            (ProjectRasterFile): Removed all custom memory driver references
154            and replaced it with the standard in-memory dataset provided
155            by gdal. The return data is no longer a BMP file, but an array
156            of RGB values, one set triple per pixel.
157    
158            * libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
159            * libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
160            * libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
161    
162            * setup.py (thuban_build_ext.finalize_options): Removed mention
163            of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
164            files. These are obsolete with the new version of gdalwarp.cpp
165    
166            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
167            Updated signature.
168            (TestBaseRenderer.test_raster_no_projection): Changed the test
169            data to be data in the uncompressed RAW format returned from
170            ProjectRasterFile.
171    
172    2005-01-21  Jan-Oliver Wagner <[email protected]>
173    
174            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
175            string available for i18n.
176    
177    2005-01-20  Russell Nelson  <[email protected]>
178    
179            * Resources/Projections/defaults.proj: Ruin the speling of the
180            Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
181            It's the wrong thing to do in the long run, but it's necessary for
182            those users until that bug is fixed.  Otherwise the projection
183            dialog segfaults.  Better to annoy some Lambert-93 users with a
184            spelling mistake than every Fedora Core 3 user of Thuban-CVS.
185    
186    2005-01-20  Bernhard Reiter <[email protected]>
187    
188            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
189            docstring and comment that the warning code here is a hack.
190    
191    2005-01-20  Russell Nelson  <[email protected]>
192    
193            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
194            user about misprojected layers when their lat/lon bounding
195            box exceeds rational lat/lon values.
196    
197    2005-01-20  Bernhard Reiter <[email protected]>
198    
199            * Thuban/UI/about.py (unicodeToLocale): Improved:
200            Use 'ascii' and then 'replace' for other characters
201            when getdefaultlocale returns None. Thanks to Bernhard H. .
202    
203    2005-01-20  Bernhard Reiter <[email protected]>
204    
205            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
206            that OnRangeText might be called twice and using None as argument.
207    
208    2005-01-20  Bernhard Reiter <[email protected]>
209    
210            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
211            OnRangeText(0) to work around a different in wx Behaviour noticed
212            on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
213    
214    2005-01-20  Bernhard Reiter <[email protected]>
215    
216            * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
217            None. (Fixes rt#2910.)
218            
219    2005-01-18  Frank Koormann <[email protected]>
220    
221            New Extension: mouseposition
222            Tool to collect mouse click positions (map coordinates) in a dialog.
223    
224            * Extensions/mouseposition/__init__.py: New, extension registration
225    
226            * Extensions/mouseposition/mouseposition.py: New, implements the
227            dialog and adds a tool to Thuban mainwindow.
228    
229            * Extensions/mouseposition/position.xpm: New, icon for tool.
230    
231    2005-01-14  Jan-Oliver Wagner <[email protected]>
232    
233            * Doc/manual/thuban-manual-de.xml: More translations.
234    
235    2005-01-11  Frank Koormann <[email protected]>
236    
237            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
238            Fix indention bug.
239    
240    2005-01-09  Frank Koormann <[email protected]>
241    
242            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
243            BugFix 2901: Explicitly copy layers ClassificationColumn since it
244            is not part of the layers Classification.
245    
246    2005-01-03  Frank Koormann <[email protected]>
247    
248            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
249            BugFix 2883: Former implementation only worked on classified point
250            layers: KeyError was raised, now use the default size if field is None.
251    
252    2004-12-27  Bernhard Reiter <[email protected]>
253    
254            svgexport 1.0.0cvs: Fixed label export.
255    
256            * Extensions/svgexport/test/test_svgmapwriter.py:
257            class TestSVGRenderer(): New class; new test test_label_font().
258    
259            * Extensions/svgexport/svgmapwriter.py
260            (SVGRenderer.label_font()): initialised Font size with self.factor now,
261            makes test_label_font happy.
262    
263            * Extensions/svgexport/TODO: crossed out fixed label export item.
264            Added item for options.
265    
266            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
267    
268    2004-12-27  Russell Nelson  <[email protected]>
269    
270            Middle mouse button pans.
271    
272            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
273            OnMiddleDown and OnMiddleUp events.
274            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
275            previously used tool.
276            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
277            pressing the middle mouse button.
278    
279    2004-12-27  Jan-Oliver Wagner <[email protected]>
280    
281            * Doc/manual/thuban-manual-de.xml: More translations.
282    
283    2004-12-23  Jan-Oliver Wagner <[email protected]>
284    
285            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
286            \n to stderr after the warnings. Thanks to Russell Nelson.
287    
288    2004-12-20  Nina Hueffmeyer <[email protected]>
289    
290            * Extensions/ogr/ogrshapes.py: Fixed some issues from
291            Bernhard (coding guidelines etc.). Additionally it is now possible to
292            display shapefiles containing feature collections (e.g.polygons
293            with holes). Works with gdal 1.2.1 now.
294    
295            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
296            from Bernhard (coding guidelines etc.). If ogr can't be imported,
297            tests are skipped now.
298    
299            * Extensions/ogr/ogrstart.py: Fixed some typings.
300    
301    2004-12-20  Bernhard Reiter <[email protected]>
302    
303            * Extensions/svgexport/TODO: updated to add support for
304            raster layers and labels for 1.0.1.
305    
306            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
307            Issue a warning now.
308    
309    2004-12-19  Bernhard Reiter <[email protected]>
310    
311            * Extensions/svgexport/TODO: Added idea to support triggering
312            the application down the pipe.
313    
314    2004-12-19  Bernhard Reiter <[email protected]>
315    
316            svgexport: Improved code quality, mainly by better naming.
317    
318            * Extensions/svgexport/svgmapwriter.py:
319            DrawPath() renamed to DrawPolygonPath(),
320            added documentation, improved comments and variable names.
321            
322            * Extensions/svgexport/svgmapwriter.py,
323              Extensions/svgexport/test/test_svgmapwriter.py:
324            All using DrawPolygonPath() now, the default parameter closed=True
325            omitted.
326    
327            * Extensions/svgexport/test/test_svgmapwriter.py:
328            renamed test_polygon_opened() to test_polyline()
329            renamed test_transparent_polygon() to test_transparent_polyline()
330    
331    2004-12-18  Jan-Oliver Wagner <[email protected]>
332    
333            Some fixes of gns2shp extension.
334    
335            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
336            package.
337    
338            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
339            dynamically.
340    
341            * Extensions/gns2shp/test/README: Simplified description how to test.
342    
343            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
344            fixed some dimensions of fields according to the GNS documentation
345            which seems to change undocumented.
346            Now killing trailing \n and/or \r from MODIFY_DATE.
347            This fixes RT#2453.
348    
349    2004-12-18  Bernhard Reiter <[email protected]>
350    
351            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
352    
353            * Extensions/svgexport/test/test_svgmapwriter.py:
354            Added new tests: test_export_polygon_with_hole()
355            and test_polygon_with_hole().
356    
357            * Extensions/svgexport/svgmapwriter.py
358            (draw_polygon_shape()): Uses DrawPath correctly now.
359    
360            * Doc/manual/thuban-manual.xml: Added documentation for stable
361            extention svgexport.    
362            * Doc/manual/thuban-manual-de.xml: Copied English section about
363            svexport over.
364    
365            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
366    
367            * Extensions/svgexport/svgsaver.py,maplegend.py:
368            Moved from experimental to stable extension menu.
369    
370            * Extensions/svgexport/TODO: updated.
371    
372    
373    2004-12-18  Bernhard Reiter <[email protected]>
374    
375            Added Extensions/svgexport/TODO
376    
377    2004-12-18  Bernhard Reiter <[email protected]>
378    
379            Refactored in svgexport:
380            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
381    
382            * Extensions/svgexport/svgmapwriter.py
383            Added verbosity level 3 to print out polygon points.
384            (class Point): added __repr__
385            (class Brush, __str__()): Added space after ,.
386            (DrawPolygon): Renamed to DrawPath()
387            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
388            (DrawLines): Using DrawPath now.
389    
390            * Extensions/svgexport/test/test_svgmapwriter.py:
391            Replaced DrawPolygon() calls with DrawPath() and put the first argument
392            inside another list. Adapted test data with a newline before "M".
393    
394    2004-12-18  Bernhard Reiter <[email protected]>
395            
396            Refactored svgexport tests: 9 double tests runs eliminated;
397            code size reduced by 8 lines.
398    
399            * Extensions/svgexport/test/test_svgmapwriter.py:
400            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
401            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
402            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
403            this fixed the double running of the nine tests of TestVirtualDC.
404            (class TestVirtualDC): Using self.dc and self.file from setUp().
405    
406    2004-12-17  Bernhard Herzog  <[email protected]>
407    
408            Two windows specific fixes ported from thuban-1�0-branch:
409    
410            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
411            instead of getlocale because getlocale doesn't return a usable
412            encoding name on a german windows 2000
413    
414            * setup.py: windows build: Removed the absolute path names and
415            made all prfixes relative to the directory containing setup.py.
416            Makes it a little easier to adapt to a different system.
417    
418    2004-12-16  Bernhard Herzog  <[email protected]>
419    
420            Add support for PostGIS tables with LINESTRING geometries.
421            Fixes RT#2299
422    
423            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
424    
425            * test/postgissupport.py
426            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
427            table to "roads-multi" because it now uses MULTILINESTRING
428            geometries and introduce a new "roads" table that uses LINESTRING
429            (coords_to_multilinestring): Make the doc string more precise
430            (coords_to_linestring): New.  Create a LINESTRING WKT
431            representatin
432            (wkt_converter): Add coords_to_linestring
433            (upload_shapefile): Rephrase the doc-string a bit.
434    
435            * test/test_postgis_db.py (TestPostGISShapestoreArc)
436            (LineStringTests)
437            (TestPostGISShapestoreLineString)
438            (TestPostGISShapestoreMultiLineString): Split
439            TestPostGISShapestoreArc into a base class LineStringTests and two
440            derived classes TestPostGISShapestoreLineString for LINESTRING
441            geometries and TestPostGISShapestoreMultiLineString for
442            MULTILINESTRING geometries.  Most test methods are in the base
443            class with the exception of tests that explicitly check the raw
444            format.
445    
446    2004-12-16  Bernhard Herzog  <[email protected]>
447    
448            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
449    
450            * test/postgissupport.py (find_postgis_sql): Different postgis
451            versions put the postgis.sql file into slightly different places
452            so we have to look in both.  The updated doc string describes this
453            is more detail.
454    
455            * test/test_postgis_db.py
456            (TestPostGISSpecialCases.test_column_name_quoting): The return
457            value of UniqueValues is unsorted, so it has to be sorted for
458            comparison.
459    
460    2004-12-16  Bernhard Herzog  <[email protected]>
461    
462            Fix for RT#2237
463    
464            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
465            panel to be shown is the UnknownProjPanel disable the OK and Try
466            buttons.  Otherwise enable them.
467            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
468            the parameters.  In that case __GetProjection also returns None
469            now.
470    
471    2004-12-15  Bernhard Herzog  <[email protected]>
472    
473            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
474            minimum number of classes to 2.  The calculate_quantiles needs at
475            least two and raises an exception otherwise.  
476            Fixes RT#2549
477    
478    2004-12-15  Bernhard Herzog  <[email protected]>
479    
480            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
481            so that it returns a result for select statements.
482            (PostgreSQLServer.server_version): New.  Return the version of the
483            server software.
484            (PostgreSQLServer.require_authentication): The format of
485            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
486            server version and generate the file in the correct format
487    
488    2004-12-15  Bernhard Herzog  <[email protected]>
489    
490            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
491            in the doc string and rephrase it a little.
492    
493    2004-12-15  Frank Koormann <[email protected]>
494    
495            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
496            session has been loaded successfully. The check is called by the relevant
497            tests after executing load_session().
498    
499    2004-12-13  Bernhard Herzog  <[email protected]>
500    
501            Make sure the region used to determine which shapes are visible
502            actually matches the region on the printed page.  If this isn't
503            done properly some shapes might not be printed.  
504            Fixes RT #2692
505    
506            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
507            renderer has to be at the same position as the mapregion
508    
509            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
510            has to be moved by (self.shiftx, self.shifty) too.
511    
512    2004-12-13  Bernhard Herzog  <[email protected]>
513    
514            * libraries/pyprojection/Projection.i: Work around a bug in the
515            generated python code which leads to exception in the __del__
516            method when the constructor fails.  See the comments in the code
517            for more details.
518    
519            * libraries/pyprojection/Projection.py: Updated from Projection.i
520            with SWIG.
521    
522    2004-12-13  Bernhard Herzog  <[email protected]>
523    
524            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
525            (TestAltPath.test_02_path_error_fix_from_list)
526            (TestAltPath.test_05_path_error_fix_from_list_changed)
527            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
528            is destroyed in tearDown, so there's no need to do it in a test
529            case.
530    
531            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
532            debug print
533    
534    2004-12-13  Bernhard Herzog  <[email protected]>
535    
536            * Extensions/svgexport/test/test_svgmapwriter.py
537            (TestDrawSplines.setUp): Do not use super with the unittest
538            classes because in Python 2.2 they're still old-style classes.
539    
540    2004-12-13  Frank Koormann <[email protected]>
541    
542        Alternative Path feature: When loading a (moved) session where
543            shapefiles cannot be found, ask the user. Use the specified path
544            if further shapefiles are missing. However, ask the usr for confirmation
545            in such cases.
546    
547            * test/test_load.py (TestAltPath): New, tests for alternative path feature
548            in load_session()
549            (Shapefile_CallBack): Helper, implements controllable callback.
550    
551            * Thuban/UI/application.py (ThubanApplication.OnInit):
552            Added "alt_path" to self.path
553            (ThubanApplication.OpenSession): Added shapefile_callback as second
554            callback similar to db_connection_callback.
555            (ThubanApplication.run_alt_path_dialog): New, implementaion of
556            shapefile_callback. In addition to raising the dialog the control of
557            self.path('alt_path') is implemented here.
558    
559            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
560            (SessionLoader.open_shapefile): Open shapefile, eventually with
561            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
562            formerly used in start_fileshapesource()/start_layer().
563            (SessionLoader.start_fileshapesource): Call open_shapefile().
564            (SessionLoader.start_layer): Call open_shapefile().
565            (load_session): Added shapefile_callback.
566    
567            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
568            feature (search / check).
569            
570            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
571    
572    2004-12-11  Bernhard Reiter <[email protected]>
573    
574             svgexport 0.9.2: Point size supports for maps.
575    
576            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
577            (def draw_point_shape): new parameter size defaults to 2 as before.
578            (draw_shape_layer_incrementally): Moved draw_func log line higher.
579            Added draw_func call with size when dealing with a point layer.
580    
581            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
582            
583    2004-12-11  Bernhard Reiter <[email protected]>
584    
585            Made sure that newlines are inserted in the svg path d attributes
586            to raise the chance that the line length will be below 255 characters,
587            as recommended by REC SVG 1.1 in section 8.3.1.
588    
589            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
590            Adding \n before L's and changed whitespace handling.
591    
592            * Extensions/svgexport/test/test_svgmapwriter.py:
593            Adapted tests to new whitespace handling of DrawPolygon.
594    
595    2004-12-11  Bernhard Reiter <[email protected]>
596    
597            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
598    
599            * Extensions/svgexport/test/test_svgmapwriter.py:
600            Removed test_drawbezier in favour of new test_drawspline3 and
601            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
602            All only to test DrawSpline.
603    
604            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
605            New implementation now really using the strange algorithm of
606            xfig 3.1's approximated splines and its conversion to postscript
607            with one twist: SVG can do quadratic beziers, so skipped translation
608            to cubic beziers.
609            (TestWithDC): Typo in comment fixed.
610    
611    2004-12-09  Martin Schulze  <[email protected]>
612    
613            * Thuban/Model/classgen.py: Added missing character encoding
614    
615            * Extensions/wms/properties.py (OpenWMSProperties): removed
616    
617            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
618            support for get_srs_discrepancies() since there are no
619            discrepancies anymore (was a thinko)
620    
621            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
622            format priority now that more formats are supported globally by
623            the render engine.
624    
625    2004-12-08  Silke Reimer <[email protected]>
626            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
627            because it is not available in all versions of ogr
628    
629    2004-12-08  Bernhard Reiter <[email protected]>
630            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
631            global tests until a real one is commited.
632    
633    2004-12-07 Nina H�ffmeyer <[email protected]>
634    
635            * /Extensions/ogr/: Adding a new extension to read shapefiles with
636            ogr. It is planned to add other vector formats.
637    
638            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
639    
640    2004-12-07  Jan-Oliver Wagner <[email protected]>
641    
642            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
643            part of a (non-)fix to renable that the tests are always
644            executed.
645    
646    2004-12-07  Bernhard Reiter <[email protected]>
647    
648            * Extensions/svgexport/test/test_svgmapwriter.py:
649            Added test_drawbezier() to test DrawSpline().
650    
651            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
652            Really implemented bezier drawing.
653    
654            * Extensions/svgexport/__init__.py: Bumped version of svgexport
655            to 0.9.1 because now the legend examples lines styles
656            will be drawing with beziers.
657    
658    2004-12-05  Martin Schulze  <[email protected]>
659    
660            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
661            GIF as supported bitmap image formats (helpful for the WMS extension)
662    
663    2004-11-30  Martin Schulze  <[email protected]>
664    
665            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
666            Improved the test for the internal compare method
667    
668    2004-11-27  Jan-Oliver Wagner <[email protected]>
669    
670            * Thuban/UI/about.py (About.__init__): Added
671            Norbert Solymosi for hungarian translation and Ole Rahn
672            as contrbutor. Moved Bernhard Reiter from Contributor
673            to Developer.
674    
675    2004-11-27  Bernhard Reiter <[email protected]>
676    
677            * Extensions/svgexport/test/test_svgmapwriter.py:
678            Removed Jan from author list as he did not change enough significant
679            lines yet.
680    
681            * Extensions/svgexport/__init__.py: Added Bernhard as author
682            of the Extension.
683    
684    2004-11-27  Jan-Oliver Wagner <[email protected]>
685    
686            * po/hu.po: New. Hungarian translation. Contributed
687            by Norbert Solymosi.
688    
689    2004-11-26  Bernhard Herzog  <[email protected]>
690    
691            * Extensions/svgexport/test/test_svgmapwriter.py
692            (Testobjectexport.test_transparent_polygon): Commented out some
693            debug prints
694    
695    2004-11-24  Jan-Oliver Wagner <[email protected]>
696    
697            Fix broken tests for svg extension and added svg legend
698            to Experimental menu.
699    
700            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
701            the test run correctly even if the extension is a package.
702            Also removed the "import Thuban" which makes no sense.
703    
704            * Extensions/svgexport/__init__.py: Fix to have the extensions'
705            test module also be executed from the global test routine.
706            This is done by looking for the absense of the DISPLAY variable.
707    
708            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
709            to Experimental menu since this module has yet not reached a stable
710            status (ie. 1.0).
711    
712    2004-11-22  Bernhard Reiter <[email protected]>
713    
714            * Extensions/svgexport/svgmapwriter.py:
715            Added verbose variable and some logging depending on it.
716            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
717            because counting i is not necessary.
718            (class Pen, class Brush): Added simple __str__ methods.
719            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
720            not exported to svg file) Note: holes still unhandled.
721    
722            * Extensions/svgexport/test/test_svgmapwriter.py:
723                    Made a baseclass TestWithDC for test needed a DC.
724                    Added tests for bug #2698 (transparent polygons are not
725                    exported to svg file):
726                    Testobjectexport.test_transparent_polygon()
727    
728            * Thuban/Model/base.py (UnsetModified):
729            Fixed some typos in docstring.
730    
731            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
732            Added hints on the used algorithm for handling holes.
733    
734    2004-11-20  Jan-Oliver Wagner <[email protected]>
735    
736            Some face lifting for the examples.
737    
738            * Examples/__init__.py: Make this directory a package.
739    
740            * Examples/simple_extensions/__init__.py: Make this directory a package.
741    
742            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
743            menu to Examples menu.
744    
745            * Examples/simple_extensions/simple_command.py: Some more comments,
746            minor changes.
747    
748            * Examples/simple_extensions/simple_tool.py: Minor changes.
749    
750    2004-11-20  Jan-Oliver Wagner <[email protected]>
751    
752            Changed way of extension registry for wms and added extension
753            registry for umn_mapserver extension.
754    
755            * Extensions/wms/__init__.py: Added registry entry and the importing
756            of the actual wms module. Included a test for the required PyOGCLib.
757    
758            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
759    
760            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
761            importing of the actual umn mapserver management modules.
762            Included a test for the required Python MapScript.
763    
764    2004-11-20  Jan-Oliver Wagner <[email protected]>
765    
766            Changed way of extension registry for importAPR, bboxdump
767            and added extension registry for svgexport.extension registry for
768            svgexport.
769    
770            * Extensions/importAPR/__init__.py: Added registry entry and the importing
771            of the actual importAPR module.
772    
773            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
774            __init__.py).
775    
776            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
777            ï¿½ï¿½ï¿½ï¿½of the actual bboxdump module.
778    
779            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
780            ï¿½ï¿½ï¿½ï¿½__init__.py).
781    
782            * Extensions/svgexport/__init__.py: Added registry entry and the importing
783            of the svgsaver module.
784    
785            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
786            to Experimental menu since this module has yet not reached a stable
787            status (ie. 1.0).
788    
789    2004-11-18  Jan-Oliver Wagner <[email protected]>
790    
791            Now the hit test considers the size of point symbols.
792    
793            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
794            'size' defaulting to the previously fixed value 5.
795            Extended doc-string.
796            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
797            for symbols.
798            Now the size of the largest point symbol is determined to find out
799            about whether the point has been hit.
800            This fixes the problem that only clicks inside a fixed distance of
801            5 where found.
802    
803    2004-11-17  Jan-Oliver Wagner <[email protected]>
804    
805            Another open issue fixed regarding sizeable symbols: correct rendering of
806            selected symbols.
807    
808            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
809            Added consideration of the specific size of point symbols.
810            The property for each point symbol is retrieved and the size applied
811            for the rendering method.
812            Added doc-string.
813    
814    2004-11-16  Jan-Oliver Wagner <[email protected]>
815    
816            Changed way of Extension Registry for gns2shp and profiling.
817    
818            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
819            __init__.py).
820    
821            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
822            of the actual gns2shp module.
823    
824            * Extensions/profiling/profiling.py: Removed registry entry (moved to
825            __init__.py).
826    
827            * Extensions/profiling/__init__.py: Added registry entry and the importing
828            of the actual profiling module.
829    
830    2004-10-28  Bernhard Reiter <[email protected]>
831    
832            * Extensions/svgexport/: Minor improvements to doc strings.
833    
834    2004-10-07  Jan-Oliver Wagner <[email protected]>
835    
836            Further elements for sizable point objects now
837            making this feature usable though not yet complete.
838    
839            * Thuban/Model/save.py (SessionSaver.write_classification): Write
840            attribute 'size' for cldata when the shape layer is of point type.
841            This also now make the test_load.py tests happy.
842    
843            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
844            gradient.
845    
846            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
847            ID_SELPROP_SPINCTRL_LINEWIDTH.
848            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
849            (ID_SELPROP_SPINCTRL_SIZE): New Id.
850            (SelectPropertiesDialog.__init__): Added a second spin control
851            for the size in case the corresponding layer is of point type.
852            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
853            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
854            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
855            and refresh preview.
856    
857    
858    
859    2004-10-04  Martin Schulze  <[email protected]>
860    
861            * Extensions/wms/test/test_parser.py
862            (TestWMSCapabilitiesParser.test_compareLists): Added missing
863            self-test for compareLists()
864            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
865            self-test for compareDicts()
866            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
867            to verify the test routine fails with non-equal arguments
868            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
869            to verify the test routine fails with non-equal arguments
870    
871    2004-10-03  Jan-Oliver Wagner <[email protected]>
872    
873            First elements for sizeable point objects.
874    
875            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
876    
877            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
878    
879            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
880            of a corresponding argument is given.
881            (TestSymbolSize): New. Test the size attribute of cldata.
882    
883            * Thuban/Model/classification.py: Removed some trailing whitespaces.
884            (ClassGroupProperties.__init__): Set default size.
885            (ClassGroupProperties.SetProperties): Set the size.
886            (ClassGroupProperties.GetSize): New. Return the size.
887            (ClassGroupProperties.SetSize): New. Set the size.
888            (ClassGroupProperties__eq__): Compare also size.
889            (ClassGroupProperties__repr__): Print also size.
890    
891            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
892            the size attribute.
893    
894            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
895            Also, now there is a return value that indicates whether the drawing
896            size exceeded the given rect extent and if so the new extent.
897            Finally, point objects are drawn depending on the size. If either
898            the width or height is exceeded, the new extent is returned.
899            (ClassRenderer.Draw): Now when calling the previewer drawing function,
900            evaluate the return value and, if not None, adapt the grid widget size
901            accordingly and redraw again.
902    
903            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
904            If the draw function is for points, call it with the size as additional
905            parameter.
906            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
907            the size. Compute the radius using the size.
908    
909            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
910            that Thuban supports size, apply this correctly.
911    
912            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
913    
914    2004-10-03  Jan-Oliver Wagner <[email protected]>
915    
916            * Doc/manual/thuban-manual-de.xml: Started translation of
917            Map chapter.
918    
919    2004-10-01  Martin Schulze  <[email protected]>
920    
921            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
922            argument for general use through properties-dialog selector
923            
924            * Thuban/UI/classifier.py: Register properties dialog classes for
925            both provided layer classes/types.
926    
927            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
928            map can be retrieved through the parent which is passed to the
929            constructor anyway and doesn't require an argument of its own,
930            required for the unification of arguments for general use through
931            properties-dialog selector.
932            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
933            whether a dialog is already opened (and raising it to the users
934            attention) and creating a new dialog into a function of its own
935            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
936            method
937            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
938            global registration of properties dialog classes (which are indeed
939            layer-specific).
940    
941            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
942            for general use through properties-dialog selector, the map can be
943            retrieved through the parent and doesn't require an argument of
944            its own.
945    
946            * Extensions/wms/wms.py: Register the properties dialog class for
947            the provided WMS layer
948    
949    2004-09-28  Jan-Oliver Wagner <[email protected]>
950    
951            New feature: Registry for Extensions.
952    
953            * Thuban/UI/extensionregistry.py: This module defines a registry for
954            Extensions.
955    
956            * Thuban/UI/about.py (About.__init__): Added description
957            of the registered extensions with all of the information.
958    
959            * Thuban/Model/extension.py (Extension): Improved doc-string.
960    
961            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
962            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
963            Extensions/wms/wms.py: Added registration of the extension.
964    
965    2004-09-27  Bernhard Reiter <[email protected]>
966    
967            More fixes to svgexport to make used ids unique and
968            conforming to XML's Name production.
969    
970            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
971            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
972            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
973            Added Bernhard R. as author.
974            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
975            concatenation char now (makes test_make_ide_nosetbaseid() valid).
976            Also transform second id part with "%d" and catch the TypeError
977            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
978            Corrected typo inBernhard's author line.
979            (SetBaseID): Return the transformed base id. Transform characters
980            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
981            import binascii. If to be set string starts with "xml" or so, add "t".
982            (draw_shape_layer_incrementally): use the returned value of SetBaseID
983            for used_baseids checks.
984    
985    2004-09-25  Bernhard Herzog  <[email protected]>
986    
987            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
988            Remove a debug print and some tab characters.
989    
990    2004-09-25  Bernhard Reiter <[email protected]>
991    
992            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
993            (SetBaseID, SetID, make_id): Improved docstring comments to explain
994            the interaction of the three functions and the XML id contrains.
995    
996    
997    2004-09-23  Jan-Oliver Wagner <[email protected]>
998    
999            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
1000            Module.
1001    
1002            * Doc/README: Added info on ThubanModel.xmi.
1003    
1004    2004-09-23  Jan-Oliver Wagner <[email protected]>
1005    
1006            * Doc/README: New. Some info about how to generate technical
1007            documentation from the source code.
1008            This text was send to the Thuban developer mailing list on
1009            September 21st 2004 by Bernhard Reiter.
1010    
1011    2004-09-21  Bernhard Reiter <[email protected]>
1012    
1013            Improved the svgexport to only use unique ids. Will issues
1014            an error message dialoge when two layer names are the same.
1015            ShapeIDs are now added with a dash within the svg ids.
1016    
1017            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
1018            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
1019            (TestSVGRenderer): New test class with test_make_in() and
1020            test_check_for_layer_name_clash()
1021            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
1022            and draw_shape_layer_incrementally() to not use a baseid twice,
1023            satisfying test_check_for_layer_name_clash()
1024            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
1025            test_make_in().
1026            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
1027            and wxICON_HAND.
1028            (write_to_svg): Put dc and rendering in a try statement and on
1029            catching SVGmapWriterError notify the user and delete the target file.
1030    
1031    2004-09-20  Bernhard Reiter <[email protected]>
1032    
1033            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
1034    
1035    2004-09-03  Jan Sch�ngel  <[email protected]>
1036    
1037            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
1038            small bug with the line color. Now the line color will now only set
1039            if it is set in Thuban an not Transparent.
1040            
1041            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
1042            deleting the layers from mapfile. Now all layers will delete backwards
1043            from the last.
1044    
1045    2004-08-20  Silke Reimer <[email protected]>
1046    
1047            * Thuban/Model/layer.py:
1048            Fixes bug in projection handling: Otherwise very large region might not
1049            have valid values in the layer's projection.
1050    
1051    2004-08-20  Silke Reimer <[email protected]>
1052    
1053            * Thuban/UI/about.py:
1054            small changes to be consistent with coding style.
1055              
1056    2004-08-13  Martin Schulze  <[email protected]>
1057    
1058            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
1059            Adjusted a comment
1060    
1061    2004-08-11  Silke Reimer <[email protected]>
1062    
1063            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
1064                    too many and too enhanced imports of locale
1065    
1066    2004-08-10  Silke Reimer <[email protected]>
1067    
1068            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
1069                    function unicodeToLocale() to convert special characters to users
1070                    locale encoding
1071    
1072    2004-08-10  Jan-Oliver Wagner <[email protected]>
1073    
1074            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
1075            lower case letter'
1076    
1077    2004-08-09  Jan Sch�ngel  <[email protected]>
1078    
1079            * ChangeLog: Rewrite the last ChangeLog entry to follow
1080            the standard way.
1081    
1082            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
1083            the function where it is needed, because it don't works if it stands
1084            at the beginning.
1085            (MF_Layer.__init__): Removed the extra numclassed variable. Now
1086            numclasses from the mapscript will be used.
1087            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
1088            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
1089            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
1090            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
1091            (MF_Map.create_new_layer): New. A new Layer is created and associated
1092            with the mapscript object.
1093            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
1094            the mapscript.
1095            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
1096            linked to the layer in thuban, else the layerobject linked to the
1097            thubanlayer will be used.
1098            AnnotationLayer will now store the filename of the shapefile.
1099            (MF_Map.remove_layer): If a layer is removed the associated object
1100            must be set new.
1101            
1102            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
1103            layers which are exists in thuban to the mapobj. All removed Layers
1104            will be removed from the mapobj.
1105            Added comments to all functions.
1106            (thuban_to_map): No layer will be removed here.
1107            
1108            * Extensions/umn_mapserver/mf_handle.py
1109            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
1110            Layersettings for the mapserver kann be edited.
1111    
1112            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
1113            imported, will be linked with the associated MF_Layer.
1114            (import_mapfile): All layers, which are not selected, will be removed.
1115            Disable the "import layer from mapfile" menu option.
1116    
1117            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
1118            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
1119            layer on permanently.
1120    
1121    2004-08-03  Jan Sch�ngel  <[email protected]>
1122    
1123            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
1124            New. This function removes all metadata
1125            (MF_Layer.set_group): New. Set the group setting.
1126            (MF_Layer.get_group): New. Get the group setting.
1127            (MF_Map): Removed the extra numlayers variable, used the mapscript
1128            parameter instead.
1129            (MF_Map.get_numlayers): New. This get numlayers.
1130            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
1131            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
1132            if the object is an instance. Also added the annotation layer here to
1133            export, but only the layer is created in the mapfile.
1134    
1135            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
1136            the check if a mapobj exist, because its not needed anymore. The
1137            export function is only available if a mapobj exist.
1138            Use the new function to remove all layers.
1139            
1140            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
1141            option and the metadata button. The layer dialog is temporary disabled.
1142            (Metadata_CustomDataTable): Added some functions to show the grid
1143            correct.
1144    
1145            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
1146            the number of layer from import_mapfile to this function.
1147            (AnnotationLayer): New. This Class shows the Annotation layer in
1148            thuban. The layer don't do anything. It's only to show the layer
1149            and to save the layer order.
1150            (add_annotationlayer): New. Import an annotation layer to thuban.
1151            (select_layer2import): New. Import only layers to thuban and not
1152            the other settings like projection or scalebar.
1153            (create_new_mapfile): Moved the _has_umn_mapobj function and the
1154            create_new_mapfile functions from mf_handle.py to mf_import.py.
1155            
1156            * Extensions/umn_mapserver/sample/iceland.map: Added the group
1157            parameter to the roads and cultural layers. Also added a new
1158            Annotation Layer for the cultural points.
1159    
1160            * Extensions/umn_mapserver/sample/iceland.html: Added the select
1161            option for the annotation layer.
1162    
1163            * Extensions/umn_mapserver/sample/index.html: Added the start
1164            parameter for the annotation layer.
1165    
1166    2004-08-01  Jan-Oliver Wagner <[email protected]>
1167    
1168            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
1169            translation completed.
1170    
1171            * Doc/manual/thuban-manual.xml (Chapter Session Management):
1172            Fixed unprecise description for Save Session.
1173    
1174    2004-07-31  Jan-Oliver Wagner <[email protected]>
1175    
1176            Started translation of Users Manual into german.
1177    
1178            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
1179    
1180            * Doc/manual/Makefile: Added build instructions for german
1181            users manual.
1182    
1183            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
1184    
1185    2004-07-28  Jan Sch�ngel  <[email protected]>
1186    
1187            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
1188            functions. Now all metadata will handle by the function and its not
1189            needed to initialize it from outside. Therefor the associated mapobj
1190            will be stored in the Metadata Object. So we can use the special
1191            functions from the associated mapobj to get the Metadata.
1192            Therefor all initialization code for the metadata is removed from the
1193            other classes.
1194            (MF_Layer): Added a function to get the metadata object.
1195            (MF_Map): Added a function to set the mappath, the path where
1196            the mapfile ist stored.
1197    
1198            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
1199            to set the extent in the mapfile. Now the code is set by the displayed
1200            data in the Thuban-view.
1201            (export_mapfile): The shapepath is now set empty, until relative
1202            pathnames are supported.
1203    
1204            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
1205            metadata. Yet only mapfile metadata are supported. Layer and class
1206            supported are not implemented.
1207            Added a dialog to handle layer informations. The dialog only shows the
1208            selected layer at the moment.
1209    
1210            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
1211            code for setting the extent in thuban. Now the extent is set to the
1212            given extent from the mapfile.
1213            Fixed a logical mistake. Now the extent is set when realy a layer is
1214            loaded, and not if one is selected to load.
1215    
1216            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
1217            move the shown map in the browser.
1218    
1219            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
1220            line to the mapobj and added metadata to the political layer.
1221    
1222            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
1223            for Metadata.
1224    
1225    2004-07-26  Martin Schulze  <[email protected]>
1226    
1227            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
1228            ClassMapper
1229    
1230            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
1231            case for the new ClassMapper
1232    
1233    
1234    2004-07-22  Bernhard Herzog  <[email protected]>
1235    
1236            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
1237            visible extent of the map in projected coordinates
1238    
1239            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
1240            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
1241            tests.
1242            (SimpleViewPortTest.test_visible_extent): New. The real test for
1243            VisibleExtent()
1244    
1245    2004-07-22  Bernhard Herzog  <[email protected]>
1246    
1247            * test/test_viewport.py: Use support.run_tests as the main
1248            function when running asa script.
1249    
1250    2004-07-22  Jan Sch�ngel <[email protected]>
1251    
1252            * Extensions/umn_mapserver/mf_export.py: Added "import os"
1253            Removed the old "import Thuban.UI.mainwindow" code.
1254            (tbextent_to_map): Removed the extra function and at the code direct
1255            to "thuban_to_map" function.
1256            (write_creatorcomment): Added. Now a short comment is added to the
1257            beginning of an generated mapfile.
1258            (export_mapfile): Now the Path and filename are saved in to variables,
1259            and not together in one variable. This is needed for the new
1260            write_creatorcomment function.
1261                    
1262            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
1263            import module "re". Also added Range and the ClassGroupRange import
1264            from Thuban. Both are needed for the new range expression import.
1265            (create_rangeexpression): Added. Creates a Range Expression in Thuban
1266            style from a given mapfile expression.
1267            (added_rasterlayer): Make some small code changes. The shapepath is
1268            now stored in an extra variable and the clazz_name is set empty if no
1269            class name set in the mapfile.
1270            Changed the Error message for Range Expressions, becaus the new
1271            function create a error string which will be shown in the dialog.
1272    
1273            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
1274            range expression import.
1275    
1276    2004-07-21  Jan-Oliver Wagner <[email protected]>
1277    
1278            * Extensions/umn_mapserver/README: Added hint that
1279            installation as root can be avoided. Removed all tabs.
1280    
1281    2004-07-16  Bernhard Herzog  <[email protected]>
1282    
1283            * test/test_viewport.py
1284            (ViewPortTest.test_changing_map_projection): Check that changing
1285            the projection of an empty map shown in a viewport doesn't lead to
1286            exceptions in the viewport's handler for the
1287            MAP_PROJECTION_CHANGED messages
1288    
1289            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
1290            try to keep the same region visible when the map actually contains
1291            something
1292    
1293    2004-07-15  Jan Sch�ngel <[email protected]>
1294    
1295            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
1296            mappath directly from the mapobj. Is needed because of the changes
1297            in mf_import.py.
1298            (MF_Layer.add_thubanclass): Added a new comment.
1299            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
1300            mapobj is empty there is no extent get from thuban an so no one can
1301            set to th mapobj.
1302            
1303            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
1304            the discription.
1305            Split the funktion in to three smaller ones. The new functions are
1306            add_rasterlayer, add_polygonlayer and select_layer2import.
1307            Removed the mapfilepath and filepath initialisation, because its know
1308            include in the new functions.
1309            Now nothing will be imported if cancel is pressed in the
1310            layer choice dialog.
1311    
1312    2004-07-14  Jan Sch�ngel <[email protected]>
1313    
1314            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
1315            import.
1316            (MF_Symbolset): Removed the extra variable for numsymbols.
1317            (MF_Class.__init__): Added a comment to the exception clause.
1318            Removed the extent init, because it was not needed anymore.
1319            (MF_Layer.add_thubanclass): Added the code to set the class name to
1320            the expression value from thuban if no label is defined.
1321            Added the code to export Range expressions from thuban to the mapfile.
1322            (MF_Map.set_extent): Removed the exception and replace it by some if
1323            code. If the size of a map is not defined the size will be set to 1,1.
1324            This is necessary because if the extent is set, mapscript checks if
1325            the size is greater than zero.
1326            (MF_Web): Added the get and set function for the template.
1327    
1328            * Extensions/umn_mapserver/mf_export.py: Added the function to check
1329            if a mapobject exists and used it to set the status of the menu items.
1330            If no mapfile exists the settings could not be edditied.
1331            Define after which menuitem the exportitem will include.
1332            
1333            * Extensions/umn_mapserver/mf_handle.py: Removed the import
1334            Thuban.UI.mainwindow clause, because it is not needed.
1335            Added the command Refresh() to all "OnChangeColor()" functions,
1336            because the color preview window was not updated on a color change.
1337            Added the function to check if a mapobject exists and used it to set the
1338            status of the menu items. If no mapobject exists the settings could not
1339            be edditied.
1340            (Map_Dialog): Moved the imagetype selector from the
1341            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
1342            (Web_Dialog): Removed the name label and added the template textbox.
1343    
1344            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
1345            the exception handling on loading the layers by an if statement. It
1346            is not necessary to us the exception there.
1347            The Filepath creation now use os.path.join to build the path.
1348    
1349            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
1350            definition from global to the setUp function. Now the testMap will
1351            initialize new on each test.
1352    
1353            * Extensions/umn_mapserver/sample/iceland.map: Include three new
1354            classes in the Line Layer, to test logical Expressions.
1355            Set the status of the class "Point9" in the Point Layer to off
1356            
1357    2004-07-13  Bernhard Herzog  <[email protected]>
1358    
1359            * Thuban/UI/baserenderer.py
1360            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
1361            optimization that tries not to draw layers under a raster layer.
1362            The bug was harmless.  All it effectively did was to produce The a
1363            strange messages about not being able to draw Layer instances for
1364            all vector layers below a raster layer which would be invisible
1365            anyway because the raster layer currently always covers the entire
1366            window
1367    
1368    2004-07-08  Jan Sch�ngel <[email protected]>
1369    
1370            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
1371            a list of supported outputformats. This formats are not alle supported
1372            because there is no possibility to get the outputformat without the
1373            name known. Make some formal changes to the code.
1374            (MF_Map.set_name()): Fixed a bug if the name is None.
1375    
1376            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
1377            statement, because its not needed anymore. The Outputformat is now
1378            given as string from the object. Make some formal changes to the code.
1379    
1380            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
1381            most of the new setting which were added during the last changes.
1382            Removed the MF_Size Test.
1383            
1384            * Extensions/umn_mapserver/test/test.map: Added a new class to the
1385            cultural Layer to test expressions and the the status of that layer
1386            from on to default.
1387            Changed the data path the the correct Thuban Data
1388            Added the Outputformat Object and Symbol Object
1389            
1390    2004-07-07  Jan Sch�ngel <[email protected]>
1391    
1392            * Extensions/umn_mapserver/mapfile.py: Added some new
1393            settings to edit (outputformat, label, imagetype)
1394    
1395            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
1396            the Label Dialog and add the OutputDialog.
1397            Make some changes to the code order.
1398    
1399    2004-07-06  Jan Sch�ngel <[email protected]>
1400    
1401            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
1402            and line Obj and add the scalebar_status_type, scalebar_style_type and
1403            scalebar_position_type.
1404            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
1405            are only used to create a Symbol like the circle in Thuban.
1406            Added the scalebarObject (MF_Scalebar)
1407            (MF_Class): Added set_status and get_status.
1408            (MF_Layer.add_thubanclass): Added code to set the class status
1409            (MF_Map): Added code to handle the symbols and scalebar
1410            (MF_Label): Added the set_partials and get_partials functions
1411            
1412            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
1413            from mapfile. Added a function to create a circle object like the one
1414            from thuban if no one exists.
1415            
1416            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
1417            press ok in the assosiated dialog and not at the end of the
1418            colordialog.
1419            Added the Dialog for the Scalebar.
1420            (Label_Dialog): Added the offset option
1421    
1422            * Extensions/umn_mapserver/mf_import.py: Added code to import the
1423            status of the Classes.
1424            Fixed a bug with the projection. Now the to_meter parameter will be
1425            added to the Projection only if it doesn't exists.
1426    
1427    2004-07-01  Jan Sch�ngel <[email protected]>
1428    
1429            Added the functionality to handle the content thuban is not
1430            able to handle directly.
1431    
1432            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
1433            Thuban with the possibility to edit the mapfile content.        
1434            
1435            * Extensions/umn_mapserver/mf_import.py: Added the possibility
1436            to import mapfiles without any layer selected. So it is possible
1437            to edit the other settings in a mapfile.
1438            (import_mapfile): Added code to use the editing functions.
1439            Added the possibility to import the projection to a layer if one
1440            is defined.
1441            Status settings (On,Off) will now set in thuban (visible, invisible).
1442            fixed a bug with with classnames. If no classname is set in mapfile
1443            the value in Thuban will set to the expression.
1444            
1445            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
1446            possibility to save a new mapfile or use the old one which is
1447            imported or new created.
1448            Added code to use the editing functions.
1449            Remove some not needed import statements
1450    
1451            * Extensions/umn_mapserver/mapfile.py: Added new types which are
1452            need for the editing functions.
1453            Added needed set-functions for the editing functions.
1454            Added the possibility to export rasterimages.
1455            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
1456            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
1457            moment.
1458            (MF_Class.set_thubanstyle): Now point layers will set to a default
1459            symbol to show a circle in mapserver and not only a 1px dot.
1460            (MF_Style.__init__): Fixed a bug with the color. Color was not set
1461            correct before.
1462            (MF_Size): Removed, because it is not needed.
1463            
1464            * Extensions/umn_mapserver/README: Added the hints to use the
1465            export and editing functions, too.
1466    
1467            * Extensions/umn_mapserver/sample/iceland.map: Added the
1468            new parameter "UNITS METERS".
1469            Change the political layer to status OFF.
1470    
1471            * Extensions/umn_mapserver/sample/README: Added some
1472            more details to setup the sample in the MapServer.
1473            
1474    2004-06-26  Bernhard Reiter <[email protected]>
1475    
1476            * Extensions/svgexport/test/test_svgmapwriter.py:
1477            Removed class VFile and used standard StringIO instead.
1478    
1479    2004-06-23  Jan Sch�ngel  <[email protected]>
1480    
1481            Add the export function to the umn_mapserver extension.
1482    
1483            * Extension/umn_mapserver/mf_export.py: New. This module extents
1484            Thuban with the possibility to export the Thuban content.
1485    
1486            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
1487            with the export module. Especially added the possibility to
1488            add thuban objects directly to the map objects.
1489    
1490            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
1491            because of the hint from Bernhard Herzog.
1492            Corrected the handling of absolute pathnames.
1493            Changed the Text of the Menu-Item, now the beginning is upper case.
1494    
1495            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
1496    
1497    2004-06-16  Jan Sch�ngel  <[email protected]>
1498    
1499            Add a sample and make some changes.
1500    
1501            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
1502            import from * to explicit used statements. Changed the
1503            Thuban.UI.mainwindow import phrase, too.
1504            (import_mapfile):Corrected a clerical mistake.
1505            Added wxCHANGE_DIR in OpenFile Dialog.
1506            Added a MultipleChoiceDialog, to select the layers to load from
1507            mapfile into thuban. Thereby the projection is only set if one layer
1508            is selected.
1509            Added the possibility to handle relative pathnames which uses
1510            up-level references.
1511            Removed some doubled code.
1512            Corrected an error with integer values used as label in thuban
1513            ClassGroup.
1514            
1515            * Extensions/umn_mapserver/sample: New.
1516    
1517            * Extensions/umn_mapserver/sample/README: New. Describes the
1518            usage of the sample files.
1519    
1520            * Extensions/umn_mapserver/sample/iceland.map: New. This is
1521            a suitable .map-file for the iceland data.
1522    
1523            * Extensions/umn_mapserver/sample/index.html: New. The template
1524            for the mapfile.  
1525    
1526            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
1527            file for the Iceland Application on web.
1528    
1529            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
1530            some details.
1531    
1532            * Extensions/umn_mapserver/test/test_mapserver
1533            (mapserver_import_Test_generalClasses.test_MF_Color):
1534            Corrected the thubancolor test.
1535    
1536    2004-06-15  Jan Sch�ngel  <[email protected]>
1537    
1538            * Extensions/umn_mapserver/README: New. Install instruction.
1539    
1540    2004-06-14  Bernhard Reiter <[email protected]>
1541    
1542            * libraries/thuban/cpl_mfile.h: Added copyright header.
1543    
1544            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
1545            Free Software License so that it is most useful with gdalwarp
1546            and bmpdataset.
1547    
1548    2004-06-14  Bernhard Herzog  <[email protected]>
1549    
1550            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
1551            import of wxPython.wx itself (as opposed to the contents of
1552            wxPython.wx).  For some reason wxPython.wx is available as
1553            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
1554            wrt. wxPython 2.4.
1555    
1556    2004-06-10  Jan Sch�ngel  <[email protected]>
1557    
1558            Initial version of new extension "umn_mapserver".  This extension aims
1559            to manage configuration for the UMN MapServer application.  This
1560            inital version just imports the .map-files and displays all, Thuban is
1561            capable of.
1562    
1563            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
1564    
1565            * Extensions/umn_mapserver/test/README: New. Describes how to run the
1566            tests.
1567    
1568            * Extensions/umn_mapserver/test/test.map: New. This is a test
1569            .map-file for automated tests of the umn_mapserver extension of
1570            Thuban.
1571    
1572            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
1573            UMN Mapserver classes.
1574    
1575            * Extensions/umn_mapserver/__init__.py: New. Init to make this
1576            directory a package.
1577    
1578            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
1579            '.map'-file objects.
1580    
1581            * Extensions/umn_mapserver/mf_import.py: New. This module extends
1582            Thuban with the possibility to handle UMN MapServer mapfiles.
1583    
1584    2004-06-03  Bernhard Herzog  <[email protected]>
1585    
1586            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
1587            to a tuple before using it as arguments to the % operator.  This
1588            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
1589            reported today on thuban-list by Jan Sch�ngel
1590    
1591            * test/test_layer.py (TestLayerModification.setUp): Save the
1592            filename as an instance variable so we can refer to it in tests
1593            (TestLayerModification.test_tree_info): Uncomment this method
1594            again and make it work.  This tests for the formatting issue
1595            filed in RT#2239 on 2004-01-13
1596    
1597    2004-05-28  Bernhard Herzog  <[email protected]>
1598    
1599            * Thuban/UI/baserenderer.py: Fix some typos.
1600    
1601    2004-05-18  Jan-Oliver Wagner <[email protected]>
1602    
1603            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
1604            by increasing a field size.
1605    
1606    2004-05-17  Bernhard Herzog  <[email protected]>
1607    
1608            Update to newest shapelib and get rid of Thuban specific
1609            extensions, i.e. use the new DBFUpdateHeader instead of our
1610            DBFCommit kludge
1611    
1612            * libraries/shapelib/shpopen.c: Update to version from current
1613            shapelib CVS.
1614    
1615            * libraries/shapelib/shapefil.h: Update to version from current
1616            shapelib CVS.
1617    
1618            * libraries/shapelib/dbfopen.c: Update to version from current
1619            shapelib CVS.
1620            (DBFCommit): Effectively removed since shapelib itself has
1621            DBFUpdateHeader now which is better for what DBFCommit wanted to
1622            achieve.  
1623            We're now using an unmodified version of dbfopen.
1624    
1625            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
1626            value '1' to the Lib.dbflibc extension.  This simply reflects the
1627            shapelib and pyshapelib updates
1628    
1629    2004-05-16  Jan-Oliver Wagner <[email protected]>
1630    
1631            Finished introduction of Menu.FindOrInsertMenu.
1632    
1633            * Extensions/drawshape/drawshape.py: Add the command
1634            to the experimental menu additionally to the toolbar.
1635    
1636            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
1637            finding menu on its own.
1638    
1639            * Doc/manual/thuban-manual.xml: updated sample file
1640            to use FindOrInsertMenu().
1641    
1642            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
1643            instead of finding menu on its own.
1644    
1645    2004-05-11  Jan-Oliver Wagner <[email protected]>
1646    
1647            * test/test_menu.py (MenuTest.test): Added testing
1648            of method Menu.FindOrInsertMenu.
1649    
1650    2004-05-10  Jan-Oliver Wagner <[email protected]>
1651    
1652            Introduce and use Menu.FindOrInsertMenu.
1653    
1654            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
1655              given menu or, if not found, insert it.
1656    
1657            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
1658            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
1659            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
1660            menu on its own.
1661    
1662    2004-05-06  Jan-Oliver Wagner <[email protected]>
1663    
1664            Introduce a abstract ColorDialog class and remove
1665            and outdated file.
1666    
1667            * Thuban/UI/proj4dialog.py: Removed. It is has been
1668            replaced by projdialog for quite a while and is not used
1669            anymore.
1670    
1671            * Thuban/UI/colordialog.py: New. Abstraction for color selection
1672            dialog(s).
1673    
1674            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
1675            Now calls the abstract ColorDialog instead of wxColourDialog.
1676            This also removed the dependency to Color class conversion
1677            from this function.
1678    
1679    2004-05-04  Frank Koormann  <[email protected]>
1680    
1681            * Extensions/bboxdump/__init__.py: Fixed string left over from
1682            copying.
1683    
1684            * Extensions/bboxdump/bboxdump.py (bboxdump):
1685            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
1686            xrange(layer.NumShapes()). Compile the bboxmessage from a list
1687            of formatted outputs (string.join) instead of appending to the
1688            message. Two progress bar dialogs to report progress on the sometimes
1689            lenghty processing.
1690    
1691    2004-04-22  Frank Koormann  <[email protected]>
1692    
1693            New Extension to dump bounding boxes of all shapes of the selected
1694            layer. An optional column can be specified to group the objects,
1695            in this case the bounding box is a union of the separate boxes.
1696            Dump can be displayed in a ScrolledMessageDialog or written to file.
1697            The Extension is simply a combination of available and well tested
1698            Thuban functionality.
1699    
1700            * Extensions/bboxdump/__init__.py: New: Init to make this
1701            directory a package.
1702    
1703            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
1704            all shapes of the selected layer.
1705    
1706    2004-04-22  Jan-Oliver Wagner <[email protected]>
1707    
1708            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
1709            strings to be i18n now.
1710    
1711    2004-04-18  Jan-Oliver Wagner <[email protected]>
1712    
1713            Changing popup menu of legend from direct building
1714            to using the Menu construction as used for the mainwindow.
1715    
1716            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
1717            layer_to_bottom, layer_visibility
1718            (MainWindow.LayerToTop): New. Put current layer to the top.
1719            (MainWindow.LayerToBottom): New. Put current layer to bottom.
1720            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
1721            Replace 1,0 by True, False.
1722            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
1723            current layer.
1724            (MainWindow.LayerShowTable): Removed raising of dialog.
1725            (_has_selected_layer_visible): New. Support function.
1726    
1727            * Thuban/UI/legend.py: ID_POP_xxx: removed.
1728            (LegendPanel.__init__): Removed EVT_MENU bindings.
1729            (LegendTree._OnRightClick): Replace direct creation of
1730            menu via wx Classes by applying the menu definition
1731            as of Menu class of menu.py.
1732            
1733    2004-04-16  Jan-Oliver Wagner <[email protected]>
1734    
1735            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
1736        button string to stronger clearify that Thuban will be closed when hitting
1737            the button.
1738    
1739            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
1740            Now for layers without a ShapeStore a corresponding message is given
1741            to the user, that this layer has no table to show.
1742    
1743    2004-04-15  Martin Schulze  <[email protected]>
1744    
1745            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
1746            recalculate the format for the internal render engine as well.
1747    
1748            * Extensions/wms/properties.py (wmsProperties): First start for a
1749            properties dialog.  It's functional for a first selection of
1750            layers, but still has some weired wxWidgets/GTK problems but
1751            beautification can be done later.
1752    
1753            * Extensions/wms/layer.py: Added more documentation
1754            (WMSLayer.getFormats): New: Return list of supported image formats
1755            by the WMS server
1756            (WMSLayer.getLayers): New: Return the list of layer names
1757            supported by the WMS server
1758            (WMSLayer.getLayerTitle): New: Return the title of the named layer
1759            (WMSLayer.getWMSFormat): New: Return the image format that is used
1760            for WMS GetMap requests
1761            (WMSLayer.setWMSFormat): New: Set the image format that is used
1762            for WMS GetMap requests
1763            (WMSLayer.__init__): Move away from using only one layer to using
1764            a list of layers (unsorted at the moment, though).
1765            (WMSLayer.getVisibleLayers): New: Return the list of names for all
1766            visible layers
1767            (WMSLayer.setVisibleLayers): New: Set the list of names for all
1768            visible layers
1769    
1770            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
1771            order to establish a clean structure.
1772    
1773            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
1774            own in order to establish a clean structure.
1775    
1776    2004-04-13  Martin Schulze  <[email protected]>
1777    
1778            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
1779            support for oldstyle (WMS 1.0 apparently) image format
1780            specification.
1781    
1782            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
1783            supported graphic formats back to JPEG and BMP, PNG and others are
1784            too *cough* experimental...  Sorry, I meant to filter this out
1785            before I committed this part.  This should make the WMS extension
1786            run from CVS again.
1787            (wms_dialog): Reset an empty URL to None so that the subsequent
1788            program can depend on this, since the dialog will indeed return an
1789            empty URL, causing another declaration of love by Python.
1790    
1791            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
1792            Whenever a native BoundingBox request cannot be fulfilled, check
1793            whether the requested SRS is EPSG:3426, in which case return the
1794            LatLonBoundingBox values.
1795    
1796            * Extensions/wms/test/test_parser.py
1797            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
1798            ignoring AUTO:* SRS.
1799            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
1800            Added another test method to test whether the LatLonBoundingBox
1801            values will be returned if BoundingBox values are requested with
1802            SRS set to EPSG:3426.
1803    
1804            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
1805            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
1806            the moment by placing them into a variable which is currently
1807            unused.  Also test whether the EPSG SRS is numerical as it should
1808            be and add an error message if it is not.
1809    
1810            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
1811            appear in the real world as well.  Since we cannot handle them yet
1812            (OGCLib can't either), we will ignore them for the moment.
1813    
1814            * Extensions/wms/parser.py: Use a variable for denoting the sample
1815            filename
1816            (WMSCapabilitiesParser.peekLayers): Added support for error
1817            messages during grok().  They will be aggregated in an array and
1818            may be displayed later.  We may have to add a classification
1819            "Warning" and "Error" to this.  That requires more experience,
1820            though, since not every error may be lethal.
1821    
1822            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
1823            ShowTable() dialog/frame when the user attempts to display it
1824            while it has been opened before already and not closed again.
1825    
1826    2004-04-11  Martin Schulze  <[email protected]>
1827    
1828            * Extensions/wms/infodialog.py: Adjusted the class documentation
1829    
1830            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
1831            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
1832            wxWidgets variants.
1833            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
1834    
1835            * Extensions/wms/infodialog.py: Added an information dialog that
1836            will display various information about the WMS current resource,
1837            so that additional information such as the title, the abstract,
1838            fees and access constraints can be displayed for the user if they
1839            are documented in the WMS XML.
1840    
1841    2004-04-10  Martin Schulze  <[email protected]>
1842    
1843            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
1844            string handling.  It's "foo".lower() and not lower(foo) without
1845            lower imported from strings or something.
1846    
1847            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
1848            from capabilities.py and parser.py.  Implement priority list for
1849            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
1850            and GIF are supported here, but not yet by main Thuban.  Hence,
1851            support for them may be removed later.  Special contribution to
1852            usability: get wxWidgets to change the cursor when we're waiting
1853            for data from the network so the user won't start to worry.  This
1854            causes a redrawing error/warning, though.
1855    
1856            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
1857            the DOM object.
1858    
1859    2004-04-01  Martin Schulze  <[email protected]>
1860    
1861            * Extensions/wms/capabilities.py: Adjusted documentation
1862            (WMSCapabilities.__init__): Improved documentation, fixed syntax
1863            (WMSCapabilities.saveCapabilities): Only catch IOError when
1864            handling files
1865            (WMSCapabilities.loadCapabilities): Only catch IOError when
1866            handling files
1867            __main__: corrected variable naming
1868            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
1869            class a specialisation of WMSCapabilitiesParser as well.  Also
1870            execute grok() after loading or fetching capabilities, if that
1871            went well, so that subsequent calls can already access the data.
1872            (WMSCapabilities.getVersion): Export the used version of the
1873            GetCapabilities request, so we can use it for subsequent calls,
1874            i.e. for GetMap requests.
1875            (WMSCapabilities.fetchCapabilities): Added proper error handling
1876            when the GetCapabilities request failed, so that the surrounding
1877            program can act accordingly.
1878    
1879    2004-03-30  Martin Schulze  <[email protected]>
1880    
1881            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
1882            Adjusted the getLayerSRS method to return the list of SRSes
1883            extracted from <SRS> elements instead of <BoundingBox> elements.
1884            Added a bit of documentation as well.
1885            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
1886            since it was only implemented due to a misunderstanding.
1887    
1888            * Extensions/wms/test/test_parser.py
1889            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
1890            reflect the corrected interpretation of the standard: i.e. a layer
1891            does not have to define a BoundingBox for all SRSes it supports.
1892            Hence the <SRS></SRS> specification is authoritative, not the list
1893            of BoundingBoxes.
1894            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
1895            to ensure None is returned for a non-existing SRS.
1896            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
1897            since it is not applicable anymore.  Listing more SRSes in <SRS>
1898            elements is valid according to the specs.
1899    
1900    2004-03-26  Bernhard Reiter <[email protected]>
1901    
1902            * README: Nicer formatting of text. Improved descriptions.
1903            Reflected wxWidgets name change.
1904            
1905            * Thuban/UI/about.py: Extended copyright to 2004 and added
1906            information about the thuban-devel mailinglist.
1907    
1908    2004-03-24  Martin Schulze  <[email protected]>
1909    
1910            * Extensions/wms/capabilities.py: Renamed the class to contain
1911            'WMS', also added a linebreak where required
1912    
1913            * Extensions/wms/parser.py: Finally added the XML parser for the
1914            GetCapabilities response.
1915    
1916            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
1917            <SRS> elements match the <BoundingBox> elements, except for the
1918            layer 'beschriftung'.
1919    
1920            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
1921            since Python uses unicode strings internally, otherwise
1922            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
1923            the SRS will be calculated anyway and this method is obsoleted by
1924            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
1925            Move loading the sample file into the setUp method.  Added a test
1926            for finding the integrity problem in the sample response.
1927            Improved formatting.
1928    
1929            * Extensions/wms/domutils.py: Added convenience routines for
1930            handling of Document Object Model (DOM) nodes.
1931    
1932            * Extensions/wms/test/test_domutils.py: Added a test for the
1933            domutils module
1934    
1935    2004-03-19  Martin Schulze  <[email protected]>
1936    
1937            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
1938            Moved path detection and adding into a module of its own,
1939            adjustpath, which exports thubandir as main Thuban directory.
1940    
1941            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
1942            detection and adding into a module of its own, adjustpath, which
1943            exports thubandir as main Thuban directory.  Reorganised the
1944            module in order to support the SkipTest feature for Thuban test
1945            cases.
1946    
1947            * Extensions/wms/test/adjustpath.py: Moved path detection and
1948            adding into a module of its own.
1949    
1950    2004-03-18  Martin Schulze  <[email protected]>
1951    
1952            * Extensions/wms/test/test_parser.py: Added another test for
1953            checking whether the WMS XML parser (to be implemented) returns
1954            the information we expect.  This requires a sample WMS WML file
1955            (sample.xml) which has been extracted from the frida server and
1956            "improved" manually.
1957    
1958            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
1959            main Thuban directory to the path in order to be able to import
1960            random modules.  Adjusted the PyOGCLib detection to reuse the
1961            information gathered.  Also added a note about the PYTHONPATH
1962            environment variable.
1963    
1964            * Extensions/wms/test/test_ogclib.py: The format specification is
1965            a mime-type, not a graphic format, hence image/jpeg wou ld be the
1966            proper format and not JPEG.  We'll also have to take care of the
1967            encoding of / as %2F.
1968    
1969    2004-03-16  Martin Schulze  <[email protected]>
1970    
1971            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
1972            comprehensive test for the getMapURL method, built compare URLs
1973            according to the documentation in OGC 01-068r3
1974    
1975            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
1976            class WMSCapabilities to manage capabilites, will incorporate
1977            parsing the capabilities response and provide details for other
1978            classes.
1979    
1980    2004-03-12  Bernhard Herzog  <[email protected]>
1981    
1982            Support views in addition to normal tables in the postgis
1983            shapestore
1984    
1985            * Thuban/Model/postgisdb.py
1986            (PostGISShapeStore._fetch_table_information): Add a fallback for
1987            the case where the table name is not in the geometry_columns
1988            table.  This is usually the case for views.  Also, set
1989            self.shapestore here.
1990            (PostGISShapeStore.ShapeType): No need to query the database all
1991            the time.  The shape type is now determined in
1992            _fetch_table_information
1993    
1994            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
1995            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
1996            New parameter to specify views.
1997            (PostGISDatabase.has_data): Also compare the views.  New views
1998            parameter
1999            (PostGISDatabase.initdb): Create the views.
2000            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
2001            view
2002    
2003            * test/test_postgis_db.py
2004            (TestPostGISShapestorePointFromViews): New.  Test a
2005            PostGISShapeStore with a view
2006            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
2007            the geometry_column explicitly to test whether that works
2008    
2009    2004-03-12  Bernhard Herzog  <[email protected]>
2010    
2011            Final step for explicit id/geometry columns: Loading and saving
2012    
2013            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
2014            with the following changes:
2015            (dbshapesource): Two new attributes id_column and geometry_column
2016    
2017            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
2018            (SessionSaver.write_session): Use the new namespace
2019            (SessionSaver.write_data_containers): Write the new dbshapesource
2020            parameters
2021    
2022            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
2023            the new file format version
2024            (SessionLoader.start_dbshapesource): Handle the new db parameters
2025    
2026            * test/test_save.py: Update to the new dtd and namespace
2027            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
2028            mock object to provide a working IDColumn method.
2029    
2030            * test/test_load_1_0.py: New.  Copy of the test_load.py before
2031            today's changes but with the round-trip tests removed.
2032    
2033            * test/test_load_0_9.py: Update doc-string.
2034    
2035            * test/test_load.py: Update all .thuban files to the new dtd and
2036            namespace.
2037            (TestPostGISLayer.file_contents): Add the new dbshapesource
2038            paramters
2039    
2040    2004-03-11  Bernhard Herzog  <[email protected]>
2041    
2042            Next step for explicit id/geometry columns: User interaction
2043    
2044            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
2045            the dialog is constructed. Add combo boxes to select id and
2046            geometry column.  Rename some instance variables.
2047            (ChooseDBTableDialog.GetTable): Return id and geometry column
2048            names
2049            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
2050            selections in the table list
2051    
2052            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
2053            and geometry_column
2054    
2055            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
2056            parameters for id_column and geometry column of PostGISShapeStore
2057            here as well.
2058    
2059            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
2060            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
2061            (PostGISConnection.GeometryTables): Use a better query to
2062            determine which relations in the database might be usable for
2063            shapestores.  Now supports views as well but is more PostgreSQL
2064            specific
2065            (PostGISConnection.table_columns): New. Somewhat experimental
2066            method to let the db dialogs provide lists of columns to users so
2067            that they can select id and geometry columns.
2068            (PostGISTable.__init__): The default value of the id_column
2069            parameter is now None it still means "gid" effectively, though.
2070            (PostGISTable.IDColumn): New introspection method to return a
2071            column object for the id column
2072            (PostGISShapeStore.GeometryColumn): New introspection method to
2073            return a column object for the geometry column
2074    
2075            * test/test_postgis_db.py
2076            (TestPostGISConnection.test_gis_tables_non_empty):
2077            Removed. Subsumed by the new:
2078            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
2079            New. Tes the GeometryTables and table_columns methods with actual
2080            tables and views.
2081            (PointTests.test_id_column, PointTests.test_geometry_column):
2082            New. tests for the new methods.
2083            (TestPostGISShapestorePoint.setUp)
2084            (TestPostGISShapestorePointSRID.setUp)
2085            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
2086            instance variables needed by the new tests
2087    
2088    2004-03-11  Bernhard Herzog  <[email protected]>
2089    
2090            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
2091            numbers given to ReadValue are ordinals.
2092    
2093    2004-03-11  Bernhard Herzog  <[email protected]>
2094    
2095            Elimiate the requirement for PostGIS tables to have a column
2096            called "gid".
2097    
2098            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
2099            id_column to specify which column to use to identify rows.  Also
2100            new instance variables id_column and quoted_id_column
2101            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
2102            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
2103            (PostGISTable.SimpleQuery): Use the id column name provided to the
2104            constructor instead of "gid"
2105            (PostGISShapeStore.__init__): New parameter id_column analogously
2106            to PostGISTable.__init__.  This parameter is simply passed through
2107            to the base class constructor
2108            (PostGISShapeStore._create_col_from_description): Fix typo in
2109            doc-string
2110            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
2111            (PostGISShapeStore.ShapesInRegion): Use the id column name
2112            provided to the constructor instead of "gid"
2113    
2114            * test/postgissupport.py
2115            (PostgreSQLServer.get_default_static_data_db): New static table
2116            landmarks_point_id with an id column != "gid.  Update the comments
2117            a bit.
2118            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
2119            doc-
2120            (upload_shapefile): New parameter gid_column to use a name other
2121            than "gid" for the column to store the shape ids
2122    
2123            * test/test_postgis_db.py (TableTests): New.  Mixin-class
2124            containing all tests previously in TestPostGISTable.  The actual
2125            tests are the same but the code is a bit more configurable to
2126            allow for different id columns etc.
2127            (TestPostGISTable): Derive from TableTests now for the actual
2128            tests.
2129            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
2130            except that it the landmarks_point_id table to test the id_column
2131            parameter
2132            (PointTests): Extend the doc-string
2133            (TestPostGISShapestorePointExplicitGIDColumn)
2134            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
2135            from PointTests to test the explicit id_column parameter.  One
2136            tests with the name of the column holding the shape ids, the other
2137            uses PostgreSQL's OID column.  For the latter a number of methods
2138            have to be overwritten to make them independent of the actual id
2139            values.
2140    
2141    2004-03-08  Silke Reimer  <[email protected]>
2142    
2143            Update debian directory:
2144    
2145            * debian/changelog: Added new version.
2146            * deiban/rules: Updated management of patches (with cbds)
2147            * debian/control: Added cbds to dependencies
2148            * debian/patches/*: New. Adds better support for patches of thuban in
2149                            debian
2150            * debian/menu: Syntax of menu changed slightly
2151            * debian/setup.py.patch: removed because it has been moved to
2152                            debian/patechs/setup.py.patch
2153            
2154    
2155    2004-02-26  Bernhard Herzog  <[email protected]>
2156    
2157            Create the Doc/technotes directory for text files with information
2158            for developers
2159    
2160            * Doc/technotes/README: New. README for the technotes
2161    
2162            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
2163            Thuban
2164    
2165            * Doc/technotes/release_process.txt: New. Used to be
2166            HOWTO-Release.  Now slightly adapted to technote formatting style.
2167    
2168            * HOWTO-Release: Removed.  It's contents are now in
2169            Doc/technotes/release_process.txt
2170    
2171    2004-02-25  Bernhard Herzog  <[email protected]>
2172    
2173            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
2174            version of wxWindows the module was compiled with so we can check
2175            that against the wxPython version.
2176    
2177            * Thuban/version.py (thuban_branch, thuban_release): New variables
2178            controlling which and how Thuban versions are shown.  See the
2179            comments for details.
2180            (verify_versions): Also check that the wx version that wxproj is
2181            compiled against matches that of the wxPython we use at runtime
2182    
2183    2004-02-20  Bernhard Herzog  <[email protected]>
2184    
2185            * Extensions/wms/wms.py (epsg_code_to_projection): Use
2186            get_system_proj_file to read the epsg projections.  The old way
2187            depended on the current directory being the top Thuban directory.
2188    
2189    2004-02-20  Bernhard Herzog  <[email protected]>
2190    
2191            * Extensions/svgexport/test/test_svgmapwriter.py
2192            (TestVirtualDC.test_clippath): Remove a debug print
2193    
2194    2004-02-20  Bernhard Herzog  <[email protected]>
2195    
2196            * Extensions/svgexport/__init__.py: New.  Turn
2197            Extensions/svgexport into a package.
2198    
2199            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
2200            doc-string a bit.  The doc-string must come first, otherwise it's
2201            not a doc-string.  The __future__ import must be the first thing
2202            after the doc-string.  Use only double quotes in doc-strings.
2203            Single quotes trip up emacs syntax highlighting if the text
2204            contains apostrophes.
2205    
2206    2004-02-20  Bernhard Herzog  <[email protected]>
2207    
2208            * Extensions/svgexport/test/__init__.py,
2209            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
2210            suite for svgexport
2211    
2212            * test/runtests.py (find_test_modules): New. Function with the
2213            module finding code from main.
2214            (main): Use find_test_modules to figure out the default test
2215            modules and take modules from Extensions.svgexport.test too.
2216    
2217    2004-02-19  Bernhard Herzog  <[email protected]>
2218    
2219            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
2220            the mainwindow has a reference to the map of the initial session.
2221            This fixes a bug introduced with the fix for RT#2245
2222    
2223    2004-02-19  Bernhard Herzog  <[email protected]>
2224    
2225            * Extensions/svgexport/svgsaver.py,
2226            Extensions/svgexport/svgmapwriter.py,
2227            Extensions/svgexport/maplegend.py: Added again.  This time in the
2228            correct place.
2229    
2230    2004-02-17  Bernhard Herzog  <[email protected]>
2231    
2232            Fix for RT#2245
2233    
2234            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
2235            instance variables before trying to create any windows.  Creating
2236            windows can start an event loop if e.g. message boxes are popped
2237            up for some reason, and event handlers, especially EVT_UPDATE_UI
2238            may want to access things from the application.
2239            (ThubanApplication.maps_changed): The mainwindow may not have been
2240            created yet, so check whether it has been created before calling
2241            its methods
2242    
2243            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
2244            have a map
2245    
2246    2004-02-17  Bernhard Herzog  <[email protected]>
2247    
2248            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
2249            Extensions/svgmapwriter.py, Extensions/maplegend.py,
2250            extensions/svgexport/svgsaver.py,
2251            extensions/svgexport/svgmapwriter.py,
2252            extensions/svgexport/maplegend.py: Removed.  These files were in
2253            the wrong places or didn't work at all.
2254    
2255    2004-02-16  Bernhard Herzog  <[email protected]>
2256    
2257            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
2258            line
2259    
2260    2004-02-16  Bernhard Herzog  <[email protected]>
2261    
2262            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
2263    
2264    2004-02-15  Markus Rechtien  <[email protected]>
2265            
2266            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
2267            to write a session to a file in SVG format.
2268            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
2269            to write a SVG map of a session.
2270            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
2271            in SVG format for the current session.
2272    
2273    2004-02-13  Bernhard Herzog  <[email protected]>
2274    
2275            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
2276            can't be created, return immediately after displaying the error
2277            message.
2278    
2279    2004-02-11  Bernhard Herzog  <[email protected]>
2280    
2281            Handle postgis tables with more than one geometry column.
2282    
2283            * Thuban/Model/postgisdb.py
2284            (PostGISTable._fetch_table_information): Delegate the creation of
2285            column objects to a different method so that we can extend that in
2286            derived classes
2287            (PostGISTable._create_col_from_description): New. Column object
2288            creation part of _fetch_table_information
2289            (PostGISShapeStore._create_col_from_description): New. Extend
2290            inherited method to handle geometry columns
2291            (PostGISShapeStore.__init__): New parameter geometry_column to
2292            specify which geometry column to use.  Optional but mandatory for
2293            tables with more than one geometry column
2294            (PostGISShapeStore._fetch_table_information): Also use the name of
2295            the geometry column when looking for the srid
2296            (PostGISShapeStore.ShapeType): Also use the name of the geometry
2297            column when looking for the shape type
2298    
2299            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
2300            NonConnectionStore to changes in the PostGISShapeStore
2301    
2302            * test/test_postgis_db.py
2303            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
2304            PostGISShapeStore with tables having two geometry columns.
2305    
2306    2004-02-10  Bernhard Herzog  <[email protected]>
2307    
2308            Fix some postgis problems.  What remains to be done is real
2309            handling of SRIDs as they affect how reprojection is done
2310    
2311            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
2312            doc-string
2313            (PostGISShapeStore._fetch_table_information): New. Extend
2314            inherited method to retrieve srid
2315            (PostGISShapeStore.BoundingBox): Handle tables without data.
2316            extent yields NULL for those
2317            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
2318    
2319            * test/test_postgis_db.py
2320            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
2321            for the special case of a table without any data
2322            (TestPostGISShapestorePointSRID): New class with tests for a table
2323            that uses srids
2324            (PolygonTests): Fix a doc-string typo
2325    
2326            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
2327            reference_systems with a specification of spacial reference
2328            systems to create in the new db.
2329            (PostgreSQLServer.new_postgis_db)
2330            (PostgreSQLServer.get_static_data_db): New parameter
2331            reference_systems to be passed through ultimately to
2332            PostGISDatabase.  In new_postgis_db also check whether an existing
2333            db already has the right srids
2334            (PostgreSQLServer.get_default_static_data_db): Add srids and a
2335            table that uses srids
2336            (PostGISDatabase.initdb): Create the entries for the reference
2337            systems
2338            (PostGISDatabase.has_data): Add reference_systems parameter to
2339            check for those too
2340            (upload_shapefile): New parameter srid to create tables with a
2341            specific srid
2342    
2343    2004-02-06  Frank Koormann  <[email protected]>
2344    
2345            * po/pt_BR.po: Fixed charset
2346    
2347    2004-02-05  Frank Koormann  <[email protected]>
2348    
2349            * po/pt_BR.po: Fixed format string for error message, missing %s
2350            added (Thuban/UI/application.py:273)
2351    
2352    2004-02-03  Frank Koormann  <[email protected]>
2353            
2354            First version of Portuguese (Brazilian) translation
2355    
2356            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
2357            Brazilian Portuguese by Eduardo Patto Kanegae.
2358    
2359            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
2360            translators.
2361    
2362    
2363    2004-01-22  Frank Koormann  <[email protected]>
2364    
2365            * Doc/manual/thuban-manual.xml: Added section on installation of
2366            Thuban under Win32 systems. Fixed image path references in the postgis
2367            section. Some minor source formattings.
2368    
2369    2004-01-21  Frank Koormann  <[email protected]>
2370    
2371            Make Thuban remember path selections (at least for one application run).
2372    
2373            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
2374            attribute of application object. Path is a dictionary of
2375            strings, currently with the items "data" and "projection".  
2376            (Application.SetPath): New, stores path for the specified item.
2377            (Application.Path): New, return path for the specified item.
2378    
2379            * Thuban/UI/mainwindow.py
2380            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
2381            MainWindow.AddLayer, MainWindow.AddRasterLayer,
2382            MainWindow.TableOpen): Access "data" path information of the
2383            application.
2384            
2385            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
2386            Access "projection" path information of the application.
2387    
2388    2004-01-05  Bernhard Herzog  <[email protected]>
2389    
2390            * po/ru.po: Updated translations from Alex Shevlakov
2391    
2392    2004-01-05  Bernhard Herzog  <[email protected]>
2393    
2394            * po/Makefile, po/README: Move the description of how to generate
2395            the translation statistics to the README.
2396    
2397    2003-12-23  Bernhard Herzog  <[email protected]>
2398    
2399            * NEWS: Update for 1.0.0
2400    
2401            * po/it.po: Another update from Maurizio Napolitano
2402    
2403    2003-12-23  Bernhard Herzog  <[email protected]>
2404    
2405            * po/it.po: Updated translation from Maurizio Napolitano
2406    
2407    2003-12-23  Bernhard Herzog  <[email protected]>
2408    
2409            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
2410            for translation
2411    
2412            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
2413            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
2414            strings for translation
2415    
2416            * po/de.po: Update with the newly marked strings.
2417    
2418    2003-12-22  Bernhard Herzog  <[email protected]>
2419    
2420            * HOWTO-Release: Fix the places where version numbers have to be
2421            updated
2422    
2423    2003-12-22  Bernhard Herzog  <[email protected]>
2424    
2425            * setup.py (setup call): 1.0.0, yeah!
2426    
2427            * Thuban/version.py (longversion): 1.0.0, yeah!
2428    
2429            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
2430            1.0.0 namespace too
2431    
2432            * Thuban/Model/save.py (SessionSaver.write_session): Save with
2433            1.0.0 namespace
2434    
2435            * test/test_load.py (LoadSessionTest.dtd)
2436            (TestSingleLayer.file_contents)
2437            (TestNonAsciiColumnName.file_contents)
2438            (TestLayerVisibility.file_contents)
2439            (TestClassification.file_contents, TestLabels.file_contents)
2440            (TestLayerProjection.file_contents)
2441            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
2442            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
2443            (TestPostGISLayerPassword.file_contents)
2444            (TestLoadError.file_contents, TestLoadError.test): Update for
2445            1.0.0 namespace
2446    
2447            * test/test_save.py (SaveSessionTest.dtd)
2448            (SaveSessionTest.testEmptySession)
2449            (SaveSessionTest.testSingleLayer)
2450            (SaveSessionTest.testLayerProjection)
2451            (SaveSessionTest.testRasterLayer)
2452            (SaveSessionTest.testClassifiedLayer)
2453            (SaveSessionTest.test_dbf_table)
2454            (SaveSessionTest.test_joined_table)
2455            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
2456    
2457    2003-12-22  Bernhard Herzog  <[email protected]>
2458    
2459            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
2460            alignment flags are byte strings not unicode and that they have
2461            valid values
2462    
2463            * test/test_load.py (TestLabelLayer): New. Test loading (and
2464            indirectly saving) of maps with labels.
2465    
2466    2003-12-22  Bernhard Herzog  <[email protected]>
2467    
2468            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
2469            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
2470            unsubscribe all subscribers.
2471            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
2472            self.grid since it may already have been destroyed.
2473            Fixes RT #2256
2474    
2475    2003-12-19  Bernhard Herzog  <[email protected]>
2476    
2477            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
2478    
2479    2003-12-16  Bernhard Herzog  <[email protected]>
2480            
2481            * debian/bitmappath.patch, debian/setup.py.patch:
2482                    added to ensure compliance with FHS for debian
2483            * debian/rules, debian/changelog:
2484                added patches in rules to ensure compliance with FHS for debian
2485    
2486    2003-12-16  Bernhard Herzog  <[email protected]>
2487    
2488            * po/Makefile (mo): Make the output a bit nicer so that it prints
2489            statistics about the translations. Add a comment how produce even
2490            nicer statistics with sed.
2491    
2492    2003-12-09  Frank Koormann   <[email protected]>
2493    
2494            * Resources/Projections/defaults.proj:
2495            French projection sample with correct accents (UNICODE).
2496    
2497    2003-12-05  Bernhard Herzog  <[email protected]>
2498    
2499            * MANIFEST.in: Add the devtools directory
2500    
2501            * setup.py (setup call): Use license instead of licence. This
2502            silences a deprecation warning on Python 2.3
2503    
2504    2003-12-05  Frank Koormann   <[email protected]>
2505    
2506            Documentation synced with 1.0rc1
2507    
2508            * Doc/manual/thuban-manual.xml:
2509            Minor formatting changes and references to database layers .
2510            Introduction.Internationalization: New section on i18n.
2511            MapManagement.AddingandRemovingLayers: Added item on database layers.  
2512            MapManagement.TheLegend: Added section and screenshot on popup menu.
2513            ProjectionManagement: Updated screenshot and sentence on EPSG.
2514            Appendix.SupportedDataSources: Added PostGIS.
2515            Appendix.WorkingwithPostGIS: New section.
2516    
2517            * Doc/manual/images/6_projection.png: Updated screenshot including
2518            EPSG checkboxes.
2519    
2520            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
2521    
2522            * Doc/manual/images/app_postgis_add_layer.png,
2523            Doc/manual/images/app_postgis_db_add.png,
2524            Doc/manual/images/app_postgis_db_management.png:
2525            New screenshots focussing on database layers
2526    
2527    2003-12-05  Frank Koormann   <[email protected]>
2528    
2529            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
2530            write warning to stderr instead of rising a warning dialog
2531    
2532    2003-12-03  Bernhard Herzog  <[email protected]>
2533    
2534            Fix for RT #2243
2535    
2536            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
2537            New. Like has_selected_layer but for shape layers only
2538            (_has_selected_shape_layer): New. Like _has_selected_layer but for
2539            shape layers only
2540            (layer_show_table command, layer_jointable command): Use these
2541            commands should only be available for shape layers
2542    
2543    2003-12-03  Bernhard Herzog  <[email protected]>
2544    
2545            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
2546            publishers that are wx objects and may have been destroyed by wx
2547            already. Fixes RT #2242.
2548    
2549    2003-12-03  Bernhard Herzog  <[email protected]>
2550    
2551            * po/ru.po: Updates from Alex Shevlakov
2552    
2553    2003-12-03  Silke Reimer <silkeintevation.de>
2554    
2555            * debian/control, debian/changelog: Added gdal-support to
2556                    debian package, updated to new thuban version
2557    
2558    
2559    2003-12-03  Bernhard Herzog  <[email protected]>
2560    
2561            * Thuban/Lib/version.py: New. Module for version number
2562            manipulations. The version of make_tuple here also deals better
2563            with more unusual version number strings, such as e.g.
2564            "1.2+cvs20031111"
2565    
2566            * Thuban/version.py (make_tuple): Removed. It's now in
2567            Thuban.Lib.version. Use that implementation instead.
2568    
2569            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
2570    
2571    2003-12-02  Bernhard Herzog  <[email protected]>
2572    
2573            * MANIFEST.in: Add debian files
2574    
2575            * setup.py (setup call): Add packages for the Extensions so that
2576            they're installed too
2577            (data_files): Add READMEs and sample data from some Extensions
2578    
2579            * NEWS: Add note about the extensions in binary packages
2580    
2581    2003-12-02  Bernhard Herzog  <[email protected]>
2582    
2583            * Thuban/Model/save.py (SessionSaver.write_session): Save files
2584            with the thuban-1.0rc1
2585    
2586            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
2587            thuban-1.0rc1 namespace too
2588    
2589            * test/test_save.py (SaveSessionTest.dtd)
2590            (SaveSessionTest.testEmptySession)
2591            (SaveSessionTest.testSingleLayer)
2592            (SaveSessionTest.testLayerProjection)
2593            (SaveSessionTest.testRasterLayer)
2594            (SaveSessionTest.testClassifiedLayer)
2595            (SaveSessionTest.test_dbf_table)
2596            (SaveSessionTest.test_joined_table)
2597            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
2598            namespace
2599    
2600            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
2601            namespace
2602            (TestSingleLayer.file_contents)
2603            (TestNonAsciiColumnName.file_contents)
2604            (TestLayerVisibility.file_contents)
2605            (TestClassification.file_contents, TestLabels.file_contents)
2606            (TestLayerProjection.file_contents)
2607            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
2608            (TestPostGISLayer.file_contents)
2609            (TestPostGISLayerPassword.file_contents)
2610            (TestLoadError.file_contents, TestLoadError.test): Update to
2611            thuban-1.0rc1 namespace
2612    
2613    2003-12-01  Bernhard Herzog  <[email protected]>
2614    
2615            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
2616            nt to better match Intevation's current w32 setup
2617    
2618            * HOWTO-Release: Add note about updating MANIFEST.in
2619    
2620            * MANIFEST.in: Add the Extensions
2621    
2622            * NEWS: Update for 1.0rc1
2623    
2624    2003-12-01  Bernhard Herzog  <[email protected]>
2625    
2626            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
2627            cards for the dialog so that shapefiles ending in all uppercase
2628            SHP are listed too
2629    
2630    2003-11-28  Bernhard Herzog  <[email protected]>
2631    
2632            * Thuban/version.py (longversion): Update to 1.0rc1
2633    
2634            * setup.py (setup call): Update version to 1.0rc1. Use the
2635            [email protected] email address as author email instead of my
2636            personal one.
2637    
2638    2003-11-28  Bernhard Herzog  <[email protected]>
2639    
2640            * po/de.po: Update german translation.
2641    
2642    2003-11-28  Bernhard Herzog  <[email protected]>
2643    
2644            Unify the filenames stored in .thuban files so that the .thuban
2645            files are more platform independend
2646    
2647            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
2648            that they can be used on both windows and unix
2649            (SessionSaver.prepare_filename): New. Handle all filename
2650            transformations for filenames stored in the thuban file
2651            (SessionSaver.write_data_containers, SessionSaver.write_layer):
2652            Use prepare_filename
2653    
2654            * test/test_save.py (SaveSessionTest.testSingleLayer)
2655            (SaveSessionTest.testLayerProjection)
2656            (SaveSessionTest.testRasterLayer)
2657            (SaveSessionTest.testClassifiedLayer)
2658            (SaveSessionTest.test_dbf_table)
2659            (SaveSessionTest.test_joined_table): Filenames are always stored
2660            with slashes on all currently supported platforms so adapt all
2661            tests to this
2662    
2663            * test/test_load.py (LoadSessionTest.filenames): With the new
2664            filename scheme the filenames in the tests should be
2665            understandable on all currently supported platforms so we turn
2666            this into an empty list because we don't have to normalize them
2667            anymore
2668    
2669    2003-11-28  Bernhard Herzog  <[email protected]>
2670    
2671            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
2672            Add the ellipsoid to the projection since some Proj versions
2673            complain if it's missing.
2674    
2675    2003-11-27  Bernhard Herzog  <[email protected]>
2676    
2677            Corect some bounding box projection problems
2678    
2679            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
2680            version of ForwardBBox
2681            (Projection._transform_bbox): New. common implementation of
2682            ForwardBBox and InverseBBox
2683            (Projection.ForwardBBox): Use _transform_bbox.
2684    
2685            * test/test_proj.py (TestProjection.test): Add test for
2686            InverseBBox
2687    
2688            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
2689            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
2690            new InverseBBox method to determine the unprojected bounding box
2691            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
2692            bbox.
2693    
2694            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
2695            Removed.
2696            (TestLayer.test_arc_layer_with_projection): New. This test is
2697            better able to test whether bounding boxes are projected correctly
2698            than test_point_layer_with_projection
2699    
2700            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
2701            InverseBBox to unproject bboxes
2702    
2703    2003-11-25  Bernhard Herzog  <[email protected]>
2704    
2705            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
2706            source code.
2707    
2708    2003-11-25  Bernhard Herzog  <[email protected]>
2709    
2710            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
2711            there for backwards compatibility and all code relying on that
2712            should have been updated by now.
2713    
2714    2003-11-25  Bernhard Herzog  <[email protected]>
2715    
2716            * test/test_load.py (TestClassification.test): Add the missing
2717            round trip test.
2718            (TestClassification.file_contents): Update to the newest file
2719            format
2720    
2721    2003-11-25  Bernhard Herzog  <[email protected]>
2722    
2723            Add very experimental (and possibly dangerous) extension to draw
2724            polygons:
2725    
2726            * Extensions/drawshape/README: New. Brief installation
2727            instructions
2728    
2729            * Extensions/drawshape/drawshape.py: New. Implementation of the
2730            drawshape extensions
2731    
2732            * Extensions/drawshape/patch.diff: Patch to apply before the
2733            extension can be used.
2734    
2735    2003-11-24  Bernhard Herzog  <[email protected]>
2736    
2737            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
2738            (ShapefileStore.__init__): Factor opening the shapefile into a
2739            separate method (the new _open_shapefile). This makes the code a
2740            bit more readable but the real reason is that it makes some evil
2741            hacks easier. :-)
2742    
2743    2003-11-24  Bernhard Herzog  <[email protected]>
2744    
2745            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
2746            converter is specified for an attribute assume it's a string
2747            containing only Latin1 characters. Update doc-string accordingly.
2748            This change should fix many places where unicode objects might
2749            accidentally enter Thuban.
2750    
2751            * test/test_load.py (TestNonAsciiColumnName): New test to check
2752            what happens with column names in DBF files that contain non-ascii
2753            characters
2754    
2755    2003-11-21  Bernhard Herzog  <[email protected]>
2756    
2757            Enable the experimental attribute editing again and introduce a
2758            command line switch to actually activate it
2759    
2760            * Thuban/UI/main.py (options): New. Container for options set on
2761            the commmand line
2762            (main): Add the --enable-attribute-editing flag.
2763    
2764            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
2765            editing is enabled use the grid ctrl which allows editing of the
2766            values
2767    
2768            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
2769            New. Just delegate this to the underlying table.
2770    
2771    2003-11-20  Bernhard Herzog  <[email protected]>
2772    
2773            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
2774            Skip this test if run under non-posix systems since it only works
2775            there
2776    
2777  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
2778    
2779          * Thuban/Model/resource.py: Rework the way gdal support is          * Thuban/Model/resource.py: Rework the way gdal support is
# Line 3612  Line 6388 
6388          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
6389          click on layer tree:          click on layer tree:
6390          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
6391          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.
6392            We add a second ItemActivated event to the queue, which simply
6393          raises the already displayed window.          raises the already displayed window.
6394    
6395          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26