/[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 2412 by jan, Sat Nov 20 21:58:58 2004 UTC revision 2528 by bernhard, Thu Jan 20 13:14:14 2005 UTC
# Line 1  Line 1 
1    2005-01-20  Bernhard Reiter <[email protected]>
2    
3            * Thuban/UI/about.py (unicodeToLocale()): Improved:
4            Use 'ascii' and then 'replace' for other characters
5            when getdefaultlocale returns None. Thanks to Bernhard H. .
6            
7    2005-01-20  Bernhard Reiter <[email protected]>
8    
9            * Thuban/UI/classgen.py (OnRetrieve()): Added a comment
10            that OnRangeText might be called twice and using None as argument.
11            
12    2005-01-20  Bernhard Reiter <[email protected]>
13    
14            * Thuban/UI/classgen.py (OnRetrieve()): Add a OnRangeText(0)
15            to work around a different in wx Behaviour noticed on MacOSX,
16            thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
17            
18    2005-01-20  Bernhard Reiter <[email protected]>
19    
20            * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
21            None. (Fixes rt#2910.)
22            
23    2005-01-18  Frank Koormann <[email protected]>
24    
25            New Extension: mouseposition
26            Tool to collect mouse click positions (map coordinates) in a dialog.
27    
28            * Extensions/mouseposition/__init__.py: New, extension registration
29    
30            * Extensions/mouseposition/mouseposition.py: New, implements the
31            dialog and adds a tool to Thuban mainwindow.
32    
33            * Extensions/mouseposition/position.xpm: New, icon for tool.
34    
35    2005-01-14  Jan-Oliver Wagner <[email protected]>
36    
37            * Doc/manual/thuban-manual-de.xml: More translations.
38    
39    2005-01-11  Frank Koormann <[email protected]>
40    
41            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
42            Fix indention bug.
43    
44    2005-01-09  Frank Koormann <[email protected]>
45    
46            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
47            BugFix 2901: Explicitly copy layers ClassificationColumn since it
48            is not part of the layers Classification.
49    
50    2005-01-03  Frank Koormann <[email protected]>
51    
52            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
53            BugFix 2883: Former implementation only worked on classified point
54            layers: KeyError was raised, now use the default size if field is None.
55    
56    2004-12-27  Bernhard Reiter <[email protected]>
57    
58            svgexport 1.0.0cvs: Fixed label export.
59    
60            * Extensions/svgexport/test/test_svgmapwriter.py:
61            class TestSVGRenderer(): New class; new test test_label_font().
62    
63            * Extensions/svgexport/svgmapwriter.py
64            (SVGRenderer.label_font()): initialised Font size with self.factor now,
65            makes test_label_font happy.
66    
67            * Extensions/svgexport/TODO: crossed out fixed label export item.
68            Added item for options.
69    
70            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
71    
72    2004-12-27  Russell Nelson  <[email protected]>
73    
74            Middle mouse button pans.
75    
76            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
77            OnMiddleDown and OnMiddleUp events.
78            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
79            previously used tool.
80            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
81            pressing the middle mouse button.
82    
83    2004-12-27  Jan-Oliver Wagner <[email protected]>
84    
85            * Doc/manual/thuban-manual-de.xml: More translations.
86    
87    2004-12-23  Jan-Oliver Wagner <[email protected]>
88    
89            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
90            \n to stderr after the warnings. Thanks to Russell Nelson.
91    
92    2004-12-20  Nina Hueffmeyer <[email protected]>
93    
94            * Extensions/ogr/ogrshapes.py: Fixed some issues from
95            Bernhard (coding guidelines etc.). Additionally it is now possible to
96            display shapefiles containing feature collections (e.g.polygons
97            with holes). Works with gdal 1.2.1 now.
98    
99            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
100            from Bernhard (coding guidelines etc.). If ogr can't be imported,
101            tests are skipped now.
102    
103            * Extensions/ogr/ogrstart.py: Fixed some typings.
104    
105    2004-12-20  Bernhard Reiter <[email protected]>
106    
107            * Extensions/svgexport/TODO: updated to add support for
108            raster layers and labels for 1.0.1.
109    
110            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
111            Issue a warning now.
112    
113    2004-12-19  Bernhard Reiter <[email protected]>
114    
115            * Extensions/svgexport/TODO: Added idea to support triggering
116            the application down the pipe.
117    
118    2004-12-19  Bernhard Reiter <[email protected]>
119    
120            svgexport: Improved code quality, mainly by better naming.
121    
122            * Extensions/svgexport/svgmapwriter.py:
123            DrawPath() renamed to DrawPolygonPath(),
124            added documentation, improved comments and variable names.
125            
126            * Extensions/svgexport/svgmapwriter.py,
127              Extensions/svgexport/test/test_svgmapwriter.py:
128            All using DrawPolygonPath() now, the default parameter closed=True
129            omitted.
130    
131            * Extensions/svgexport/test/test_svgmapwriter.py:
132            renamed test_polygon_opened() to test_polyline()
133            renamed test_transparent_polygon() to test_transparent_polyline()
134    
135    2004-12-18  Jan-Oliver Wagner <[email protected]>
136    
137            Some fixes of gns2shp extension.
138    
139            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
140            package.
141    
142            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
143            dynamically.
144    
145            * Extensions/gns2shp/test/README: Simplified description how to test.
146    
147            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
148            fixed some dimensions of fields according to the GNS documentation
149            which seems to change undocumented.
150            Now killing trailing \n and/or \r from MODIFY_DATE.
151            This fixes RT#2453.
152    
153    2004-12-18  Bernhard Reiter <[email protected]>
154    
155            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
156    
157            * Extensions/svgexport/test/test_svgmapwriter.py:
158            Added new tests: test_export_polygon_with_hole()
159            and test_polygon_with_hole().
160    
161            * Extensions/svgexport/svgmapwriter.py
162            (draw_polygon_shape()): Uses DrawPath correctly now.
163    
164            * Doc/manual/thuban-manual.xml: Added documentation for stable
165            extention svgexport.    
166            * Doc/manual/thuban-manual-de.xml: Copied English section about
167            svexport over.
168    
169            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
170    
171            * Extensions/svgexport/svgsaver.py,maplegend.py:
172            Moved from experimental to stable extension menu.
173    
174            * Extensions/svgexport/TODO: updated.
175    
176    
177    2004-12-18  Bernhard Reiter <[email protected]>
178    
179            Added Extensions/svgexport/TODO
180    
181    2004-12-18  Bernhard Reiter <[email protected]>
182    
183            Refactored in svgexport:
184            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
185    
186            * Extensions/svgexport/svgmapwriter.py
187            Added verbosity level 3 to print out polygon points.
188            (class Point): added __repr__
189            (class Brush, __str__()): Added space after ,.
190            (DrawPolygon): Renamed to DrawPath()
191            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
192            (DrawLines): Using DrawPath now.
193    
194            * Extensions/svgexport/test/test_svgmapwriter.py:
195            Replaced DrawPolygon() calls with DrawPath() and put the first argument
196            inside another list. Adapted test data with a newline before "M".
197    
198    2004-12-18  Bernhard Reiter <[email protected]>
199            
200            Refactored svgexport tests: 9 double tests runs eliminated;
201            code size reduced by 8 lines.
202    
203            * Extensions/svgexport/test/test_svgmapwriter.py:
204            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
205            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
206            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
207            this fixed the double running of the nine tests of TestVirtualDC.
208            (class TestVirtualDC): Using self.dc and self.file from setUp().
209    
210    2004-12-17  Bernhard Herzog  <[email protected]>
211    
212            Two windows specific fixes ported from thuban-1�0-branch:
213    
214            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
215            instead of getlocale because getlocale doesn't return a usable
216            encoding name on a german windows 2000
217    
218            * setup.py: windows build: Removed the absolute path names and
219            made all prfixes relative to the directory containing setup.py.
220            Makes it a little easier to adapt to a different system.
221    
222    2004-12-16  Bernhard Herzog  <[email protected]>
223    
224            Add support for PostGIS tables with LINESTRING geometries.
225            Fixes RT#2299
226    
227            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
228    
229            * test/postgissupport.py
230            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
231            table to "roads-multi" because it now uses MULTILINESTRING
232            geometries and introduce a new "roads" table that uses LINESTRING
233            (coords_to_multilinestring): Make the doc string more precise
234            (coords_to_linestring): New.  Create a LINESTRING WKT
235            representatin
236            (wkt_converter): Add coords_to_linestring
237            (upload_shapefile): Rephrase the doc-string a bit.
238    
239            * test/test_postgis_db.py (TestPostGISShapestoreArc)
240            (LineStringTests)
241            (TestPostGISShapestoreLineString)
242            (TestPostGISShapestoreMultiLineString): Split
243            TestPostGISShapestoreArc into a base class LineStringTests and two
244            derived classes TestPostGISShapestoreLineString for LINESTRING
245            geometries and TestPostGISShapestoreMultiLineString for
246            MULTILINESTRING geometries.  Most test methods are in the base
247            class with the exception of tests that explicitly check the raw
248            format.
249    
250    2004-12-16  Bernhard Herzog  <[email protected]>
251    
252            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
253    
254            * test/postgissupport.py (find_postgis_sql): Different postgis
255            versions put the postgis.sql file into slightly different places
256            so we have to look in both.  The updated doc string describes this
257            is more detail.
258    
259            * test/test_postgis_db.py
260            (TestPostGISSpecialCases.test_column_name_quoting): The return
261            value of UniqueValues is unsorted, so it has to be sorted for
262            comparison.
263    
264    2004-12-16  Bernhard Herzog  <[email protected]>
265    
266            Fix for RT#2237
267    
268            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
269            panel to be shown is the UnknownProjPanel disable the OK and Try
270            buttons.  Otherwise enable them.
271            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
272            the parameters.  In that case __GetProjection also returns None
273            now.
274    
275    2004-12-15  Bernhard Herzog  <[email protected]>
276    
277            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
278            minimum number of classes to 2.  The calculate_quantiles needs at
279            least two and raises an exception otherwise.  
280            Fixes RT#2549
281    
282    2004-12-15  Bernhard Herzog  <[email protected]>
283    
284            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
285            so that it returns a result for select statements.
286            (PostgreSQLServer.server_version): New.  Return the version of the
287            server software.
288            (PostgreSQLServer.require_authentication): The format of
289            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
290            server version and generate the file in the correct format
291    
292    2004-12-15  Bernhard Herzog  <[email protected]>
293    
294            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
295            in the doc string and rephrase it a little.
296    
297    2004-12-15  Frank Koormann <[email protected]>
298    
299            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
300            session has been loaded successfully. The check is called by the relevant
301            tests after executing load_session().
302    
303    2004-12-13  Bernhard Herzog  <[email protected]>
304    
305            Make sure the region used to determine which shapes are visible
306            actually matches the region on the printed page.  If this isn't
307            done properly some shapes might not be printed.  
308            Fixes RT #2692
309    
310            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
311            renderer has to be at the same position as the mapregion
312    
313            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
314            has to be moved by (self.shiftx, self.shifty) too.
315    
316    2004-12-13  Bernhard Herzog  <[email protected]>
317    
318            * libraries/pyprojection/Projection.i: Work around a bug in the
319            generated python code which leads to exception in the __del__
320            method when the constructor fails.  See the comments in the code
321            for more details.
322    
323            * libraries/pyprojection/Projection.py: Updated from Projection.i
324            with SWIG.
325    
326    2004-12-13  Bernhard Herzog  <[email protected]>
327    
328            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
329            (TestAltPath.test_02_path_error_fix_from_list)
330            (TestAltPath.test_05_path_error_fix_from_list_changed)
331            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
332            is destroyed in tearDown, so there's no need to do it in a test
333            case.
334    
335            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
336            debug print
337    
338    2004-12-13  Bernhard Herzog  <[email protected]>
339    
340            * Extensions/svgexport/test/test_svgmapwriter.py
341            (TestDrawSplines.setUp): Do not use super with the unittest
342            classes because in Python 2.2 they're still old-style classes.
343    
344    2004-12-13  Frank Koormann <[email protected]>
345    
346        Alternative Path feature: When loading a (moved) session where
347            shapefiles cannot be found, ask the user. Use the specified path
348            if further shapefiles are missing. However, ask the usr for confirmation
349            in such cases.
350    
351            * test/test_load.py (TestAltPath): New, tests for alternative path feature
352            in load_session()
353            (Shapefile_CallBack): Helper, implements controllable callback.
354    
355            * Thuban/UI/application.py (ThubanApplication.OnInit):
356            Added "alt_path" to self.path
357            (ThubanApplication.OpenSession): Added shapefile_callback as second
358            callback similar to db_connection_callback.
359            (ThubanApplication.run_alt_path_dialog): New, implementaion of
360            shapefile_callback. In addition to raising the dialog the control of
361            self.path('alt_path') is implemented here.
362    
363            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
364            (SessionLoader.open_shapefile): Open shapefile, eventually with
365            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
366            formerly used in start_fileshapesource()/start_layer().
367            (SessionLoader.start_fileshapesource): Call open_shapefile().
368            (SessionLoader.start_layer): Call open_shapefile().
369            (load_session): Added shapefile_callback.
370    
371            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
372            feature (search / check).
373            
374            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
375    
376    2004-12-11  Bernhard Reiter <[email protected]>
377    
378             svgexport 0.9.2: Point size supports for maps.
379    
380            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
381            (def draw_point_shape): new parameter size defaults to 2 as before.
382            (draw_shape_layer_incrementally): Moved draw_func log line higher.
383            Added draw_func call with size when dealing with a point layer.
384    
385            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
386            
387    2004-12-11  Bernhard Reiter <[email protected]>
388    
389            Made sure that newlines are inserted in the svg path d attributes
390            to raise the chance that the line length will be below 255 characters,
391            as recommended by REC SVG 1.1 in section 8.3.1.
392    
393            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
394            Adding \n before L's and changed whitespace handling.
395    
396            * Extensions/svgexport/test/test_svgmapwriter.py:
397            Adapted tests to new whitespace handling of DrawPolygon.
398    
399    2004-12-11  Bernhard Reiter <[email protected]>
400    
401            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
402    
403            * Extensions/svgexport/test/test_svgmapwriter.py:
404            Removed test_drawbezier in favour of new test_drawspline3 and
405            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
406            All only to test DrawSpline.
407    
408            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
409            New implementation now really using the strange algorithm of
410            xfig 3.1's approximated splines and its conversion to postscript
411            with one twist: SVG can do quadratic beziers, so skipped translation
412            to cubic beziers.
413            (TestWithDC): Typo in comment fixed.
414    
415    2004-12-09  Martin Schulze  <[email protected]>
416    
417            * Thuban/Model/classgen.py: Added missing character encoding
418    
419            * Extensions/wms/properties.py (OpenWMSProperties): removed
420    
421            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
422            support for get_srs_discrepancies() since there are no
423            discrepancies anymore (was a thinko)
424    
425            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
426            format priority now that more formats are supported globally by
427            the render engine.
428    
429    2004-12-08  Silke Reimer <[email protected]>
430            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
431            because it is not available in all versions of ogr
432    
433    2004-12-08  Bernhard Reiter <[email protected]>
434            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
435            global tests until a real one is commited.
436    
437    2004-12-07 Nina H�ffmeyer <[email protected]>
438    
439            * /Extensions/ogr/: Adding a new extension to read shapefiles with
440            ogr. It is planned to add other vector formats.
441    
442            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
443    
444    2004-12-07  Jan-Oliver Wagner <[email protected]>
445    
446            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
447            part of a (non-)fix to renable that the tests are always
448            executed.
449    
450    2004-12-07  Bernhard Reiter <[email protected]>
451    
452            * Extensions/svgexport/test/test_svgmapwriter.py:
453            Added test_drawbezier() to test DrawSpline().
454    
455            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
456            Really implemented bezier drawing.
457    
458            * Extensions/svgexport/__init__.py: Bumped version of svgexport
459            to 0.9.1 because now the legend examples lines styles
460            will be drawing with beziers.
461    
462    2004-12-05  Martin Schulze  <[email protected]>
463    
464            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
465            GIF as supported bitmap image formats (helpful for the WMS extension)
466    
467    2004-11-30  Martin Schulze  <[email protected]>
468    
469            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
470            Improved the test for the internal compare method
471    
472    2004-11-27  Jan-Oliver Wagner <[email protected]>
473    
474            * Thuban/UI/about.py (About.__init__): Added
475            Norbert Solymosi for hungarian translation and Ole Rahn
476            as contrbutor. Moved Bernhard Reiter from Contributor
477            to Developer.
478    
479    2004-11-27  Bernhard Reiter <[email protected]>
480    
481            * Extensions/svgexport/test/test_svgmapwriter.py:
482            Removed Jan from author list as he did not change enough significant
483            lines yet.
484    
485            * Extensions/svgexport/__init__.py: Added Bernhard as author
486            of the Extension.
487    
488    2004-11-27  Jan-Oliver Wagner <[email protected]>
489    
490            * po/hu.po: New. Hungarian translation. Contributed
491            by Norbert Solymosi.
492    
493    2004-11-26  Bernhard Herzog  <[email protected]>
494    
495            * Extensions/svgexport/test/test_svgmapwriter.py
496            (Testobjectexport.test_transparent_polygon): Commented out some
497            debug prints
498    
499    2004-11-24  Jan-Oliver Wagner <[email protected]>
500    
501            Fix broken tests for svg extension and added svg legend
502            to Experimental menu.
503    
504            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
505            the test run correctly even if the extension is a package.
506            Also removed the "import Thuban" which makes no sense.
507    
508            * Extensions/svgexport/__init__.py: Fix to have the extensions'
509            test module also be executed from the global test routine.
510            This is done by looking for the absense of the DISPLAY variable.
511    
512            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
513            to Experimental menu since this module has yet not reached a stable
514            status (ie. 1.0).
515    
516    2004-11-22  Bernhard Reiter <[email protected]>
517    
518            * Extensions/svgexport/svgmapwriter.py:
519            Added verbose variable and some logging depending on it.
520            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
521            because counting i is not necessary.
522            (class Pen, class Brush): Added simple __str__ methods.
523            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
524            not exported to svg file) Note: holes still unhandled.
525    
526            * Extensions/svgexport/test/test_svgmapwriter.py:
527                    Made a baseclass TestWithDC for test needed a DC.
528                    Added tests for bug #2698 (transparent polygons are not
529                    exported to svg file):
530                    Testobjectexport.test_transparent_polygon()
531    
532            * Thuban/Model/base.py (UnsetModified):
533            Fixed some typos in docstring.
534    
535            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
536            Added hints on the used algorithm for handling holes.
537    
538  2004-11-20  Jan-Oliver Wagner <[email protected]>  2004-11-20  Jan-Oliver Wagner <[email protected]>
539    
540          Some face lifting for the examples.          Some face lifting for the examples.

Legend:
Removed from v.2412  
changed lines
  Added in v.2528

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26