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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26