/[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 1655 by bh, Mon Aug 25 16:05:33 2003 UTC revision 1792 by jan, Wed Oct 8 14:48:12 2003 UTC
# Line 1  Line 1 
1    2003-10-08  Jan-Oliver Wagner <[email protected]>
2    
3            * Thuban/Model/resource.py (get_user_proj_file): small bug-fix:
4            Added missing 'val' parameter.
5    
6    2003-10-08  Bernhard Herzog  <[email protected]>
7    
8            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): When the
9            projection type of the currently selected projection is not known,
10            i.e. there's no panel for it, use the UnknownProjPanel
11            (ProjFrame.__DoOnProjChoice, ProjFrame._show_proj_panel): Split
12            the actual replacing of the proj panel into the new method
13            _show_proj_panel.
14            (UnknownProjPanel): Add doc-string.
15            (UnknownProjPanel._DoLayout): Insert a newline into the text so
16            that the panel is not so wide.
17    
18    2003-10-08  Bernhard Herzog  <[email protected]>
19    
20            * Thuban/Model/resource.py (read_proj_file): Return the warnings
21            too. Update the doc-string
22            (get_proj_files): Removed. It wasn't used anywhere
23            (get_system_proj_files, get_system_proj_file): Rename to
24            get_system_proj_file and return the ProjFile object and not a list
25            of ProjFile objects. Update the callers.
26            (get_user_proj_files, get_user_proj_file): Rename to
27            get_user_proj_file return the ProjFile object and not a list of
28            ProjFile objects. Update the callers.
29            (ProjFileReader.__init__): New instance variable for the warnings.
30            Rename the __pf ivar to projfile. Update the methods referring to
31            __pf
32            (ProjFileReader.end_projection): Catch any errors raised when
33            instantiating the projection and record that as an error. The
34            projection will not be in the final ProjFile object.
35            (ProjFileReader.GetWarnings): New method to return the warnings.
36    
37            * Thuban/UI/projdialog.py (ProjFrame.show_warnings): New method to
38            show the warnings from the projfile reader
39            (ProjFrame._OnImport): Deal with any warnings returned by
40            read_proj_file
41            (ProjFrame.__FillAvailList): Deal with any warnings returned by
42            get_system_proj_file or get_user_proj_file.
43    
44            * test/test_proj.py (TestProjFile.doTestRead): Check the warnings.
45            (TestProjFileWithInvalidParameters.file_contents): New test cases
46            to test whether read_proj_file handles invalid projection
47            parameters correctly
48            (TestProjFile.test_get_system_proj_file): New. Simple test for
49            resource.get_system_proj_file
50    
51    2003-10-07  Bernhard Herzog  <[email protected]>
52    
53            * test/test_derivedshapestore.py
54            (TestDerivedShapeStoreExceptions.tearDown): Clear the session
55            properly so that the temporary directories get deleted correctly
56    
57    2003-10-06  Bernhard Herzog  <[email protected]>
58    
59            Handle the title changes in a proper MVC way.
60    
61            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
62            canvas' TITLE_CHANGED messages
63            (MainWindow.update_title): New. Update the main window's title
64            (MainWindow.__SetTitle): Removed. Use update_title instead.
65            (MainWindow.SetMap): Use update_title instead of __SetTitle
66            (MainWindow.RenameMap): Do change the window title explicitly
67            here. That's handled in a proper MVC way now.
68            (MainWindow.title_changed): New. Subscriber for the TITLE_CHANGED
69            messages
70    
71            * Thuban/Lib/connector.py (Conduit): New class to help classes
72            that forward messages
73    
74            * Thuban/UI/viewport.py: Forward the map's TITLE_CHANGED messages
75            (ViewPort): Derive from Conduit instead of Publisher
76            (ViewPort.Subscribe, ViewPort.Unsubscribe): Use the new base class
77            when calling the inherited versions
78            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): New helper
79            methods to subscribe and unsubscribe map messages
80            (ViewPort.SetMap, ViewPort.Destroy): Use the new helper methods to
81            handle the map subscriptions
82            (ViewPort.Map, ViewPort.map_projection_changed)
83            (ViewPort.layer_projection_changed): Add or update doc-strings
84    
85            * test/test_connector.py (TestPublisher.test_issue_simple): Fix
86            typo
87            (MyConduit): Helper class for the Conduit test.
88            (TestConduit): Test cases for Conduit
89    
90            * test/test_connector.py: Use support.run_tests as main.
91    
92            * test/test_viewport.py (ViewPortTest.setUp): Also subscribe to
93            the TITLE_CHANGED messages
94            (ViewPortTest.test_forwarding_title_changed): New test to check
95            whether the viewport forwards the map's TITLE_CHANGED messages
96            (TestViewportWithPostGIS.tearDown): Call the map's Destroy method
97            after the port's because the latter may require a still functional
98            map.
99    
100    2003-10-06  Bernhard Herzog  <[email protected]>
101    
102            * Thuban/UI/application.py (ThubanApplication.maps_changed): Add
103            doc-string
104    
105    2003-10-06  Bernhard Herzog  <[email protected]>
106    
107            * test/test_viewport.py (ViewPortTest.setUp)
108            (SimpleViewPortTest.test_init_with_size): Move the test for the
109            initial size as a constructor parameter from ViewPortTest.setUp
110            method to a new separate test in SimpleViewPortTest.
111    
112    2003-10-06  Bernhard Herzog  <[email protected]>
113    
114            * test/test_viewport.py (MockView): New class derived from
115            ViewPort with a mock implementation of GetTextExtent to be used in
116            the test cases
117            (ViewPortTest.setUp): Use MockView instead of ViewPort
118    
119            * Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method
120            into what would be a "pure virtual function" in C++: always raise
121            NotImplementedError. Mock implementations for test cases don't
122            belong into the real code
123    
124    2003-10-02  Bernhard Herzog  <[email protected]>
125    
126            * test/test_layer.py (TestLayer.test_empty_layer): Explicitly
127            close the dbf file we create so that it's contents have been
128            written properly.
129    
130            * libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c,
131            libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c:
132            Update to shapelib 1.2.10
133    
134    2003-10-01  Jan-Oliver Wagner <[email protected]>
135    
136            * Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as
137            it annoys lintian which warns about these files not being
138            executable. The #! isn't necessary here since if you absolutely
139            must execute them you can always say "python <filename>".
140    
141    2003-09-26  Bernhard Herzog  <[email protected]>
142    
143            * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's
144            only used in GREAT-ER but not used in Thuban itself. When GREAT-ER
145            is ported to a newer the import will fail, so it should be noticed
146            immediately that this function is gone.
147            Fixes RT#1919
148    
149    2003-09-26  Bernhard Herzog  <[email protected]>
150    
151            Add a DTD for the projection files and make thuban write valid
152            projection files
153    
154            * Resources/XML/projfile.dtd: New. DTD for thuban's projection
155            files
156    
157            * Thuban/Model/resource.py (ProjFileSaver.write): Use
158            'projectionlist' as the name in the document type declaration so
159            that it matches the element type of the root element.
160    
161            * test/test_proj.py (sample_projfile, sample_projfile2): Use
162            'projectionlist' as the name in the document type declaration just
163            as it is done now in the files thuban would write
164            (sample_projfile, sample_projfile_data): Fix spelling of
165            "Mercator"
166            (TestProjFile.doTestWrite): Validate the written and the expected
167            XML data
168            (TestProjFile): Derive from ValidationTest so that we can run xml
169            validation tests
170    
171    2003-09-24  Bernhard Herzog  <[email protected]>
172    
173            * Thuban/UI/renderer.py (ExportRenderer.render_legend): Do not
174            modify the list returned by map.Layers() in place since it is the
175            actual list of layers used by the map.
176    
177    2003-09-23  Jan-Oliver Wagner <[email protected]>
178    
179            * Doc/manual/thuban-manual.xml: Added subsection to chapter
180            Extensions to describe the extensions coming with the Thuban
181            standard package (gns2shp and importAPR).
182    
183    2003-09-23  Bernhard Herzog  <[email protected]>
184    
185            * libraries/thuban/wxproj.cpp (project_point): if there's an
186            inverse but no forward projection, convert to degrees after
187            applying the inverse projection. Fixes RT#2096
188    
189            * test/test_wxproj.py: New. Test cases for wxproj.so. One test
190            implicitly tests for the fix to RT#2096
191    
192            * test/support.py (FloatComparisonMixin.assertFloatSeqEqual):
193            Check that the sequences have the same lengths
194    
195            * Resources/Projections/defaults.proj (Geographic projection): Use
196            a much more precise value for the to_meter attribute.
197    
198    2003-09-22  Bernhard Herzog  <[email protected]>
199    
200            * test/support.py (initthuban): Make sure to unset the LANG env.
201            var. so that tests that compare translated strings work. Solves RT
202            #2094
203    
204    2003-09-22  Jan-Oliver Wagner <[email protected]>
205    
206            Small improvement of APR import.
207    
208            * Extensions/importAPR/test/test_apr.py (aprTest.test_LClass):
209            Added tests for text-ranges.
210    
211            * Extensions/importAPR/apr.py (APR_LClass.GetThubanRange): Now
212            returns a string object if the range is based on text.
213    
214            * Extensions/importAPR/importAPR.py (import_apr_dialog): Unified
215            range retrieval.
216    
217    2003-09-22  Jan-Oliver Wagner <[email protected]>
218    
219            Initial version of the importAPR extension which is in
220            experimental state.
221    
222            * /Extensions/importAPR/, /Extensions/importAPR/samples/,
223            /Extensions/importAPR/test/: New directories.
224    
225            * /Extensions/importAPR/samples/README: New: Howto load the samples.
226    
227            * /Extensions/importAPR/samples/iceland.apr: New: A sample APR
228            file which refers to the Thuban Iceland demo data.
229    
230            * /Extensions/importAPR/test/README: New: Howto execute the tests.
231    
232            * /Extensions/importAPR/test/test_apr.py: New: Tests for APR classes.
233    
234            * /Extensions/importAPR/apr.py: New: Classes for ArcView Objects
235            as in '.apr'-files.
236    
237            * /Extensions/importAPR/odb.py: New: Classes for generic ArcView
238            ODB Objects as in '.apr', '.avl' and other files.
239    
240            * /Extensions/importAPR/__init__.py: New: Init to make this
241            directory a package.
242    
243            * /Extensions/importAPR/importAPR.py: New: Import a ArcView
244            project file (.apr) and convert it to Thuban.
245    
246    2003-09-22  Jan-Oliver Wagner <[email protected]>
247    
248            * Extensions/gns2shp.gns2shp.py: The main module of gns2shp.
249    
250    2003-09-19  Jan-Oliver Wagner <[email protected]>
251    
252            * Doc/manual/thuban-manual.xml: Extended section 'Installation'
253            with description on RPM installation and RPM binary package
254            creation.
255    
256    2003-09-18  Bernhard Herzog  <[email protected]>
257    
258            * setup.py (data_files): Only add the mo files if the Locales
259            directory actually exists, so that setup.py works with a fresh CVS
260            checkout
261    
262    2003-09-12  Jan-Oliver Wagner <[email protected]>
263    
264            * Examples/simple_extensions/simple_tool.py: bugfix: Tool is now
265            in viewport, not anymore in view
266    
267    2003-09-04  Jan-Oliver Wagner <[email protected]>
268    
269            Introducing first Extension (gns2shp).
270    
271            * Extensions, Extensions/gns2shp, Extensions/gns2shp/test: New.
272    
273            * Extensions/__init__.py: New. init to make this dir a package.
274    
275            * Extensions/gns2shp/__init__.py: New. init to make this dir a package.
276    
277            * Extensions/gns2shp/test/README: New. some info on this test directory.
278    
279            * Extensions/gns2shp/test/ls.txt: New. test data set (Liechtenstein).
280    
281            * Extensions/gns2shp/test/test_gns2shp.py: New. Test for correct creation
282            of Shapefile from GNS text file format
283    
284    2003-09-03  Jan-Oliver Wagner <[email protected]>
285    
286            Fix/workaround for bug #2019:
287            https://intevation.de/rt/webrt?serial_num=2019
288    
289            * Thuban/UI/identifyview.py (IdentifyView.ID_STOP): New.
290            (IdentifyView.__init__): Added another button that allows to
291            stop the identify mode.
292            (IdentifyView.OnStop): New. Stops the identify mode.
293    
294    2003-09-03  Jan-Oliver Wagner <[email protected]>
295    
296            Introducing a new exception dialog that allows to exit the
297            application immediately.
298            This fixes bug #2060: https://intevation.de/rt/webrt?serial_num=2060
299    
300            * Thuban/UI/exceptiondialog.py: New. A special exception dialog.
301    
302            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
303            Made strings available to translations. Exchanged the simple
304            ScrolledMessageDialog by the new ExceptionDialog.
305    
306    2003-09-01  Bernhard Herzog  <[email protected]>
307    
308            * NEWS: New. Summary of changes and release notes.
309    
310            * MANIFEST.in: Add NEWS
311    
312    2003-09-01  Bernhard Herzog  <[email protected]>
313    
314            * MANIFEST.in: Correct the include statement for the mo-files and
315            include the documentation too.
316    
317            * setup.py (data_files): Add the .mo files
318            (setup call): Up to version 0.9.0
319    
320    2003-09-01  Bernhard Herzog  <[email protected]>
321    
322            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Change the
323            parameter list to just parent and session
324            (ChooseDBTableDialog.__set_properties): Removed. Setting the
325            selection of empty list boxes is not allowed (and produces C++
326            assertion errors) and the rest of the setup is better done in
327            __init__ anyway.
328            (ChooseDBTableDialog.OnCancel, ChooseDBTableDialog.OnOK)
329            (ChooseDBTableDialog.OnLBDClick, DBDialog.OnOK): Use the Python
330            builtins True/False for booleans to avoid warnings from wxPython
331    
332            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Adapt to new
333            ChooseDBTableDialog constructor parameters.
334    
335    2003-09-01  Bernhard Herzog  <[email protected]>
336    
337            * Thuban/Model/postgisdb.py
338            (PostGISTable): Extend doc-string
339            (PostGISTable._fetch_table_information): Set the column index
340            correctly, pretending ignored columns don't exist.
341    
342            * test/test_postgis_db.py (TestPostGISIgnoredColumns): New tests
343            for postgis tables with data types not yet supported by thuban.
344    
345    2003-08-29  Bernhard Herzog  <[email protected]>
346    
347            * HOWTO-Release: Tweak item about running the tests.
348    
349    2003-08-29  Jan-Oliver Wagner <[email protected]>
350    
351            * /Doc/manual/thuban-manual.xml: updated to version 1.0pre2.
352    
353    2003-08-29  Bernhard Herzog  <[email protected]>
354    
355            Add some missing parameters to projections. Proj complains about
356            them on windows but for some reason not on Linux.
357    
358            * test/test_save.py (SaveSessionTest.testLayerProjection): Add
359            missing required projection parameters
360    
361            * test/test_proj.py (TestProjFile.test): Add missing required
362            projection parameters
363    
364            * test/test_load_0_8.py (TestLayerProjection.file_contents)
365            (TestLayerProjection.test): Add missing required projection
366            parameters and tests for them
367    
368            * test/test_load.py (TestLayerProjection.file_contents)
369            (TestLayerProjection.test): Add missing required projection
370            parameters and tests for them
371    
372            * test/test_layer.py (TestLayer.test_base_layer): Add missing
373            required projection parameters
374    
375    2003-08-29  Bernhard Herzog  <[email protected]>
376    
377            * libraries/pyprojection/Projection.i: Use pj_get_errno_ref to
378            access the pj_errno because directly accessing pj_errno doesn't
379            work on windows if the proj library is in a DLL
380    
381            * libraries/pyprojection/Projection_wrap.c: Update from Projection.i
382    
383    2003-08-28  Bernhard Herzog  <[email protected]>
384    
385            * test/test_proj.py: Import things from Thuban after calling
386            initthuban
387    
388            * test/test_load.py (LoadSessionTest.filenames): New class
389            variable with the filename attributes to normalize
390            (LoadSessionTest.check_format): Pass self.filenames to
391            sax_eventlist to normalize the filename attributes
392    
393            * test/xmlsupport.py: Add cvs keywords
394            (SaxEventLister.__init__): New parameter filenames which indicates
395            attributes that contain filenames
396            (SaxEventLister.startElementNS): Normalize the filename attributes
397            with os.path.normpath
398            (sax_eventlist): New parameter filenames to pass through to
399            SaxEventLister
400    
401            * test/test_derivedshapestore.py: Make this file callable as a
402            program to execute the tests
403            (TestDerivedShapeStoreExceptions.test_table_with_wrong_size): Bind
404            the session to self.session so that it gets destroyed properly
405    
406            * test/test_layer.py (TestLayer.tearDown): Call the session's
407            Destroy method
408    
409            * test/test_map.py (TestMapBase.tearDown): Destroy self.session
410            too if it exists
411            (TestMapAddLayer.test_add_layer): Bind the session to self.session
412            so that it gets destroyed properly
413    
414            * test/postgissupport.py (reason_for_not_running_tests): Add a
415            test for the existence of popen2.Popen4.
416    
417            * test/test_save.py (SaveSessionTest.tearDown): New. Provide a
418            reliable way to destroy the sessions created in the test cases
419            (SaveSessionTest.test_dbf_table): Bind the session to self.session
420            so that it gets destroyed properly
421            (SaveSessionTest.testLayerProjection): Bind the session to
422            self.session so that it gets destroyed properly
423    
424            * test/test_session.py (UnreferencedTablesTests.tearDown): Make
425            sure that the session is destroyed properly
426    
427            * test/test_shapefilestore.py: Make this callable as a program to
428            execute the tests
429    
430            * test/test_scalebar.py: Remove unnecessary import of _ from
431            Thuban
432    
433            * test/support.py (print_garbage_information): Call initthuban
434            here because it may be called indirectly from test cases that test
435            test support modules which do not use anything from thuban itself
436            (ThubanTestProgram.runTests): Remove unnecessary debug print
437    
438    2003-08-28  Bernhard Herzog  <[email protected]>
439    
440            * Thuban/version.py (longversion): Update to 0.9
441    
442            * Thuban/UI/mainwindow.py: Remove some unused imports
443    
444            * README: Add section about required additional software. Add date
445            and revision CVS keywords
446    
447            * HOWTO-Release: Add item about the translations. Add date and
448            revision CVs keywords and change formatting to match README a bit
449            better
450    
451            * po/de.po: Update for 0.9
452    
453            * test/README: Tweak the wording a little because many tests are
454            not really unittest.
455    
456    2003-08-27  Bernhard Herzog  <[email protected]>
457    
458            As preparation for the 0.9 release, switch thuban files to a
459            non-dev namespace
460    
461            * Thuban/Model/save.py (SessionSaver.write_session): Write files
462            with the http://thuban.intevation.org/dtds/thuban-0.9.dtd
463            namespace
464    
465            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
466            http://thuban.intevation.org/dtds/thuban-0.9.dtd namespace too
467    
468            * test/test_save.py (SaveSessionTest.dtd)
469            (SaveSessionTest.testEmptySession)
470            (SaveSessionTest.testSingleLayer)
471            (SaveSessionTest.testLayerProjection)
472            (SaveSessionTest.testRasterLayer)
473            (SaveSessionTest.testClassifiedLayer)
474            (SaveSessionTest.test_dbf_table)
475            (SaveSessionTest.test_joined_table)
476            (SaveSessionTest.test_save_postgis): Update for new namespace
477    
478            * test/test_load.py (LoadSessionTest.dtd, TestSingleLayer)
479            (TestLayerVisibility.file_contents, TestLabels.file_contents)
480            (TestLayerProjection.file_contents)
481            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
482            (TestPostGISLayer.file_contents)
483            (TestPostGISLayerPassword.file_contents)
484            (TestLoadError.file_contents, TestLoadError.test): Update for new
485            namespace
486    
487    2003-08-27  Bernhard Herzog  <[email protected]>
488    
489            Make the table interface distinguish between row ids (an integer
490            that uniquely identifies a row) and row ordinals (a simple row
491            count from 0 to NumRows() - 1)
492    
493            * Thuban/Model/postgisdb.py (PostGISTable.RowIdToOrdinal)
494            (PostGISTable.RowOrdinalToId): New methods to conver between row
495            ids and row ordinals
496            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue): New keyword
497            parameter row_is_ordinal to indicate whether the row parameter is
498            the row id or the ordinal
499    
500            * Thuban/Model/transientdb.py (TransientTableBase.RowIdToOrdinal)
501            (TransientTableBase.RowOrdinalToId)
502            (AutoTransientTable.RowIdToOrdinal)
503            (AutoTransientTable.RowOrdinalToId): Same new methods as in
504            PostGISTable.
505            (TransientTableBase.ReadRowAsDict, TransientTableBase.ReadValue)
506            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ReadValue):
507            Same new parameter as in PostGISTable.
508    
509            * Thuban/Model/table.py (DBFTable.RowIdToOrdinal)
510            (DBFTable.RowOrdinalToId, MemoryTable.RowIdToOrdinal)
511            (MemoryTable.RowOrdinalToId): Same new methods as in PostGISTable.
512            (DBFTable.ReadValue, DBFTable.ReadRowAsDict)
513            (MemoryTable.ReadValue, MemoryTable.ReadRowAsDict): Same new
514            parameter as in PostGISTable.
515    
516            * Thuban/UI/tableview.py (DataTable.RowIdToOrdinal)
517            (DataTable.RowOrdinalToId): New methods to convert between row ids
518            and row ordinals.
519            (TableGrid.SelectRowById): New method to select a row based on its
520            ID as opposed to its ordinal
521            (DataTable.GetValue, TableGrid.OnRangeSelect)
522            (TableGrid.OnSelectCell, LayerTableGrid.select_shapes)
523            (QueryTableFrame.OnQuery, QueryTableFrame.get_selected)
524            (LayerTableFrame.__init__): Convert between row ids and row
525            ordinals as appropriate
526    
527            * test/postgissupport.py (PostGISDatabase.__init__): Add
528            doc-string.
529            (PostGISDatabase.initdb): The optional third item in a tuple in
530            tables is now a (key, value) list with additional arguments to
531            pass to upload_shapefile
532            (upload_shapefile): New parameter gid_offset to allow gids that
533            are not the same as the shapeids in the shapefile
534            (PostgreSQLServer.get_default_static_data_db): Use the new
535            gid_offset to make the gids in landmarks 1000 higher than the
536            shapeids in the shapefile
537    
538            * test/test_viewport.py
539            (TestViewportWithPostGIS.test_find_shape_at_point): Adapt to the
540            new shapeids in the landmarks table
541    
542            * test/test_transientdb.py
543            (TestTransientTable.run_iceland_political_tests)
544            (TestTransientTable.test_transient_joined_table): Add tests for
545            the new table methods and new keywords arguments.
546    
547            * test/test_postgis_db.py
548            (TestPostGISTable.test_read_row_as_dict_row_count_mode)
549            (TestPostGISTable.test_read_value_row_count_mode)
550            (TestPostGISTable.test_row_id_to_ordinal)
551            (TestPostGISTable.test_row_oridnal_to_id): New test for the new
552            table methods and the new arguments
553            (TestPostGISShapestorePoint.test_shapes_in_region)
554            (TestPostGISShapestorePoint.test_shape_raw_data)
555            (TestPostGISShapestorePoint.test_shape_points)
556            (TestPostGISShapestorePoint.test_shape_shapeid)
557            (TestPostGISShapestorePoint.test_all_shapes)
558            (TestPostGISTable.test_simple_query)
559            (TestPostGISTable.test_simple_query)
560            (TestPostGISTable.test_simple_query)
561            (TestPostGISTable.test_read_value)
562            (TestPostGISTable.test_read_row_as_dict): Adapt to the new
563            shapeids in the landmarks table
564    
565            * test/test_memory_table.py
566            (TestMemoryTable.test_read_row_as_dict_row_count_mode)
567            (TestMemoryTable.test_read_value_row_count_mode)
568            (TestMemoryTable.test_row_id_to_ordinal)
569            (TestMemoryTable.test_row_oridnal_to_id): New test for the new
570            table methods and the new arguments
571    
572            * test/test_dbf_table.py
573            (TestDBFTable.test_read_row_as_dict_row_count_mode)
574            (TestDBFTable.test_read_value_row_count_mode)
575            (TestDBFTable.test_row_id_to_ordinal)
576            (TestDBFTable.test_row_oridnal_to_id): New test for the new table
577            methods and the new arguments
578    
579    2003-08-26  Bernhard Herzog  <[email protected]>
580    
581            * Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a
582            more postgis specific but much faster method to get the bounding
583            box
584    
585    2003-08-26  Bernhard Herzog  <[email protected]>
586    
587            * Thuban/Model/postgisdb.py (PostGISTable.Title)
588            (PostGISShapeStore.AllShapes): Add these missing methods.
589            (PostGISShapeStore.ShapesInRegion): No need to raise
590            StopIteration. We can simply return
591    
592            * test/test_postgis_db.py (TestPostGISTable.test_title)
593            (TestPostGISShapestorePoint.test_all_shapes): New tests for the
594            new methods
595    
596    2003-08-25  Bernhard Herzog  <[email protected]>
597    
598            * Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON.
599    
600            * test/test_postgis_db.py (PolygonTests): New class containing
601            those tests from TestPostGISShapestorePolygon that can also be
602            used to test MUTLIPOLYGON tables
603            (TestPostGISShapestorePolygon): Most tests are now in PolygonTests
604            so derive from that
605            (TestPostGISShapestoreMultiPolygon): New class with tests for
606            MUTLIPOLYGON tables
607    
608            * test/postgissupport.py (PostGISDatabase.initdb): Allow the
609            tables argument to have tuples with three items to override the
610            WKT type used.
611            (PostgreSQLServer.get_default_static_data_db): Use the above to
612            create a polygon table with MUTLIPOLYGONs
613            (point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon)
614            (arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to
615            coords_to*
616            (coords_to_multipolygon): New. Convert to MUTLIPOLYGON
617            (wkt_converter): New. Map WKT types to converters
618            (upload_shapefile): New parameter force_wkt_type to use a
619            different WKT type than the default
620    
621  2003-08-25  Bernhard Herzog  <[email protected]>  2003-08-25  Bernhard Herzog  <[email protected]>
622    
623          * Thuban/UI/application.py          * Thuban/UI/application.py
# Line 941  Line 1561 
1561    
1562          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
1563          it annoys lintian which warns about these files not being          it annoys lintian which warns about these files not being
1564          executable. The #1 isn't necessary here since if you absolutely          executable. The #! isn't necessary here since if you absolutely
1565          must execute them you can always say "python <filename>".          must execute them you can always say "python <filename>".
1566    
1567          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove

Legend:
Removed from v.1655  
changed lines
  Added in v.1792

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26