/[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 2460 by bh, Wed Dec 15 14:01:04 2004 UTC revision 2490 by bernhard, Mon Dec 20 10:08:58 2004 UTC
# Line 1  Line 1 
1    2004-12-20  Bernhard Reiter <[email protected]>
2    
3            * Extensions/svgexport/TODO: updated to add support for
4            raster layers and labels for 1.0.1.
5    
6            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
7            Issue a warning now.
8    
9    2004-12-19  Bernhard Reiter <[email protected]>
10    
11            * Extensions/svgexport/TODO: Added idea to support triggering
12            the application down the pipe.
13    
14    2004-12-19  Bernhard Reiter <[email protected]>
15    
16            svgexport: Improved code quality, mainly by better naming.
17    
18            * Extensions/svgexport/svgmapwriter.py:
19            DrawPath() renamed to DrawPolygonPath(),
20            added documentation, improved comments and variable names.
21            
22            * Extensions/svgexport/svgmapwriter.py,
23              Extensions/svgexport/test/test_svgmapwriter.py:
24            All using DrawPolygonPath() now, the default parameter closed=True
25            omitted.
26    
27            * Extensions/svgexport/test/test_svgmapwriter.py:
28            renamed test_polygon_opened() to test_polyline()
29            renamed test_transparent_polygon() to test_transparent_polyline()
30    
31    2004-12-18  Jan-Oliver Wagner <[email protected]>
32    
33            Some fixes of gns2shp extension.
34    
35            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
36            package.
37    
38            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
39            dynamically.
40    
41            * Extensions/gns2shp/test/README: Simplified description how to test.
42    
43            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
44            fixed some dimensions of fields according to the GNS documentation
45            which seems to change undocumented.
46            Now killing trailing \n and/or \r from MODIFY_DATE.
47            This fixes RT#2453.
48    
49    2004-12-18  Bernhard Reiter <[email protected]>
50    
51            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
52    
53            * Extensions/svgexport/test/test_svgmapwriter.py:
54            Added new tests: test_export_polygon_with_hole()
55            and test_polygon_with_hole().
56    
57            * Extensions/svgexport/svgmapwriter.py
58            (draw_polygon_shape()): Uses DrawPath correctly now.
59    
60            * Doc/manual/thuban-manual.xml: Added documentation for stable
61            extention svgexport.    
62            * Doc/manual/thuban-manual-de.xml: Copied English section about
63            svexport over.
64    
65            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
66    
67            * Extensions/svgexport/svgsaver.py,maplegend.py:
68            Moved from experimental to stable extension menu.
69    
70            * Extensions/svgexport/TODO: updated.
71    
72    
73    2004-12-18  Bernhard Reiter <[email protected]>
74    
75            Added Extensions/svgexport/TODO
76    
77    2004-12-18  Bernhard Reiter <[email protected]>
78    
79            Refactored in svgexport:
80            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
81    
82            * Extensions/svgexport/svgmapwriter.py
83            Added verbosity level 3 to print out polygon points.
84            (class Point): added __repr__
85            (class Brush, __str__()): Added space after ,.
86            (DrawPolygon): Renamed to DrawPath()
87            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
88            (DrawLines): Using DrawPath now.
89    
90            * Extensions/svgexport/test/test_svgmapwriter.py:
91            Replaced DrawPolygon() calls with DrawPath() and put the first argument
92            inside another list. Adapted test data with a newline before "M".
93    
94    2004-12-18  Bernhard Reiter <[email protected]>
95            
96            Refactored svgexport tests: 9 double tests runs eliminated;
97            code size reduced by 8 lines.
98    
99            * Extensions/svgexport/test/test_svgmapwriter.py:
100            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
101            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
102            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
103            this fixed the double running of the nine tests of TestVirtualDC.
104            (class TestVirtualDC): Using self.dc and self.file from setUp().
105    
106    2004-12-17  Bernhard Herzog  <[email protected]>
107    
108            Two windows specific fixes ported from thuban-1�0-branch:
109    
110            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
111            instead of getlocale because getlocale doesn't return a usable
112            encoding name on a german windows 2000
113    
114            * setup.py: windows build: Removed the absolute path names and
115            made all prfixes relative to the directory containing setup.py.
116            Makes it a little easier to adapt to a different system.
117    
118    2004-12-16  Bernhard Herzog  <[email protected]>
119    
120            Add support for PostGIS tables with LINESTRING geometries.
121            Fixes RT#2299
122    
123            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
124    
125            * test/postgissupport.py
126            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
127            table to "roads-multi" because it now uses MULTILINESTRING
128            geometries and introduce a new "roads" table that uses LINESTRING
129            (coords_to_multilinestring): Make the doc string more precise
130            (coords_to_linestring): New.  Create a LINESTRING WKT
131            representatin
132            (wkt_converter): Add coords_to_linestring
133            (upload_shapefile): Rephrase the doc-string a bit.
134    
135            * test/test_postgis_db.py (TestPostGISShapestoreArc)
136            (LineStringTests)
137            (TestPostGISShapestoreLineString)
138            (TestPostGISShapestoreMultiLineString): Split
139            TestPostGISShapestoreArc into a base class LineStringTests and two
140            derived classes TestPostGISShapestoreLineString for LINESTRING
141            geometries and TestPostGISShapestoreMultiLineString for
142            MULTILINESTRING geometries.  Most test methods are in the base
143            class with the exception of tests that explicitly check the raw
144            format.
145    
146    2004-12-16  Bernhard Herzog  <[email protected]>
147    
148            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
149    
150            * test/postgissupport.py (find_postgis_sql): Different postgis
151            versions put the postgis.sql file into slightly different places
152            so we have to look in both.  The updated doc string describes this
153            is more detail.
154    
155            * test/test_postgis_db.py
156            (TestPostGISSpecialCases.test_column_name_quoting): The return
157            value of UniqueValues is unsorted, so it has to be sorted for
158            comparison.
159    
160    2004-12-16  Bernhard Herzog  <[email protected]>
161    
162            Fix for RT#2237
163    
164            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
165            panel to be shown is the UnknownProjPanel disable the OK and Try
166            buttons.  Otherwise enable them.
167            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
168            the parameters.  In that case __GetProjection also returns None
169            now.
170    
171    2004-12-15  Bernhard Herzog  <[email protected]>
172    
173            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
174            minimum number of classes to 2.  The calculate_quantiles needs at
175            least two and raises an exception otherwise.  
176            Fixes RT#2549
177    
178  2004-12-15  Bernhard Herzog  <[email protected]>  2004-12-15  Bernhard Herzog  <[email protected]>
179    
180          * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to          * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to

Legend:
Removed from v.2460  
changed lines
  Added in v.2490

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26