/[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 2085 by bh, Fri Feb 20 15:49:43 2004 UTC revision 2115 by joey, Thu Mar 18 17:58:25 2004 UTC
# Line 1  Line 1 
1    2004-03-18  Martin Schulze  <[email protected]>
2    
3            * Extensions/wms/test/test_parser.py: Added another test for
4            checking whether the WMS XML parser (to be implemented) returns
5            the information we expect.  This requires a sample WMS WML file
6            (sample.xml) which has been extracted from the frida server and
7            "improved" manually.
8    
9            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
10            main Thuban directory to the path in order to be able to import
11            random modules.  Adjusted the PyOGCLib detection to reuse the
12            information gathered.  Also added a note about the PYTHONPATH
13            environment variable.
14    
15            * Extensions/wms/test/test_ogclib.py: The format specification is
16            a mime-type, not a graphic format, hence image/jpeg wou ld be the
17            proper format and not JPEG.  We'll also have to take care of the
18            encoding of / as %2F.
19    
20    2004-03-16  Martin Schulze  <[email protected]>
21    
22            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
23            comprehensive test for the getMapURL method, built compare URLs
24            according to the documentation in OGC 01-068r3
25    
26            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
27            class WMSCapabilities to manage capabilites, will incorporate
28            parsing the capabilities response and provide details for other
29            classes.
30    
31    2004-03-12  Bernhard Herzog  <[email protected]>
32    
33            Support views in addition to normal tables in the postgis
34            shapestore
35    
36            * Thuban/Model/postgisdb.py
37            (PostGISShapeStore._fetch_table_information): Add a fallback for
38            the case where the table name is not in the geometry_columns
39            table.  This is usually the case for views.  Also, set
40            self.shapestore here.
41            (PostGISShapeStore.ShapeType): No need to query the database all
42            the time.  The shape type is now determined in
43            _fetch_table_information
44    
45            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
46            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
47            New parameter to specify views.
48            (PostGISDatabase.has_data): Also compare the views.  New views
49            parameter
50            (PostGISDatabase.initdb): Create the views.
51            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
52            view
53    
54            * test/test_postgis_db.py
55            (TestPostGISShapestorePointFromViews): New.  Test a
56            PostGISShapeStore with a view
57            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
58            the geometry_column explicitly to test whether that works
59    
60    2004-03-12  Bernhard Herzog  <[email protected]>
61    
62            Final step for explicit id/geometry columns: Loading and saving
63    
64            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
65            with the following changes:
66            (dbshapesource): Two new attributes id_column and geometry_column
67    
68            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
69            (SessionSaver.write_session): Use the new namespace
70            (SessionSaver.write_data_containers): Write the new dbshapesource
71            parameters
72    
73            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
74            the new file format version
75            (SessionLoader.start_dbshapesource): Handle the new db parameters
76    
77            * test/test_save.py: Update to the new dtd and namespace
78            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
79            mock object to provide a working IDColumn method.
80    
81            * test/test_load_1_0.py: New.  Copy of the test_load.py before
82            today's changes but with the round-trip tests removed.
83    
84            * test/test_load_0_9.py: Update doc-string.
85    
86            * test/test_load.py: Update all .thuban files to the new dtd and
87            namespace.
88            (TestPostGISLayer.file_contents): Add the new dbshapesource
89            paramters
90    
91    2004-03-11  Bernhard Herzog  <[email protected]>
92    
93            Next step for explicit id/geometry columns: User interaction
94    
95            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
96            the dialog is constructed. Add combo boxes to select id and
97            geometry column.  Rename some instance variables.
98            (ChooseDBTableDialog.GetTable): Return id and geometry column
99            names
100            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
101            selections in the table list
102    
103            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
104            and geometry_column
105    
106            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
107            parameters for id_column and geometry column of PostGISShapeStore
108            here as well.
109    
110            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
111            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
112            (PostGISConnection.GeometryTables): Use a better query to
113            determine which relations in the database might be usable for
114            shapestores.  Now supports views as well but is more PostgreSQL
115            specific
116            (PostGISConnection.table_columns): New. Somewhat experimental
117            method to let the db dialogs provide lists of columns to users so
118            that they can select id and geometry columns.
119            (PostGISTable.__init__): The default value of the id_column
120            parameter is now None it still means "gid" effectively, though.
121            (PostGISTable.IDColumn): New introspection method to return a
122            column object for the id column
123            (PostGISShapeStore.GeometryColumn): New introspection method to
124            return a column object for the geometry column
125    
126            * test/test_postgis_db.py
127            (TestPostGISConnection.test_gis_tables_non_empty):
128            Removed. Subsumed by the new:
129            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
130            New. Tes the GeometryTables and table_columns methods with actual
131            tables and views.
132            (PointTests.test_id_column, PointTests.test_geometry_column):
133            New. tests for the new methods.
134            (TestPostGISShapestorePoint.setUp)
135            (TestPostGISShapestorePointSRID.setUp)
136            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
137            instance variables needed by the new tests
138    
139    2004-03-11  Bernhard Herzog  <[email protected]>
140    
141            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
142            numbers given to ReadValue are ordinals.
143    
144    2004-03-11  Bernhard Herzog  <[email protected]>
145    
146            Elimiate the requirement for PostGIS tables to have a column
147            called "gid".
148    
149            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
150            id_column to specify which column to use to identify rows.  Also
151            new instance variables id_column and quoted_id_column
152            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
153            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
154            (PostGISTable.SimpleQuery): Use the id column name provided to the
155            constructor instead of "gid"
156            (PostGISShapeStore.__init__): New parameter id_column analogously
157            to PostGISTable.__init__.  This parameter is simply passed through
158            to the base class constructor
159            (PostGISShapeStore._create_col_from_description): Fix typo in
160            doc-string
161            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
162            (PostGISShapeStore.ShapesInRegion): Use the id column name
163            provided to the constructor instead of "gid"
164    
165            * test/postgissupport.py
166            (PostgreSQLServer.get_default_static_data_db): New static table
167            landmarks_point_id with an id column != "gid.  Update the comments
168            a bit.
169            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
170            doc-
171            (upload_shapefile): New parameter gid_column to use a name other
172            than "gid" for the column to store the shape ids
173    
174            * test/test_postgis_db.py (TableTests): New.  Mixin-class
175            containing all tests previously in TestPostGISTable.  The actual
176            tests are the same but the code is a bit more configurable to
177            allow for different id columns etc.
178            (TestPostGISTable): Derive from TableTests now for the actual
179            tests.
180            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
181            except that it the landmarks_point_id table to test the id_column
182            parameter
183            (PointTests): Extend the doc-string
184            (TestPostGISShapestorePointExplicitGIDColumn)
185            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
186            from PointTests to test the explicit id_column parameter.  One
187            tests with the name of the column holding the shape ids, the other
188            uses PostgreSQL's OID column.  For the latter a number of methods
189            have to be overwritten to make them independent of the actual id
190            values.
191    
192    2004-03-08  Silke Reimer  <[email protected]>
193    
194            Update debian directory:
195    
196            * debian/changelog: Added new version.
197            * deiban/rules: Updated management of patches (with cbds)
198            * debian/control: Added cbds to dependencies
199            * debian/patches/*: New. Adds better support for patches of thuban in
200                            debian
201            * debian/menu: Syntax of menu changed slightly
202            * debian/setup.py.patch: removed because it has been moved to
203                            debian/patechs/setup.py.patch
204            
205    
206    2004-02-26  Bernhard Herzog  <[email protected]>
207    
208            Create the Doc/technotes directory for text files with information
209            for developers
210    
211            * Doc/technotes/README: New. README for the technotes
212    
213            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
214            Thuban
215    
216            * Doc/technotes/release_process.txt: New. Used to be
217            HOWTO-Release.  Now slightly adapted to technote formatting style.
218    
219            * HOWTO-Release: Removed.  It's contents are now in
220            Doc/technotes/release_process.txt
221    
222    2004-02-25  Bernhard Herzog  <[email protected]>
223    
224            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
225            version of wxWindows the module was compiled with so we can check
226            that against the wxPython version.
227    
228            * Thuban/version.py (thuban_branch, thuban_release): New variables
229            controlling which and how Thuban versions are shown.  See the
230            comments for details.
231            (verify_versions): Also check that the wx version that wxproj is
232            compiled against matches that of the wxPython we use at runtime
233    
234    2004-02-20  Bernhard Herzog  <[email protected]>
235    
236            * Extensions/wms/wms.py (epsg_code_to_projection): Use
237            get_system_proj_file to read the epsg projections.  The old way
238            depended on the current directory being the top Thuban directory.
239    
240  2004-02-20  Bernhard Herzog  <[email protected]>  2004-02-20  Bernhard Herzog  <[email protected]>
241    
242          * Extensions/svgexport/test/test_svgmapwriter.py          * Extensions/svgexport/test/test_svgmapwriter.py

Legend:
Removed from v.2085  
changed lines
  Added in v.2115

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26