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

Legend:
Removed from v.2414  
changed lines
  Added in v.2493

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26