/[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 2462 by bh, Wed Dec 15 16:42:56 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]>  2004-12-15  Bernhard Herzog  <[email protected]>
185    
186          * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the          * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26