/[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 1967 by bh, Thu Nov 20 18:16:10 2003 UTC revision 2064 by mrechtie, Sun Feb 15 14:16:14 2004 UTC
# Line 1  Line 1 
1    2004-02-15  Markus Rechtien  <[email protected]>
2            
3            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
4            to write a session to a file in SVG format.
5            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
6            to write a SVG map of a session.
7            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
8            in SVG format for the current session.
9    
10    2004-02-13  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
13            can't be created, return immediately after displaying the error
14            message.
15    
16    2004-02-11  Bernhard Herzog  <[email protected]>
17    
18            Handle postgis tables with more than one geometry column.
19    
20            * Thuban/Model/postgisdb.py
21            (PostGISTable._fetch_table_information): Delegate the creation of
22            column objects to a different method so that we can extend that in
23            derived classes
24            (PostGISTable._create_col_from_description): New. Column object
25            creation part of _fetch_table_information
26            (PostGISShapeStore._create_col_from_description): New. Extend
27            inherited method to handle geometry columns
28            (PostGISShapeStore.__init__): New parameter geometry_column to
29            specify which geometry column to use.  Optional but mandatory for
30            tables with more than one geometry column
31            (PostGISShapeStore._fetch_table_information): Also use the name of
32            the geometry column when looking for the srid
33            (PostGISShapeStore.ShapeType): Also use the name of the geometry
34            column when looking for the shape type
35    
36            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
37            NonConnectionStore to changes in the PostGISShapeStore
38    
39            * test/test_postgis_db.py
40            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
41            PostGISShapeStore with tables having two geometry columns.
42    
43    2004-02-10  Bernhard Herzog  <[email protected]>
44    
45            Fix some postgis problems.  What remains to be done is real
46            handling of SRIDs as they affect how reprojection is done
47    
48            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
49            doc-string
50            (PostGISShapeStore._fetch_table_information): New. Extend
51            inherited method to retrieve srid
52            (PostGISShapeStore.BoundingBox): Handle tables without data.
53            extent yields NULL for those
54            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
55    
56            * test/test_postgis_db.py
57            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
58            for the special case of a table without any data
59            (TestPostGISShapestorePointSRID): New class with tests for a table
60            that uses srids
61            (PolygonTests): Fix a doc-string typo
62    
63            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
64            reference_systems with a specification of spacial reference
65            systems to create in the new db.
66            (PostgreSQLServer.new_postgis_db)
67            (PostgreSQLServer.get_static_data_db): New parameter
68            reference_systems to be passed through ultimately to
69            PostGISDatabase.  In new_postgis_db also check whether an existing
70            db already has the right srids
71            (PostgreSQLServer.get_default_static_data_db): Add srids and a
72            table that uses srids
73            (PostGISDatabase.initdb): Create the entries for the reference
74            systems
75            (PostGISDatabase.has_data): Add reference_systems parameter to
76            check for those too
77            (upload_shapefile): New parameter srid to create tables with a
78            specific srid
79    
80    2004-02-06  Frank Koormann  <[email protected]>
81    
82            * po/pt_BR.po: Fixed charset
83    
84    2004-02-05  Frank Koormann  <[email protected]>
85    
86            * po/pt_BR.po: Fixed format string for error message, missing %s
87            added (Thuban/UI/application.py:273)
88    
89    2004-02-03  Frank Koormann  <[email protected]>
90            
91            First version of Portuguese (Brazilian) translation
92    
93            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
94            Brazilian Portuguese by Eduardo Patto Kanegae.
95    
96            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
97            translators.
98    
99    
100    2004-01-22  Frank Koormann  <[email protected]>
101    
102            * Doc/manual/thuban-manual.xml: Added section on installation of
103            Thuban under Win32 systems. Fixed image path references in the postgis
104            section. Some minor source formattings.
105    
106    2004-01-21  Frank Koormann  <[email protected]>
107    
108            Make Thuban remember path selections (at least for one application run).
109    
110            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
111            attribute of application object. Path is a dictionary of
112            strings, currently with the items "data" and "projection".  
113            (Application.SetPath): New, stores path for the specified item.
114            (Application.Path): New, return path for the specified item.
115    
116            * Thuban/UI/mainwindow.py
117            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
118            MainWindow.AddLayer, MainWindow.AddRasterLayer,
119            MainWindow.TableOpen): Access "data" path information of the
120            application.
121            
122            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
123            Access "projection" path information of the application.
124    
125    2004-01-05  Bernhard Herzog  <[email protected]>
126    
127            * po/ru.po: Updated translations from Alex Shevlakov
128    
129    2004-01-05  Bernhard Herzog  <[email protected]>
130    
131            * po/Makefile, po/README: Move the description of how to generate
132            the translation statistics to the README.
133    
134    2003-12-23  Bernhard Herzog  <[email protected]>
135    
136            * NEWS: Update for 1.0.0
137    
138            * po/it.po: Another update from Maurizio Napolitano
139    
140    2003-12-23  Bernhard Herzog  <[email protected]>
141    
142            * po/it.po: Updated translation from Maurizio Napolitano
143    
144    2003-12-23  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
147            for translation
148    
149            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
150            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
151            strings for translation
152    
153            * po/de.po: Update with the newly marked strings.
154    
155    2003-12-22  Bernhard Herzog  <[email protected]>
156    
157            * HOWTO-Release: Fix the places where version numbers have to be
158            updated
159    
160    2003-12-22  Bernhard Herzog  <[email protected]>
161    
162            * setup.py (setup call): 1.0.0, yeah!
163    
164            * Thuban/version.py (longversion): 1.0.0, yeah!
165    
166            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
167            1.0.0 namespace too
168    
169            * Thuban/Model/save.py (SessionSaver.write_session): Save with
170            1.0.0 namespace
171    
172            * test/test_load.py (LoadSessionTest.dtd)
173            (TestSingleLayer.file_contents)
174            (TestNonAsciiColumnName.file_contents)
175            (TestLayerVisibility.file_contents)
176            (TestClassification.file_contents, TestLabels.file_contents)
177            (TestLayerProjection.file_contents)
178            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
179            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
180            (TestPostGISLayerPassword.file_contents)
181            (TestLoadError.file_contents, TestLoadError.test): Update for
182            1.0.0 namespace
183    
184            * test/test_save.py (SaveSessionTest.dtd)
185            (SaveSessionTest.testEmptySession)
186            (SaveSessionTest.testSingleLayer)
187            (SaveSessionTest.testLayerProjection)
188            (SaveSessionTest.testRasterLayer)
189            (SaveSessionTest.testClassifiedLayer)
190            (SaveSessionTest.test_dbf_table)
191            (SaveSessionTest.test_joined_table)
192            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
193    
194    2003-12-22  Bernhard Herzog  <[email protected]>
195    
196            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
197            alignment flags are byte strings not unicode and that they have
198            valid values
199    
200            * test/test_load.py (TestLabelLayer): New. Test loading (and
201            indirectly saving) of maps with labels.
202    
203    2003-12-22  Bernhard Herzog  <[email protected]>
204    
205            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
206            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
207            unsubscribe all subscribers.
208            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
209            self.grid since it may already have been destroyed.
210            Fixes RT #2256
211    
212    2003-12-19  Bernhard Herzog  <[email protected]>
213    
214            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
215    
216    2003-12-16  Bernhard Herzog  <[email protected]>
217            
218            * debian/bitmappath.patch, debian/setup.py.patch:
219                    added to ensure compliance with FHS for debian
220            * debian/rules, debian/changelog:
221                added patches in rules to ensure compliance with FHS for debian
222    
223    2003-12-16  Bernhard Herzog  <[email protected]>
224    
225            * po/Makefile (mo): Make the output a bit nicer so that it prints
226            statistics about the translations. Add a comment how produce even
227            nicer statistics with sed.
228    
229    2003-12-09  Frank Koormann   <[email protected]>
230    
231            * Resources/Projections/defaults.proj:
232            French projection sample with correct accents (UNICODE).
233    
234    2003-12-05  Bernhard Herzog  <[email protected]>
235    
236            * MANIFEST.in: Add the devtools directory
237    
238            * setup.py (setup call): Use license instead of licence. This
239            silences a deprecation warning on Python 2.3
240    
241    2003-12-05  Frank Koormann   <[email protected]>
242    
243            Documentation synced with 1.0rc1
244    
245            * Doc/manual/thuban-manual.xml:
246            Minor formatting changes and references to database layers .
247            Introduction.Internationalization: New section on i18n.
248            MapManagement.AddingandRemovingLayers: Added item on database layers.  
249            MapManagement.TheLegend: Added section and screenshot on popup menu.
250            ProjectionManagement: Updated screenshot and sentence on EPSG.
251            Appendix.SupportedDataSources: Added PostGIS.
252            Appendix.WorkingwithPostGIS: New section.
253    
254            * Doc/manual/images/6_projection.png: Updated screenshot including
255            EPSG checkboxes.
256    
257            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
258    
259            * Doc/manual/images/app_postgis_add_layer.png,
260            Doc/manual/images/app_postgis_db_add.png,
261            Doc/manual/images/app_postgis_db_management.png:
262            New screenshots focussing on database layers
263    
264    2003-12-05  Frank Koormann   <[email protected]>
265    
266            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
267            write warning to stderr instead of rising a warning dialog
268    
269    2003-12-03  Bernhard Herzog  <[email protected]>
270    
271            Fix for RT #2243
272    
273            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
274            New. Like has_selected_layer but for shape layers only
275            (_has_selected_shape_layer): New. Like _has_selected_layer but for
276            shape layers only
277            (layer_show_table command, layer_jointable command): Use these
278            commands should only be available for shape layers
279    
280    2003-12-03  Bernhard Herzog  <[email protected]>
281    
282            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
283            publishers that are wx objects and may have been destroyed by wx
284            already. Fixes RT #2242.
285    
286    2003-12-03  Bernhard Herzog  <[email protected]>
287    
288            * po/ru.po: Updates from Alex Shevlakov
289    
290    2003-12-03  Silke Reimer <silkeintevation.de>
291    
292            * debian/control, debian/changelog: Added gdal-support to
293                    debian package, updated to new thuban version
294    
295    
296    2003-12-03  Bernhard Herzog  <[email protected]>
297    
298            * Thuban/Lib/version.py: New. Module for version number
299            manipulations. The version of make_tuple here also deals better
300            with more unusual version number strings, such as e.g.
301            "1.2+cvs20031111"
302    
303            * Thuban/version.py (make_tuple): Removed. It's now in
304            Thuban.Lib.version. Use that implementation instead.
305    
306            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
307    
308    2003-12-02  Bernhard Herzog  <[email protected]>
309    
310            * MANIFEST.in: Add debian files
311    
312            * setup.py (setup call): Add packages for the Extensions so that
313            they're installed too
314            (data_files): Add READMEs and sample data from some Extensions
315    
316            * NEWS: Add note about the extensions in binary packages
317    
318    2003-12-02  Bernhard Herzog  <[email protected]>
319    
320            * Thuban/Model/save.py (SessionSaver.write_session): Save files
321            with the thuban-1.0rc1
322    
323            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
324            thuban-1.0rc1 namespace too
325    
326            * test/test_save.py (SaveSessionTest.dtd)
327            (SaveSessionTest.testEmptySession)
328            (SaveSessionTest.testSingleLayer)
329            (SaveSessionTest.testLayerProjection)
330            (SaveSessionTest.testRasterLayer)
331            (SaveSessionTest.testClassifiedLayer)
332            (SaveSessionTest.test_dbf_table)
333            (SaveSessionTest.test_joined_table)
334            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
335            namespace
336    
337            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
338            namespace
339            (TestSingleLayer.file_contents)
340            (TestNonAsciiColumnName.file_contents)
341            (TestLayerVisibility.file_contents)
342            (TestClassification.file_contents, TestLabels.file_contents)
343            (TestLayerProjection.file_contents)
344            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
345            (TestPostGISLayer.file_contents)
346            (TestPostGISLayerPassword.file_contents)
347            (TestLoadError.file_contents, TestLoadError.test): Update to
348            thuban-1.0rc1 namespace
349    
350    2003-12-01  Bernhard Herzog  <[email protected]>
351    
352            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
353            nt to better match Intevation's current w32 setup
354    
355            * HOWTO-Release: Add note about updating MANIFEST.in
356    
357            * MANIFEST.in: Add the Extensions
358    
359            * NEWS: Update for 1.0rc1
360    
361    2003-12-01  Bernhard Herzog  <[email protected]>
362    
363            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
364            cards for the dialog so that shapefiles ending in all uppercase
365            SHP are listed too
366    
367    2003-11-28  Bernhard Herzog  <[email protected]>
368    
369            * Thuban/version.py (longversion): Update to 1.0rc1
370    
371            * setup.py (setup call): Update version to 1.0rc1. Use the
372            [email protected] email address as author email instead of my
373            personal one.
374    
375    2003-11-28  Bernhard Herzog  <[email protected]>
376    
377            * po/de.po: Update german translation.
378    
379    2003-11-28  Bernhard Herzog  <[email protected]>
380    
381            Unify the filenames stored in .thuban files so that the .thuban
382            files are more platform independend
383    
384            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
385            that they can be used on both windows and unix
386            (SessionSaver.prepare_filename): New. Handle all filename
387            transformations for filenames stored in the thuban file
388            (SessionSaver.write_data_containers, SessionSaver.write_layer):
389            Use prepare_filename
390    
391            * test/test_save.py (SaveSessionTest.testSingleLayer)
392            (SaveSessionTest.testLayerProjection)
393            (SaveSessionTest.testRasterLayer)
394            (SaveSessionTest.testClassifiedLayer)
395            (SaveSessionTest.test_dbf_table)
396            (SaveSessionTest.test_joined_table): Filenames are always stored
397            with slashes on all currently supported platforms so adapt all
398            tests to this
399    
400            * test/test_load.py (LoadSessionTest.filenames): With the new
401            filename scheme the filenames in the tests should be
402            understandable on all currently supported platforms so we turn
403            this into an empty list because we don't have to normalize them
404            anymore
405    
406    2003-11-28  Bernhard Herzog  <[email protected]>
407    
408            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
409            Add the ellipsoid to the projection since some Proj versions
410            complain if it's missing.
411    
412    2003-11-27  Bernhard Herzog  <[email protected]>
413    
414            Corect some bounding box projection problems
415    
416            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
417            version of ForwardBBox
418            (Projection._transform_bbox): New. common implementation of
419            ForwardBBox and InverseBBox
420            (Projection.ForwardBBox): Use _transform_bbox.
421    
422            * test/test_proj.py (TestProjection.test): Add test for
423            InverseBBox
424    
425            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
426            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
427            new InverseBBox method to determine the unprojected bounding box
428            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
429            bbox.
430    
431            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
432            Removed.
433            (TestLayer.test_arc_layer_with_projection): New. This test is
434            better able to test whether bounding boxes are projected correctly
435            than test_point_layer_with_projection
436    
437            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
438            InverseBBox to unproject bboxes
439    
440    2003-11-25  Bernhard Herzog  <[email protected]>
441    
442            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
443            source code.
444    
445    2003-11-25  Bernhard Herzog  <[email protected]>
446    
447            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
448            there for backwards compatibility and all code relying on that
449            should have been updated by now.
450    
451    2003-11-25  Bernhard Herzog  <[email protected]>
452    
453            * test/test_load.py (TestClassification.test): Add the missing
454            round trip test.
455            (TestClassification.file_contents): Update to the newest file
456            format
457    
458    2003-11-25  Bernhard Herzog  <[email protected]>
459    
460            Add very experimental (and possibly dangerous) extension to draw
461            polygons:
462    
463            * Extensions/drawshape/README: New. Brief installation
464            instructions
465    
466            * Extensions/drawshape/drawshape.py: New. Implementation of the
467            drawshape extensions
468    
469            * Extensions/drawshape/patch.diff: Patch to apply before the
470            extension can be used.
471    
472    2003-11-24  Bernhard Herzog  <[email protected]>
473    
474            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
475            (ShapefileStore.__init__): Factor opening the shapefile into a
476            separate method (the new _open_shapefile). This makes the code a
477            bit more readable but the real reason is that it makes some evil
478            hacks easier. :-)
479    
480    2003-11-24  Bernhard Herzog  <[email protected]>
481    
482            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
483            converter is specified for an attribute assume it's a string
484            containing only Latin1 characters. Update doc-string accordingly.
485            This change should fix many places where unicode objects might
486            accidentally enter Thuban.
487    
488            * test/test_load.py (TestNonAsciiColumnName): New test to check
489            what happens with column names in DBF files that contain non-ascii
490            characters
491    
492    2003-11-21  Bernhard Herzog  <[email protected]>
493    
494            Enable the experimental attribute editing again and introduce a
495            command line switch to actually activate it
496    
497            * Thuban/UI/main.py (options): New. Container for options set on
498            the commmand line
499            (main): Add the --enable-attribute-editing flag.
500    
501            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
502            editing is enabled use the grid ctrl which allows editing of the
503            values
504    
505            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
506            New. Just delegate this to the underlying table.
507    
508  2003-11-20  Bernhard Herzog  <[email protected]>  2003-11-20  Bernhard Herzog  <[email protected]>
509    
510          * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):          * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):

Legend:
Removed from v.1967  
changed lines
  Added in v.2064

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26