/[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 1657 by bh, Mon Aug 25 18:27:16 2003 UTC revision 1745 by jan, Tue Sep 23 15:37:45 2003 UTC
# Line 1  Line 1 
1    2003-09-23  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual.xml: Added subsection to chapter
4            Extensions to describe the extensions coming with the Thuban
5            standard package (gns2shp and importAPR).
6    
7    2003-09-23  Bernhard Herzog  <[email protected]>
8    
9            * libraries/thuban/wxproj.cpp (project_point): if there's an
10            inverse but no forward projection, convert to degrees after
11            applying the inverse projection. Fixes RT#2096
12    
13            * test/test_wxproj.py: New. Test cases for wxproj.so. One test
14            implicitly tests for the fix to RT#2096
15    
16            * test/support.py (FloatComparisonMixin.assertFloatSeqEqual):
17            Check that the sequences have the same lengths
18    
19            * Resources/Projections/defaults.proj (Geographic projection): Use
20            a much more precise value for the to_meter attribute.
21    
22    2003-09-22  Bernhard Herzog  <[email protected]>
23    
24            * test/support.py (initthuban): Make sure to unset the LANG env.
25            var. so that tests that compare translated strings work. Solves RT
26            #2094
27    
28    2003-09-22  Jan-Oliver Wagner <[email protected]>
29    
30            Small improvement of APR import.
31    
32            * Extensions/importAPR/test/test_apr.py (aprTest.test_LClass):
33            Added tests for text-ranges.
34    
35            * Extensions/importAPR/apr.py (APR_LClass.GetThubanRange): Now
36            returns a string object if the range is based on text.
37    
38            * Extensions/importAPR/importAPR.py (import_apr_dialog): Unified
39            range retrieval.
40    
41    2003-09-22  Jan-Oliver Wagner <[email protected]>
42    
43            Initial version of the importAPR extension which is in
44            experimental state.
45    
46            * /Extensions/importAPR/, /Extensions/importAPR/samples/,
47            /Extensions/importAPR/test/: New directories.
48    
49            * /Extensions/importAPR/samples/README: New: Howto load the samples.
50    
51            * /Extensions/importAPR/samples/iceland.apr: New: A sample APR
52            file which refers to the Thuban Iceland demo data.
53    
54            * /Extensions/importAPR/test/README: New: Howto execute the tests.
55    
56            * /Extensions/importAPR/test/test_apr.py: New: Tests for APR classes.
57    
58            * /Extensions/importAPR/apr.py: New: Classes for ArcView Objects
59            as in '.apr'-files.
60    
61            * /Extensions/importAPR/odb.py: New: Classes for generic ArcView
62            ODB Objects as in '.apr', '.avl' and other files.
63    
64            * /Extensions/importAPR/__init__.py: New: Init to make this
65            directory a package.
66    
67            * /Extensions/importAPR/importAPR.py: New: Import a ArcView
68            project file (.apr) and convert it to Thuban.
69    
70    2003-09-22  Jan-Oliver Wagner <[email protected]>
71    
72            * Extensions/gns2shp.gns2shp.py: The main module of gns2shp.
73    
74    2003-09-19  Jan-Oliver Wagner <[email protected]>
75    
76            * Doc/manual/thuban-manual.xml: Extended section 'Installation'
77            with description on RPM installation and RPM binary package
78            creation.
79    
80    2003-09-18  Bernhard Herzog  <[email protected]>
81    
82            * setup.py (data_files): Only add the mo files if the Locales
83            directory actually exists, so that setup.py works with a fresh CVS
84            checkout
85    
86    2003-09-12  Jan-Oliver Wagner <[email protected]>
87    
88            * Examples/simple_extensions/simple_tool.py: bugfix: Tool is now
89            in viewport, not anymore in view
90    
91    2003-09-04  Jan-Oliver Wagner <[email protected]>
92    
93            Introducing first Extension (gns2shp).
94    
95            * Extensions, Extensions/gns2shp, Extensions/gns2shp/test: New.
96    
97            * Extensions/__init__.py: New. init to make this dir a package.
98    
99            * Extensions/gns2shp/__init__.py: New. init to make this dir a package.
100    
101            * Extensions/gns2shp/test/README: New. some info on this test directory.
102    
103            * Extensions/gns2shp/test/ls.txt: New. test data set (Liechtenstein).
104    
105            * Extensions/gns2shp/test/test_gns2shp.py: New. Test for correct creation
106            of Shapefile from GNS text file format
107    
108    2003-09-03  Jan-Oliver Wagner <[email protected]>
109    
110            Fix/workaround for bug #2019:
111            https://intevation.de/rt/webrt?serial_num=2019
112    
113            * Thuban/UI/identifyview.py (IdentifyView.ID_STOP): New.
114            (IdentifyView.__init__): Added another button that allows to
115            stop the identify mode.
116            (IdentifyView.OnStop): New. Stops the identify mode.
117    
118    2003-09-03  Jan-Oliver Wagner <[email protected]>
119    
120            Introducing a new exception dialog that allows to exit the
121            application immediately.
122            This fixes bug #2060: https://intevation.de/rt/webrt?serial_num=2060
123    
124            * Thuban/UI/exceptiondialog.py: New. A special exception dialog.
125    
126            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
127            Made strings available to translations. Exchanged the simple
128            ScrolledMessageDialog by the new ExceptionDialog.
129    
130    2003-09-01  Bernhard Herzog  <[email protected]>
131    
132            * NEWS: New. Summary of changes and release notes.
133    
134            * MANIFEST.in: Add NEWS
135    
136    2003-09-01  Bernhard Herzog  <[email protected]>
137    
138            * MANIFEST.in: Correct the include statement for the mo-files and
139            include the documentation too.
140    
141            * setup.py (data_files): Add the .mo files
142            (setup call): Up to version 0.9.0
143    
144    2003-09-01  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Change the
147            parameter list to just parent and session
148            (ChooseDBTableDialog.__set_properties): Removed. Setting the
149            selection of empty list boxes is not allowed (and produces C++
150            assertion errors) and the rest of the setup is better done in
151            __init__ anyway.
152            (ChooseDBTableDialog.OnCancel, ChooseDBTableDialog.OnOK)
153            (ChooseDBTableDialog.OnLBDClick, DBDialog.OnOK): Use the Python
154            builtins True/False for booleans to avoid warnings from wxPython
155    
156            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Adapt to new
157            ChooseDBTableDialog constructor parameters.
158    
159    2003-09-01  Bernhard Herzog  <[email protected]>
160    
161            * Thuban/Model/postgisdb.py
162            (PostGISTable): Extend doc-string
163            (PostGISTable._fetch_table_information): Set the column index
164            correctly, pretending ignored columns don't exist.
165    
166            * test/test_postgis_db.py (TestPostGISIgnoredColumns): New tests
167            for postgis tables with data types not yet supported by thuban.
168    
169    2003-08-29  Bernhard Herzog  <[email protected]>
170    
171            * HOWTO-Release: Tweak item about running the tests.
172    
173    2003-08-29  Jan-Oliver Wagner <[email protected]>
174    
175            * /Doc/manual/thuban-manual.xml: updated to version 1.0pre2.
176    
177    2003-08-29  Bernhard Herzog  <[email protected]>
178    
179            Add some missing parameters to projections. Proj complains about
180            them on windows but for some reason not on Linux.
181    
182            * test/test_save.py (SaveSessionTest.testLayerProjection): Add
183            missing required projection parameters
184    
185            * test/test_proj.py (TestProjFile.test): Add missing required
186            projection parameters
187    
188            * test/test_load_0_8.py (TestLayerProjection.file_contents)
189            (TestLayerProjection.test): Add missing required projection
190            parameters and tests for them
191    
192            * test/test_load.py (TestLayerProjection.file_contents)
193            (TestLayerProjection.test): Add missing required projection
194            parameters and tests for them
195    
196            * test/test_layer.py (TestLayer.test_base_layer): Add missing
197            required projection parameters
198    
199    2003-08-29  Bernhard Herzog  <[email protected]>
200    
201            * libraries/pyprojection/Projection.i: Use pj_get_errno_ref to
202            access the pj_errno because directly accessing pj_errno doesn't
203            work on windows if the proj library is in a DLL
204    
205            * libraries/pyprojection/Projection_wrap.c: Update from Projection.i
206    
207    2003-08-28  Bernhard Herzog  <[email protected]>
208    
209            * test/test_proj.py: Import things from Thuban after calling
210            initthuban
211    
212            * test/test_load.py (LoadSessionTest.filenames): New class
213            variable with the filename attributes to normalize
214            (LoadSessionTest.check_format): Pass self.filenames to
215            sax_eventlist to normalize the filename attributes
216    
217            * test/xmlsupport.py: Add cvs keywords
218            (SaxEventLister.__init__): New parameter filenames which indicates
219            attributes that contain filenames
220            (SaxEventLister.startElementNS): Normalize the filename attributes
221            with os.path.normpath
222            (sax_eventlist): New parameter filenames to pass through to
223            SaxEventLister
224    
225            * test/test_derivedshapestore.py: Make this file callable as a
226            program to execute the tests
227            (TestDerivedShapeStoreExceptions.test_table_with_wrong_size): Bind
228            the session to self.session so that it gets destroyed properly
229    
230            * test/test_layer.py (TestLayer.tearDown): Call the session's
231            Destroy method
232    
233            * test/test_map.py (TestMapBase.tearDown): Destroy self.session
234            too if it exists
235            (TestMapAddLayer.test_add_layer): Bind the session to self.session
236            so that it gets destroyed properly
237    
238            * test/postgissupport.py (reason_for_not_running_tests): Add a
239            test for the existence of popen2.Popen4.
240    
241            * test/test_save.py (SaveSessionTest.tearDown): New. Provide a
242            reliable way to destroy the sessions created in the test cases
243            (SaveSessionTest.test_dbf_table): Bind the session to self.session
244            so that it gets destroyed properly
245            (SaveSessionTest.testLayerProjection): Bind the session to
246            self.session so that it gets destroyed properly
247    
248            * test/test_session.py (UnreferencedTablesTests.tearDown): Make
249            sure that the session is destroyed properly
250    
251            * test/test_shapefilestore.py: Make this callable as a program to
252            execute the tests
253    
254            * test/test_scalebar.py: Remove unnecessary import of _ from
255            Thuban
256    
257            * test/support.py (print_garbage_information): Call initthuban
258            here because it may be called indirectly from test cases that test
259            test support modules which do not use anything from thuban itself
260            (ThubanTestProgram.runTests): Remove unnecessary debug print
261    
262    2003-08-28  Bernhard Herzog  <[email protected]>
263    
264            * Thuban/version.py (longversion): Update to 0.9
265    
266            * Thuban/UI/mainwindow.py: Remove some unused imports
267    
268            * README: Add section about required additional software. Add date
269            and revision CVS keywords
270    
271            * HOWTO-Release: Add item about the translations. Add date and
272            revision CVs keywords and change formatting to match README a bit
273            better
274    
275            * po/de.po: Update for 0.9
276    
277            * test/README: Tweak the wording a little because many tests are
278            not really unittest.
279    
280    2003-08-27  Bernhard Herzog  <[email protected]>
281    
282            As preparation for the 0.9 release, switch thuban files to a
283            non-dev namespace
284    
285            * Thuban/Model/save.py (SessionSaver.write_session): Write files
286            with the http://thuban.intevation.org/dtds/thuban-0.9.dtd
287            namespace
288    
289            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
290            http://thuban.intevation.org/dtds/thuban-0.9.dtd namespace too
291    
292            * test/test_save.py (SaveSessionTest.dtd)
293            (SaveSessionTest.testEmptySession)
294            (SaveSessionTest.testSingleLayer)
295            (SaveSessionTest.testLayerProjection)
296            (SaveSessionTest.testRasterLayer)
297            (SaveSessionTest.testClassifiedLayer)
298            (SaveSessionTest.test_dbf_table)
299            (SaveSessionTest.test_joined_table)
300            (SaveSessionTest.test_save_postgis): Update for new namespace
301    
302            * test/test_load.py (LoadSessionTest.dtd, TestSingleLayer)
303            (TestLayerVisibility.file_contents, TestLabels.file_contents)
304            (TestLayerProjection.file_contents)
305            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
306            (TestPostGISLayer.file_contents)
307            (TestPostGISLayerPassword.file_contents)
308            (TestLoadError.file_contents, TestLoadError.test): Update for new
309            namespace
310    
311    2003-08-27  Bernhard Herzog  <[email protected]>
312    
313            Make the table interface distinguish between row ids (an integer
314            that uniquely identifies a row) and row ordinals (a simple row
315            count from 0 to NumRows() - 1)
316    
317            * Thuban/Model/postgisdb.py (PostGISTable.RowIdToOrdinal)
318            (PostGISTable.RowOrdinalToId): New methods to conver between row
319            ids and row ordinals
320            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue): New keyword
321            parameter row_is_ordinal to indicate whether the row parameter is
322            the row id or the ordinal
323    
324            * Thuban/Model/transientdb.py (TransientTableBase.RowIdToOrdinal)
325            (TransientTableBase.RowOrdinalToId)
326            (AutoTransientTable.RowIdToOrdinal)
327            (AutoTransientTable.RowOrdinalToId): Same new methods as in
328            PostGISTable.
329            (TransientTableBase.ReadRowAsDict, TransientTableBase.ReadValue)
330            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ReadValue):
331            Same new parameter as in PostGISTable.
332    
333            * Thuban/Model/table.py (DBFTable.RowIdToOrdinal)
334            (DBFTable.RowOrdinalToId, MemoryTable.RowIdToOrdinal)
335            (MemoryTable.RowOrdinalToId): Same new methods as in PostGISTable.
336            (DBFTable.ReadValue, DBFTable.ReadRowAsDict)
337            (MemoryTable.ReadValue, MemoryTable.ReadRowAsDict): Same new
338            parameter as in PostGISTable.
339    
340            * Thuban/UI/tableview.py (DataTable.RowIdToOrdinal)
341            (DataTable.RowOrdinalToId): New methods to convert between row ids
342            and row ordinals.
343            (TableGrid.SelectRowById): New method to select a row based on its
344            ID as opposed to its ordinal
345            (DataTable.GetValue, TableGrid.OnRangeSelect)
346            (TableGrid.OnSelectCell, LayerTableGrid.select_shapes)
347            (QueryTableFrame.OnQuery, QueryTableFrame.get_selected)
348            (LayerTableFrame.__init__): Convert between row ids and row
349            ordinals as appropriate
350    
351            * test/postgissupport.py (PostGISDatabase.__init__): Add
352            doc-string.
353            (PostGISDatabase.initdb): The optional third item in a tuple in
354            tables is now a (key, value) list with additional arguments to
355            pass to upload_shapefile
356            (upload_shapefile): New parameter gid_offset to allow gids that
357            are not the same as the shapeids in the shapefile
358            (PostgreSQLServer.get_default_static_data_db): Use the new
359            gid_offset to make the gids in landmarks 1000 higher than the
360            shapeids in the shapefile
361    
362            * test/test_viewport.py
363            (TestViewportWithPostGIS.test_find_shape_at_point): Adapt to the
364            new shapeids in the landmarks table
365    
366            * test/test_transientdb.py
367            (TestTransientTable.run_iceland_political_tests)
368            (TestTransientTable.test_transient_joined_table): Add tests for
369            the new table methods and new keywords arguments.
370    
371            * test/test_postgis_db.py
372            (TestPostGISTable.test_read_row_as_dict_row_count_mode)
373            (TestPostGISTable.test_read_value_row_count_mode)
374            (TestPostGISTable.test_row_id_to_ordinal)
375            (TestPostGISTable.test_row_oridnal_to_id): New test for the new
376            table methods and the new arguments
377            (TestPostGISShapestorePoint.test_shapes_in_region)
378            (TestPostGISShapestorePoint.test_shape_raw_data)
379            (TestPostGISShapestorePoint.test_shape_points)
380            (TestPostGISShapestorePoint.test_shape_shapeid)
381            (TestPostGISShapestorePoint.test_all_shapes)
382            (TestPostGISTable.test_simple_query)
383            (TestPostGISTable.test_simple_query)
384            (TestPostGISTable.test_simple_query)
385            (TestPostGISTable.test_read_value)
386            (TestPostGISTable.test_read_row_as_dict): Adapt to the new
387            shapeids in the landmarks table
388    
389            * test/test_memory_table.py
390            (TestMemoryTable.test_read_row_as_dict_row_count_mode)
391            (TestMemoryTable.test_read_value_row_count_mode)
392            (TestMemoryTable.test_row_id_to_ordinal)
393            (TestMemoryTable.test_row_oridnal_to_id): New test for the new
394            table methods and the new arguments
395    
396            * test/test_dbf_table.py
397            (TestDBFTable.test_read_row_as_dict_row_count_mode)
398            (TestDBFTable.test_read_value_row_count_mode)
399            (TestDBFTable.test_row_id_to_ordinal)
400            (TestDBFTable.test_row_oridnal_to_id): New test for the new table
401            methods and the new arguments
402    
403    2003-08-26  Bernhard Herzog  <[email protected]>
404    
405            * Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a
406            more postgis specific but much faster method to get the bounding
407            box
408    
409    2003-08-26  Bernhard Herzog  <[email protected]>
410    
411            * Thuban/Model/postgisdb.py (PostGISTable.Title)
412            (PostGISShapeStore.AllShapes): Add these missing methods.
413            (PostGISShapeStore.ShapesInRegion): No need to raise
414            StopIteration. We can simply return
415    
416            * test/test_postgis_db.py (TestPostGISTable.test_title)
417            (TestPostGISShapestorePoint.test_all_shapes): New tests for the
418            new methods
419    
420  2003-08-25  Bernhard Herzog  <[email protected]>  2003-08-25  Bernhard Herzog  <[email protected]>
421    
422          * Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON.          * Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON.

Legend:
Removed from v.1657  
changed lines
  Added in v.1745

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26