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

Legend:
Removed from v.2434  
changed lines
  Added in v.2522

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26