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

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

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

revision 1960 by bh, Wed Nov 19 15:31:52 2003 UTC revision 2182 by joey, Thu Apr 15 18:23:26 2004 UTC
# Line 1  Line 1 
1    2004-04-15  Martin Schulze  <[email protected]>
2    
3            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
4            recalculate the format for the internal render engine as well.
5    
6            * Extensions/wms/properties.py (wmsProperties): First start for a
7            properties dialog.  It's functional for a first selection of
8            layers, but still has some weired wxWidgets/GTK problems but
9            beautification can be done later.
10    
11            * Extensions/wms/layer.py: Added more documentation
12            (WMSLayer.getFormats): New: Return list of supported image formats
13            by the WMS server
14            (WMSLayer.getLayers): New: Return the list of layer names
15            supported by the WMS server
16            (WMSLayer.getLayerTitle): New: Return the title of the named layer
17            (WMSLayer.getWMSFormat): New: Return the image format that is used
18            for WMS GetMap requests
19            (WMSLayer.setWMSFormat): New: Set the image format that is used
20            for WMS GetMap requests
21            (WMSLayer.__init__): Move away from using only one layer to using
22            a list of layers (unsorted at the moment, though).
23            (WMSLayer.getVisibleLayers): New: Return the list of names for all
24            visible layers
25            (WMSLayer.setVisibleLayers): New: Set the list of names for all
26            visible layers
27    
28            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
29            order to establish a clean structure.
30    
31            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
32            own in order to establish a clean structure.
33    
34    2004-04-13  Martin Schulze  <[email protected]>
35    
36            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
37            support for oldstyle (WMS 1.0 apparently) image format
38            specification.
39    
40            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
41            supported graphic formats back to JPEG and BMP, PNG and others are
42            too *cough* experimental...  Sorry, I meant to filter this out
43            before I committed this part.  This should make the WMS extension
44            run from CVS again.
45            (wms_dialog): Reset an empty URL to None so that the subsequent
46            program can depend on this, since the dialog will indeed return an
47            empty URL, causing another declaration of love by Python.
48    
49            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
50            Whenever a native BoundingBox request cannot be fulfilled, check
51            whether the requested SRS is EPSG:3426, in which case return the
52            LatLonBoundingBox values.
53    
54            * Extensions/wms/test/test_parser.py
55            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
56            ignoring AUTO:* SRS.
57            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
58            Added another test method to test whether the LatLonBoundingBox
59            values will be returned if BoundingBox values are requested with
60            SRS set to EPSG:3426.
61    
62            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
63            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
64            the moment by placing them into a variable which is currently
65            unused.  Also test whether the EPSG SRS is numerical as it should
66            be and add an error message if it is not.
67    
68            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
69            appear in the real world as well.  Since we cannot handle them yet
70            (OGCLib can't either), we will ignore them for the moment.
71    
72            * Extensions/wms/parser.py: Use a variable for denoting the sample
73            filename
74            (WMSCapabilitiesParser.peekLayers): Added support for error
75            messages during grok().  They will be aggregated in an array and
76            may be displayed later.  We may have to add a classification
77            "Warning" and "Error" to this.  That requires more experience,
78            though, since not every error may be lethal.
79    
80            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
81            ShowTable() dialog/frame when the user attempts to display it
82            while it has been opened before already and not closed again.
83    
84    2004-04-11  Martin Schulze  <[email protected]>
85    
86            * Extensions/wms/infodialog.py: Adjusted the class documentation
87    
88            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
89            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
90            wxWidgets variants.
91            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
92    
93            * Extensions/wms/infodialog.py: Added an information dialog that
94            will display various information about the WMS current resource,
95            so that additional information such as the title, the abstract,
96            fees and access constraints can be displayed for the user if they
97            are documented in the WMS XML.
98    
99    2004-04-10  Martin Schulze  <[email protected]>
100    
101            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
102            string handling.  It's "foo".lower() and not lower(foo) without
103            lower imported from strings or something.
104    
105            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
106            from capabilities.py and parser.py.  Implement priority list for
107            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
108            and GIF are supported here, but not yet by main Thuban.  Hence,
109            support for them may be removed later.  Special contribution to
110            usability: get wxWidgets to change the cursor when we're waiting
111            for data from the network so the user won't start to worry.  This
112            causes a redrawing error/warning, though.
113    
114            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
115            the DOM object.
116    
117    2004-04-01  Martin Schulze  <[email protected]>
118    
119            * Extensions/wms/capabilities.py: Adjusted documentation
120            (WMSCapabilities.__init__): Improved documentation, fixed syntax
121            (WMSCapabilities.saveCapabilities): Only catch IOError when
122            handling files
123            (WMSCapabilities.loadCapabilities): Only catch IOError when
124            handling files
125            __main__: corrected variable naming
126            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
127            class a specialisation of WMSCapabilitiesParser as well.  Also
128            execute grok() after loading or fetching capabilities, if that
129            went well, so that subsequent calls can already access the data.
130            (WMSCapabilities.getVersion): Export the used version of the
131            GetCapabilities request, so we can use it for subsequent calls,
132            i.e. for GetMap requests.
133            (WMSCapabilities.fetchCapabilities): Added proper error handling
134            when the GetCapabilities request failed, so that the surrounding
135            program can act accordingly.
136    
137    2004-03-30  Martin Schulze  <[email protected]>
138    
139            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
140            Adjusted the getLayerSRS method to return the list of SRSes
141            extracted from <SRS> elements instead of <BoundingBox> elements.
142            Added a bit of documentation as well.
143            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
144            since it was only implemented due to a misunderstanding.
145    
146            * Extensions/wms/test/test_parser.py
147            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
148            reflect the corrected interpretation of the standard: i.e. a layer
149            does not have to define a BoundingBox for all SRSes it supports.
150            Hence the <SRS></SRS> specification is authoritative, not the list
151            of BoundingBoxes.
152            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
153            to ensure None is returned for a non-existing SRS.
154            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
155            since it is not applicable anymore.  Listing more SRSes in <SRS>
156            elements is valid according to the specs.
157    
158    2004-03-26  Bernhard Reiter <[email protected]>
159    
160            * README: Nicer formatting of text. Improved descriptions.
161            Reflected wxWidgets name change.
162            
163            * Thuban/UI/about.py: Extended copyright to 2004 and added
164            information about the thuban-devel mailinglist.
165    
166    2004-03-24  Martin Schulze  <[email protected]>
167    
168            * Extensions/wms/capabilities.py: Renamed the class to contain
169            'WMS', also added a linebreak where required
170    
171            * Extensions/wms/parser.py: Finally added the XML parser for the
172            GetCapabilities response.
173    
174            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
175            <SRS> elements match the <BoundingBox> elements, except for the
176            layer 'beschriftung'.
177    
178            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
179            since Python uses unicode strings internally, otherwise
180            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
181            the SRS will be calculated anyway and this method is obsoleted by
182            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
183            Move loading the sample file into the setUp method.  Added a test
184            for finding the integrity problem in the sample response.
185            Improved formatting.
186    
187            * Extensions/wms/domutils.py: Added convenience routines for
188            handling of Document Object Model (DOM) nodes.
189    
190            * Extensions/wms/test/test_domutils.py: Added a test for the
191            domutils module
192    
193    2004-03-19  Martin Schulze  <[email protected]>
194    
195            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
196            Moved path detection and adding into a module of its own,
197            adjustpath, which exports thubandir as main Thuban directory.
198    
199            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
200            detection and adding into a module of its own, adjustpath, which
201            exports thubandir as main Thuban directory.  Reorganised the
202            module in order to support the SkipTest feature for Thuban test
203            cases.
204    
205            * Extensions/wms/test/adjustpath.py: Moved path detection and
206            adding into a module of its own.
207    
208    2004-03-18  Martin Schulze  <[email protected]>
209    
210            * Extensions/wms/test/test_parser.py: Added another test for
211            checking whether the WMS XML parser (to be implemented) returns
212            the information we expect.  This requires a sample WMS WML file
213            (sample.xml) which has been extracted from the frida server and
214            "improved" manually.
215    
216            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
217            main Thuban directory to the path in order to be able to import
218            random modules.  Adjusted the PyOGCLib detection to reuse the
219            information gathered.  Also added a note about the PYTHONPATH
220            environment variable.
221    
222            * Extensions/wms/test/test_ogclib.py: The format specification is
223            a mime-type, not a graphic format, hence image/jpeg wou ld be the
224            proper format and not JPEG.  We'll also have to take care of the
225            encoding of / as %2F.
226    
227    2004-03-16  Martin Schulze  <[email protected]>
228    
229            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
230            comprehensive test for the getMapURL method, built compare URLs
231            according to the documentation in OGC 01-068r3
232    
233            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
234            class WMSCapabilities to manage capabilites, will incorporate
235            parsing the capabilities response and provide details for other
236            classes.
237    
238    2004-03-12  Bernhard Herzog  <[email protected]>
239    
240            Support views in addition to normal tables in the postgis
241            shapestore
242    
243            * Thuban/Model/postgisdb.py
244            (PostGISShapeStore._fetch_table_information): Add a fallback for
245            the case where the table name is not in the geometry_columns
246            table.  This is usually the case for views.  Also, set
247            self.shapestore here.
248            (PostGISShapeStore.ShapeType): No need to query the database all
249            the time.  The shape type is now determined in
250            _fetch_table_information
251    
252            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
253            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
254            New parameter to specify views.
255            (PostGISDatabase.has_data): Also compare the views.  New views
256            parameter
257            (PostGISDatabase.initdb): Create the views.
258            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
259            view
260    
261            * test/test_postgis_db.py
262            (TestPostGISShapestorePointFromViews): New.  Test a
263            PostGISShapeStore with a view
264            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
265            the geometry_column explicitly to test whether that works
266    
267    2004-03-12  Bernhard Herzog  <[email protected]>
268    
269            Final step for explicit id/geometry columns: Loading and saving
270    
271            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
272            with the following changes:
273            (dbshapesource): Two new attributes id_column and geometry_column
274    
275            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
276            (SessionSaver.write_session): Use the new namespace
277            (SessionSaver.write_data_containers): Write the new dbshapesource
278            parameters
279    
280            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
281            the new file format version
282            (SessionLoader.start_dbshapesource): Handle the new db parameters
283    
284            * test/test_save.py: Update to the new dtd and namespace
285            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
286            mock object to provide a working IDColumn method.
287    
288            * test/test_load_1_0.py: New.  Copy of the test_load.py before
289            today's changes but with the round-trip tests removed.
290    
291            * test/test_load_0_9.py: Update doc-string.
292    
293            * test/test_load.py: Update all .thuban files to the new dtd and
294            namespace.
295            (TestPostGISLayer.file_contents): Add the new dbshapesource
296            paramters
297    
298    2004-03-11  Bernhard Herzog  <[email protected]>
299    
300            Next step for explicit id/geometry columns: User interaction
301    
302            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
303            the dialog is constructed. Add combo boxes to select id and
304            geometry column.  Rename some instance variables.
305            (ChooseDBTableDialog.GetTable): Return id and geometry column
306            names
307            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
308            selections in the table list
309    
310            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
311            and geometry_column
312    
313            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
314            parameters for id_column and geometry column of PostGISShapeStore
315            here as well.
316    
317            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
318            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
319            (PostGISConnection.GeometryTables): Use a better query to
320            determine which relations in the database might be usable for
321            shapestores.  Now supports views as well but is more PostgreSQL
322            specific
323            (PostGISConnection.table_columns): New. Somewhat experimental
324            method to let the db dialogs provide lists of columns to users so
325            that they can select id and geometry columns.
326            (PostGISTable.__init__): The default value of the id_column
327            parameter is now None it still means "gid" effectively, though.
328            (PostGISTable.IDColumn): New introspection method to return a
329            column object for the id column
330            (PostGISShapeStore.GeometryColumn): New introspection method to
331            return a column object for the geometry column
332    
333            * test/test_postgis_db.py
334            (TestPostGISConnection.test_gis_tables_non_empty):
335            Removed. Subsumed by the new:
336            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
337            New. Tes the GeometryTables and table_columns methods with actual
338            tables and views.
339            (PointTests.test_id_column, PointTests.test_geometry_column):
340            New. tests for the new methods.
341            (TestPostGISShapestorePoint.setUp)
342            (TestPostGISShapestorePointSRID.setUp)
343            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
344            instance variables needed by the new tests
345    
346    2004-03-11  Bernhard Herzog  <[email protected]>
347    
348            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
349            numbers given to ReadValue are ordinals.
350    
351    2004-03-11  Bernhard Herzog  <[email protected]>
352    
353            Elimiate the requirement for PostGIS tables to have a column
354            called "gid".
355    
356            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
357            id_column to specify which column to use to identify rows.  Also
358            new instance variables id_column and quoted_id_column
359            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
360            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
361            (PostGISTable.SimpleQuery): Use the id column name provided to the
362            constructor instead of "gid"
363            (PostGISShapeStore.__init__): New parameter id_column analogously
364            to PostGISTable.__init__.  This parameter is simply passed through
365            to the base class constructor
366            (PostGISShapeStore._create_col_from_description): Fix typo in
367            doc-string
368            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
369            (PostGISShapeStore.ShapesInRegion): Use the id column name
370            provided to the constructor instead of "gid"
371    
372            * test/postgissupport.py
373            (PostgreSQLServer.get_default_static_data_db): New static table
374            landmarks_point_id with an id column != "gid.  Update the comments
375            a bit.
376            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
377            doc-
378            (upload_shapefile): New parameter gid_column to use a name other
379            than "gid" for the column to store the shape ids
380    
381            * test/test_postgis_db.py (TableTests): New.  Mixin-class
382            containing all tests previously in TestPostGISTable.  The actual
383            tests are the same but the code is a bit more configurable to
384            allow for different id columns etc.
385            (TestPostGISTable): Derive from TableTests now for the actual
386            tests.
387            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
388            except that it the landmarks_point_id table to test the id_column
389            parameter
390            (PointTests): Extend the doc-string
391            (TestPostGISShapestorePointExplicitGIDColumn)
392            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
393            from PointTests to test the explicit id_column parameter.  One
394            tests with the name of the column holding the shape ids, the other
395            uses PostgreSQL's OID column.  For the latter a number of methods
396            have to be overwritten to make them independent of the actual id
397            values.
398    
399    2004-03-08  Silke Reimer  <[email protected]>
400    
401            Update debian directory:
402    
403            * debian/changelog: Added new version.
404            * deiban/rules: Updated management of patches (with cbds)
405            * debian/control: Added cbds to dependencies
406            * debian/patches/*: New. Adds better support for patches of thuban in
407                            debian
408            * debian/menu: Syntax of menu changed slightly
409            * debian/setup.py.patch: removed because it has been moved to
410                            debian/patechs/setup.py.patch
411            
412    
413    2004-02-26  Bernhard Herzog  <[email protected]>
414    
415            Create the Doc/technotes directory for text files with information
416            for developers
417    
418            * Doc/technotes/README: New. README for the technotes
419    
420            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
421            Thuban
422    
423            * Doc/technotes/release_process.txt: New. Used to be
424            HOWTO-Release.  Now slightly adapted to technote formatting style.
425    
426            * HOWTO-Release: Removed.  It's contents are now in
427            Doc/technotes/release_process.txt
428    
429    2004-02-25  Bernhard Herzog  <[email protected]>
430    
431            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
432            version of wxWindows the module was compiled with so we can check
433            that against the wxPython version.
434    
435            * Thuban/version.py (thuban_branch, thuban_release): New variables
436            controlling which and how Thuban versions are shown.  See the
437            comments for details.
438            (verify_versions): Also check that the wx version that wxproj is
439            compiled against matches that of the wxPython we use at runtime
440    
441    2004-02-20  Bernhard Herzog  <[email protected]>
442    
443            * Extensions/wms/wms.py (epsg_code_to_projection): Use
444            get_system_proj_file to read the epsg projections.  The old way
445            depended on the current directory being the top Thuban directory.
446    
447    2004-02-20  Bernhard Herzog  <[email protected]>
448    
449            * Extensions/svgexport/test/test_svgmapwriter.py
450            (TestVirtualDC.test_clippath): Remove a debug print
451    
452    2004-02-20  Bernhard Herzog  <[email protected]>
453    
454            * Extensions/svgexport/__init__.py: New.  Turn
455            Extensions/svgexport into a package.
456    
457            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
458            doc-string a bit.  The doc-string must come first, otherwise it's
459            not a doc-string.  The __future__ import must be the first thing
460            after the doc-string.  Use only double quotes in doc-strings.
461            Single quotes trip up emacs syntax highlighting if the text
462            contains apostrophes.
463    
464    2004-02-20  Bernhard Herzog  <[email protected]>
465    
466            * Extensions/svgexport/test/__init__.py,
467            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
468            suite for svgexport
469    
470            * test/runtests.py (find_test_modules): New. Function with the
471            module finding code from main.
472            (main): Use find_test_modules to figure out the default test
473            modules and take modules from Extensions.svgexport.test too.
474    
475    2004-02-19  Bernhard Herzog  <[email protected]>
476    
477            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
478            the mainwindow has a reference to the map of the initial session.
479            This fixes a bug introduced with the fix for RT#2245
480    
481    2004-02-19  Bernhard Herzog  <[email protected]>
482    
483            * Extensions/svgexport/svgsaver.py,
484            Extensions/svgexport/svgmapwriter.py,
485            Extensions/svgexport/maplegend.py: Added again.  This time in the
486            correct place.
487    
488    2004-02-17  Bernhard Herzog  <[email protected]>
489    
490            Fix for RT#2245
491    
492            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
493            instance variables before trying to create any windows.  Creating
494            windows can start an event loop if e.g. message boxes are popped
495            up for some reason, and event handlers, especially EVT_UPDATE_UI
496            may want to access things from the application.
497            (ThubanApplication.maps_changed): The mainwindow may not have been
498            created yet, so check whether it has been created before calling
499            its methods
500    
501            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
502            have a map
503    
504    2004-02-17  Bernhard Herzog  <[email protected]>
505    
506            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
507            Extensions/svgmapwriter.py, Extensions/maplegend.py,
508            extensions/svgexport/svgsaver.py,
509            extensions/svgexport/svgmapwriter.py,
510            extensions/svgexport/maplegend.py: Removed.  These files were in
511            the wrong places or didn't work at all.
512    
513    2004-02-16  Bernhard Herzog  <[email protected]>
514    
515            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
516            line
517    
518    2004-02-16  Bernhard Herzog  <[email protected]>
519    
520            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
521    
522    2004-02-15  Markus Rechtien  <[email protected]>
523            
524            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
525            to write a session to a file in SVG format.
526            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
527            to write a SVG map of a session.
528            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
529            in SVG format for the current session.
530    
531    2004-02-13  Bernhard Herzog  <[email protected]>
532    
533            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
534            can't be created, return immediately after displaying the error
535            message.
536    
537    2004-02-11  Bernhard Herzog  <[email protected]>
538    
539            Handle postgis tables with more than one geometry column.
540    
541            * Thuban/Model/postgisdb.py
542            (PostGISTable._fetch_table_information): Delegate the creation of
543            column objects to a different method so that we can extend that in
544            derived classes
545            (PostGISTable._create_col_from_description): New. Column object
546            creation part of _fetch_table_information
547            (PostGISShapeStore._create_col_from_description): New. Extend
548            inherited method to handle geometry columns
549            (PostGISShapeStore.__init__): New parameter geometry_column to
550            specify which geometry column to use.  Optional but mandatory for
551            tables with more than one geometry column
552            (PostGISShapeStore._fetch_table_information): Also use the name of
553            the geometry column when looking for the srid
554            (PostGISShapeStore.ShapeType): Also use the name of the geometry
555            column when looking for the shape type
556    
557            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
558            NonConnectionStore to changes in the PostGISShapeStore
559    
560            * test/test_postgis_db.py
561            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
562            PostGISShapeStore with tables having two geometry columns.
563    
564    2004-02-10  Bernhard Herzog  <[email protected]>
565    
566            Fix some postgis problems.  What remains to be done is real
567            handling of SRIDs as they affect how reprojection is done
568    
569            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
570            doc-string
571            (PostGISShapeStore._fetch_table_information): New. Extend
572            inherited method to retrieve srid
573            (PostGISShapeStore.BoundingBox): Handle tables without data.
574            extent yields NULL for those
575            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
576    
577            * test/test_postgis_db.py
578            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
579            for the special case of a table without any data
580            (TestPostGISShapestorePointSRID): New class with tests for a table
581            that uses srids
582            (PolygonTests): Fix a doc-string typo
583    
584            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
585            reference_systems with a specification of spacial reference
586            systems to create in the new db.
587            (PostgreSQLServer.new_postgis_db)
588            (PostgreSQLServer.get_static_data_db): New parameter
589            reference_systems to be passed through ultimately to
590            PostGISDatabase.  In new_postgis_db also check whether an existing
591            db already has the right srids
592            (PostgreSQLServer.get_default_static_data_db): Add srids and a
593            table that uses srids
594            (PostGISDatabase.initdb): Create the entries for the reference
595            systems
596            (PostGISDatabase.has_data): Add reference_systems parameter to
597            check for those too
598            (upload_shapefile): New parameter srid to create tables with a
599            specific srid
600    
601    2004-02-06  Frank Koormann  <[email protected]>
602    
603            * po/pt_BR.po: Fixed charset
604    
605    2004-02-05  Frank Koormann  <[email protected]>
606    
607            * po/pt_BR.po: Fixed format string for error message, missing %s
608            added (Thuban/UI/application.py:273)
609    
610    2004-02-03  Frank Koormann  <[email protected]>
611            
612            First version of Portuguese (Brazilian) translation
613    
614            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
615            Brazilian Portuguese by Eduardo Patto Kanegae.
616    
617            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
618            translators.
619    
620    
621    2004-01-22  Frank Koormann  <[email protected]>
622    
623            * Doc/manual/thuban-manual.xml: Added section on installation of
624            Thuban under Win32 systems. Fixed image path references in the postgis
625            section. Some minor source formattings.
626    
627    2004-01-21  Frank Koormann  <[email protected]>
628    
629            Make Thuban remember path selections (at least for one application run).
630    
631            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
632            attribute of application object. Path is a dictionary of
633            strings, currently with the items "data" and "projection".  
634            (Application.SetPath): New, stores path for the specified item.
635            (Application.Path): New, return path for the specified item.
636    
637            * Thuban/UI/mainwindow.py
638            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
639            MainWindow.AddLayer, MainWindow.AddRasterLayer,
640            MainWindow.TableOpen): Access "data" path information of the
641            application.
642            
643            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
644            Access "projection" path information of the application.
645    
646    2004-01-05  Bernhard Herzog  <[email protected]>
647    
648            * po/ru.po: Updated translations from Alex Shevlakov
649    
650    2004-01-05  Bernhard Herzog  <[email protected]>
651    
652            * po/Makefile, po/README: Move the description of how to generate
653            the translation statistics to the README.
654    
655    2003-12-23  Bernhard Herzog  <[email protected]>
656    
657            * NEWS: Update for 1.0.0
658    
659            * po/it.po: Another update from Maurizio Napolitano
660    
661    2003-12-23  Bernhard Herzog  <[email protected]>
662    
663            * po/it.po: Updated translation from Maurizio Napolitano
664    
665    2003-12-23  Bernhard Herzog  <[email protected]>
666    
667            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
668            for translation
669    
670            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
671            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
672            strings for translation
673    
674            * po/de.po: Update with the newly marked strings.
675    
676    2003-12-22  Bernhard Herzog  <[email protected]>
677    
678            * HOWTO-Release: Fix the places where version numbers have to be
679            updated
680    
681    2003-12-22  Bernhard Herzog  <[email protected]>
682    
683            * setup.py (setup call): 1.0.0, yeah!
684    
685            * Thuban/version.py (longversion): 1.0.0, yeah!
686    
687            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
688            1.0.0 namespace too
689    
690            * Thuban/Model/save.py (SessionSaver.write_session): Save with
691            1.0.0 namespace
692    
693            * test/test_load.py (LoadSessionTest.dtd)
694            (TestSingleLayer.file_contents)
695            (TestNonAsciiColumnName.file_contents)
696            (TestLayerVisibility.file_contents)
697            (TestClassification.file_contents, TestLabels.file_contents)
698            (TestLayerProjection.file_contents)
699            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
700            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
701            (TestPostGISLayerPassword.file_contents)
702            (TestLoadError.file_contents, TestLoadError.test): Update for
703            1.0.0 namespace
704    
705            * test/test_save.py (SaveSessionTest.dtd)
706            (SaveSessionTest.testEmptySession)
707            (SaveSessionTest.testSingleLayer)
708            (SaveSessionTest.testLayerProjection)
709            (SaveSessionTest.testRasterLayer)
710            (SaveSessionTest.testClassifiedLayer)
711            (SaveSessionTest.test_dbf_table)
712            (SaveSessionTest.test_joined_table)
713            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
714    
715    2003-12-22  Bernhard Herzog  <[email protected]>
716    
717            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
718            alignment flags are byte strings not unicode and that they have
719            valid values
720    
721            * test/test_load.py (TestLabelLayer): New. Test loading (and
722            indirectly saving) of maps with labels.
723    
724    2003-12-22  Bernhard Herzog  <[email protected]>
725    
726            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
727            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
728            unsubscribe all subscribers.
729            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
730            self.grid since it may already have been destroyed.
731            Fixes RT #2256
732    
733    2003-12-19  Bernhard Herzog  <[email protected]>
734    
735            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
736    
737    2003-12-16  Bernhard Herzog  <[email protected]>
738            
739            * debian/bitmappath.patch, debian/setup.py.patch:
740                    added to ensure compliance with FHS for debian
741            * debian/rules, debian/changelog:
742                added patches in rules to ensure compliance with FHS for debian
743    
744    2003-12-16  Bernhard Herzog  <[email protected]>
745    
746            * po/Makefile (mo): Make the output a bit nicer so that it prints
747            statistics about the translations. Add a comment how produce even
748            nicer statistics with sed.
749    
750    2003-12-09  Frank Koormann   <[email protected]>
751    
752            * Resources/Projections/defaults.proj:
753            French projection sample with correct accents (UNICODE).
754    
755    2003-12-05  Bernhard Herzog  <[email protected]>
756    
757            * MANIFEST.in: Add the devtools directory
758    
759            * setup.py (setup call): Use license instead of licence. This
760            silences a deprecation warning on Python 2.3
761    
762    2003-12-05  Frank Koormann   <[email protected]>
763    
764            Documentation synced with 1.0rc1
765    
766            * Doc/manual/thuban-manual.xml:
767            Minor formatting changes and references to database layers .
768            Introduction.Internationalization: New section on i18n.
769            MapManagement.AddingandRemovingLayers: Added item on database layers.  
770            MapManagement.TheLegend: Added section and screenshot on popup menu.
771            ProjectionManagement: Updated screenshot and sentence on EPSG.
772            Appendix.SupportedDataSources: Added PostGIS.
773            Appendix.WorkingwithPostGIS: New section.
774    
775            * Doc/manual/images/6_projection.png: Updated screenshot including
776            EPSG checkboxes.
777    
778            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
779    
780            * Doc/manual/images/app_postgis_add_layer.png,
781            Doc/manual/images/app_postgis_db_add.png,
782            Doc/manual/images/app_postgis_db_management.png:
783            New screenshots focussing on database layers
784    
785    2003-12-05  Frank Koormann   <[email protected]>
786    
787            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
788            write warning to stderr instead of rising a warning dialog
789    
790    2003-12-03  Bernhard Herzog  <[email protected]>
791    
792            Fix for RT #2243
793    
794            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
795            New. Like has_selected_layer but for shape layers only
796            (_has_selected_shape_layer): New. Like _has_selected_layer but for
797            shape layers only
798            (layer_show_table command, layer_jointable command): Use these
799            commands should only be available for shape layers
800    
801    2003-12-03  Bernhard Herzog  <[email protected]>
802    
803            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
804            publishers that are wx objects and may have been destroyed by wx
805            already. Fixes RT #2242.
806    
807    2003-12-03  Bernhard Herzog  <[email protected]>
808    
809            * po/ru.po: Updates from Alex Shevlakov
810    
811    2003-12-03  Silke Reimer <silkeintevation.de>
812    
813            * debian/control, debian/changelog: Added gdal-support to
814                    debian package, updated to new thuban version
815    
816    
817    2003-12-03  Bernhard Herzog  <[email protected]>
818    
819            * Thuban/Lib/version.py: New. Module for version number
820            manipulations. The version of make_tuple here also deals better
821            with more unusual version number strings, such as e.g.
822            "1.2+cvs20031111"
823    
824            * Thuban/version.py (make_tuple): Removed. It's now in
825            Thuban.Lib.version. Use that implementation instead.
826    
827            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
828    
829    2003-12-02  Bernhard Herzog  <[email protected]>
830    
831            * MANIFEST.in: Add debian files
832    
833            * setup.py (setup call): Add packages for the Extensions so that
834            they're installed too
835            (data_files): Add READMEs and sample data from some Extensions
836    
837            * NEWS: Add note about the extensions in binary packages
838    
839    2003-12-02  Bernhard Herzog  <[email protected]>
840    
841            * Thuban/Model/save.py (SessionSaver.write_session): Save files
842            with the thuban-1.0rc1
843    
844            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
845            thuban-1.0rc1 namespace too
846    
847            * test/test_save.py (SaveSessionTest.dtd)
848            (SaveSessionTest.testEmptySession)
849            (SaveSessionTest.testSingleLayer)
850            (SaveSessionTest.testLayerProjection)
851            (SaveSessionTest.testRasterLayer)
852            (SaveSessionTest.testClassifiedLayer)
853            (SaveSessionTest.test_dbf_table)
854            (SaveSessionTest.test_joined_table)
855            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
856            namespace
857    
858            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
859            namespace
860            (TestSingleLayer.file_contents)
861            (TestNonAsciiColumnName.file_contents)
862            (TestLayerVisibility.file_contents)
863            (TestClassification.file_contents, TestLabels.file_contents)
864            (TestLayerProjection.file_contents)
865            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
866            (TestPostGISLayer.file_contents)
867            (TestPostGISLayerPassword.file_contents)
868            (TestLoadError.file_contents, TestLoadError.test): Update to
869            thuban-1.0rc1 namespace
870    
871    2003-12-01  Bernhard Herzog  <[email protected]>
872    
873            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
874            nt to better match Intevation's current w32 setup
875    
876            * HOWTO-Release: Add note about updating MANIFEST.in
877    
878            * MANIFEST.in: Add the Extensions
879    
880            * NEWS: Update for 1.0rc1
881    
882    2003-12-01  Bernhard Herzog  <[email protected]>
883    
884            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
885            cards for the dialog so that shapefiles ending in all uppercase
886            SHP are listed too
887    
888    2003-11-28  Bernhard Herzog  <[email protected]>
889    
890            * Thuban/version.py (longversion): Update to 1.0rc1
891    
892            * setup.py (setup call): Update version to 1.0rc1. Use the
893            [email protected] email address as author email instead of my
894            personal one.
895    
896    2003-11-28  Bernhard Herzog  <[email protected]>
897    
898            * po/de.po: Update german translation.
899    
900    2003-11-28  Bernhard Herzog  <[email protected]>
901    
902            Unify the filenames stored in .thuban files so that the .thuban
903            files are more platform independend
904    
905            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
906            that they can be used on both windows and unix
907            (SessionSaver.prepare_filename): New. Handle all filename
908            transformations for filenames stored in the thuban file
909            (SessionSaver.write_data_containers, SessionSaver.write_layer):
910            Use prepare_filename
911    
912            * test/test_save.py (SaveSessionTest.testSingleLayer)
913            (SaveSessionTest.testLayerProjection)
914            (SaveSessionTest.testRasterLayer)
915            (SaveSessionTest.testClassifiedLayer)
916            (SaveSessionTest.test_dbf_table)
917            (SaveSessionTest.test_joined_table): Filenames are always stored
918            with slashes on all currently supported platforms so adapt all
919            tests to this
920    
921            * test/test_load.py (LoadSessionTest.filenames): With the new
922            filename scheme the filenames in the tests should be
923            understandable on all currently supported platforms so we turn
924            this into an empty list because we don't have to normalize them
925            anymore
926    
927    2003-11-28  Bernhard Herzog  <[email protected]>
928    
929            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
930            Add the ellipsoid to the projection since some Proj versions
931            complain if it's missing.
932    
933    2003-11-27  Bernhard Herzog  <[email protected]>
934    
935            Corect some bounding box projection problems
936    
937            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
938            version of ForwardBBox
939            (Projection._transform_bbox): New. common implementation of
940            ForwardBBox and InverseBBox
941            (Projection.ForwardBBox): Use _transform_bbox.
942    
943            * test/test_proj.py (TestProjection.test): Add test for
944            InverseBBox
945    
946            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
947            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
948            new InverseBBox method to determine the unprojected bounding box
949            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
950            bbox.
951    
952            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
953            Removed.
954            (TestLayer.test_arc_layer_with_projection): New. This test is
955            better able to test whether bounding boxes are projected correctly
956            than test_point_layer_with_projection
957    
958            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
959            InverseBBox to unproject bboxes
960    
961    2003-11-25  Bernhard Herzog  <[email protected]>
962    
963            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
964            source code.
965    
966    2003-11-25  Bernhard Herzog  <[email protected]>
967    
968            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
969            there for backwards compatibility and all code relying on that
970            should have been updated by now.
971    
972    2003-11-25  Bernhard Herzog  <[email protected]>
973    
974            * test/test_load.py (TestClassification.test): Add the missing
975            round trip test.
976            (TestClassification.file_contents): Update to the newest file
977            format
978    
979    2003-11-25  Bernhard Herzog  <[email protected]>
980    
981            Add very experimental (and possibly dangerous) extension to draw
982            polygons:
983    
984            * Extensions/drawshape/README: New. Brief installation
985            instructions
986    
987            * Extensions/drawshape/drawshape.py: New. Implementation of the
988            drawshape extensions
989    
990            * Extensions/drawshape/patch.diff: Patch to apply before the
991            extension can be used.
992    
993    2003-11-24  Bernhard Herzog  <[email protected]>
994    
995            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
996            (ShapefileStore.__init__): Factor opening the shapefile into a
997            separate method (the new _open_shapefile). This makes the code a
998            bit more readable but the real reason is that it makes some evil
999            hacks easier. :-)
1000    
1001    2003-11-24  Bernhard Herzog  <[email protected]>
1002    
1003            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
1004            converter is specified for an attribute assume it's a string
1005            containing only Latin1 characters. Update doc-string accordingly.
1006            This change should fix many places where unicode objects might
1007            accidentally enter Thuban.
1008    
1009            * test/test_load.py (TestNonAsciiColumnName): New test to check
1010            what happens with column names in DBF files that contain non-ascii
1011            characters
1012    
1013    2003-11-21  Bernhard Herzog  <[email protected]>
1014    
1015            Enable the experimental attribute editing again and introduce a
1016            command line switch to actually activate it
1017    
1018            * Thuban/UI/main.py (options): New. Container for options set on
1019            the commmand line
1020            (main): Add the --enable-attribute-editing flag.
1021    
1022            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
1023            editing is enabled use the grid ctrl which allows editing of the
1024            values
1025    
1026            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
1027            New. Just delegate this to the underlying table.
1028    
1029    2003-11-20  Bernhard Herzog  <[email protected]>
1030    
1031            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
1032            Skip this test if run under non-posix systems since it only works
1033            there
1034    
1035    2003-11-19  Bernhard Herzog  <[email protected]>
1036    
1037            * Thuban/Model/resource.py: Rework the way gdal support is
1038            determined so that we can give a reason in the about why gdal is
1039            not supported.
1040            (gdal_support_status): New. Variable holding a string with the
1041            reason for no gdal support
1042    
1043            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
1044            not supported to the message
1045    
1046    2003-11-19  Bernhard Herzog  <[email protected]>
1047    
1048            Remove the old table interface and its test cases
1049    
1050            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
1051            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
1052            anymore
1053    
1054            * Thuban/Model/transientdb.py (TransientTableBase)
1055            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
1056            anymore
1057    
1058            * test/test_table.py: Removed since the old interface it tests is
1059            gone.
1060    
1061            * test/runtests.py (main): The old table interface is gone and
1062            with it the deprecation warnings so remove the code that turns
1063            these warnings into errors
1064    
1065  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
1066    
1067          * test/test_table.py: Revert to revision 1.5 again. Changing the          * test/test_table.py: Revert to revision 1.5 again. Changing the
# Line 3582  Line 4646 
4646          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
4647          click on layer tree:          click on layer tree:
4648          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
4649          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.
4650            We add a second ItemActivated event to the queue, which simply
4651          raises the already displayed window.          raises the already displayed window.
4652    
4653          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26