/[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 2517 by frank, Sun Jan 9 12:32:35 2005 UTC
# Line 1  Line 1 
1    2005-01-09  Frank Koormann <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
4            BugFix 2901: Explicitly copy layers ClassificationColumn since it
5            is not part of the layers Classification.
6    
7    2005-01-03  Frank Koormann <[email protected]>
8    
9            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
10            BugFix 2883: Former implementation only worked on classified point
11            layers: KeyError was raised, now use the default size if field is None.
12    
13    2004-12-27  Bernhard Reiter <[email protected]>
14    
15            svgexport 1.0.0cvs: Fixed label export.
16    
17            * Extensions/svgexport/test/test_svgmapwriter.py:
18            class TestSVGRenderer(): New class; new test test_label_font().
19    
20            * Extensions/svgexport/svgmapwriter.py
21            (SVGRenderer.label_font()): initialised Font size with self.factor now,
22            makes test_label_font happy.
23    
24            * Extensions/svgexport/TODO: crossed out fixed label export item.
25            Added item for options.
26    
27            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
28    
29    2004-12-27  Russell Nelson  <[email protected]>
30    
31            Middle mouse button pans.
32    
33            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
34            OnMiddleDown and OnMiddleUp events.
35            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
36            previously used tool.
37            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
38            pressing the middle mouse button.
39    
40    2004-12-27  Jan-Oliver Wagner <[email protected]>
41    
42            * Doc/manual/thuban-manual-de.xml: More translations.
43    
44    2004-12-23  Jan-Oliver Wagner <[email protected]>
45    
46            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
47            \n to stderr after the warnings. Thanks to Russell Nelson.
48    
49    2004-12-20  Nina Hueffmeyer <[email protected]>
50    
51            * Extensions/ogr/ogrshapes.py: Fixed some issues from
52            Bernhard (coding guidelines etc.). Additionally it is now possible to
53            display shapefiles containing feature collections (e.g.polygons
54            with holes). Works with gdal 1.2.1 now.
55    
56            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
57            from Bernhard (coding guidelines etc.). If ogr can't be imported,
58            tests are skipped now.
59    
60            * Extensions/ogr/ogrstart.py: Fixed some typings.
61    
62    2004-12-20  Bernhard Reiter <[email protected]>
63    
64            * Extensions/svgexport/TODO: updated to add support for
65            raster layers and labels for 1.0.1.
66    
67            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
68            Issue a warning now.
69    
70    2004-12-19  Bernhard Reiter <[email protected]>
71    
72            * Extensions/svgexport/TODO: Added idea to support triggering
73            the application down the pipe.
74    
75    2004-12-19  Bernhard Reiter <[email protected]>
76    
77            svgexport: Improved code quality, mainly by better naming.
78    
79            * Extensions/svgexport/svgmapwriter.py:
80            DrawPath() renamed to DrawPolygonPath(),
81            added documentation, improved comments and variable names.
82            
83            * Extensions/svgexport/svgmapwriter.py,
84              Extensions/svgexport/test/test_svgmapwriter.py:
85            All using DrawPolygonPath() now, the default parameter closed=True
86            omitted.
87    
88            * Extensions/svgexport/test/test_svgmapwriter.py:
89            renamed test_polygon_opened() to test_polyline()
90            renamed test_transparent_polygon() to test_transparent_polyline()
91    
92    2004-12-18  Jan-Oliver Wagner <[email protected]>
93    
94            Some fixes of gns2shp extension.
95    
96            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
97            package.
98    
99            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
100            dynamically.
101    
102            * Extensions/gns2shp/test/README: Simplified description how to test.
103    
104            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
105            fixed some dimensions of fields according to the GNS documentation
106            which seems to change undocumented.
107            Now killing trailing \n and/or \r from MODIFY_DATE.
108            This fixes RT#2453.
109    
110    2004-12-18  Bernhard Reiter <[email protected]>
111    
112            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
113    
114            * Extensions/svgexport/test/test_svgmapwriter.py:
115            Added new tests: test_export_polygon_with_hole()
116            and test_polygon_with_hole().
117    
118            * Extensions/svgexport/svgmapwriter.py
119            (draw_polygon_shape()): Uses DrawPath correctly now.
120    
121            * Doc/manual/thuban-manual.xml: Added documentation for stable
122            extention svgexport.    
123            * Doc/manual/thuban-manual-de.xml: Copied English section about
124            svexport over.
125    
126            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
127    
128            * Extensions/svgexport/svgsaver.py,maplegend.py:
129            Moved from experimental to stable extension menu.
130    
131            * Extensions/svgexport/TODO: updated.
132    
133    
134    2004-12-18  Bernhard Reiter <[email protected]>
135    
136            Added Extensions/svgexport/TODO
137    
138    2004-12-18  Bernhard Reiter <[email protected]>
139    
140            Refactored in svgexport:
141            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
142    
143            * Extensions/svgexport/svgmapwriter.py
144            Added verbosity level 3 to print out polygon points.
145            (class Point): added __repr__
146            (class Brush, __str__()): Added space after ,.
147            (DrawPolygon): Renamed to DrawPath()
148            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
149            (DrawLines): Using DrawPath now.
150    
151            * Extensions/svgexport/test/test_svgmapwriter.py:
152            Replaced DrawPolygon() calls with DrawPath() and put the first argument
153            inside another list. Adapted test data with a newline before "M".
154    
155    2004-12-18  Bernhard Reiter <[email protected]>
156            
157            Refactored svgexport tests: 9 double tests runs eliminated;
158            code size reduced by 8 lines.
159    
160            * Extensions/svgexport/test/test_svgmapwriter.py:
161            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
162            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
163            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
164            this fixed the double running of the nine tests of TestVirtualDC.
165            (class TestVirtualDC): Using self.dc and self.file from setUp().
166    
167    2004-12-17  Bernhard Herzog  <[email protected]>
168    
169            Two windows specific fixes ported from thuban-1�0-branch:
170    
171            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
172            instead of getlocale because getlocale doesn't return a usable
173            encoding name on a german windows 2000
174    
175            * setup.py: windows build: Removed the absolute path names and
176            made all prfixes relative to the directory containing setup.py.
177            Makes it a little easier to adapt to a different system.
178    
179    2004-12-16  Bernhard Herzog  <[email protected]>
180    
181            Add support for PostGIS tables with LINESTRING geometries.
182            Fixes RT#2299
183    
184            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
185    
186            * test/postgissupport.py
187            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
188            table to "roads-multi" because it now uses MULTILINESTRING
189            geometries and introduce a new "roads" table that uses LINESTRING
190            (coords_to_multilinestring): Make the doc string more precise
191            (coords_to_linestring): New.  Create a LINESTRING WKT
192            representatin
193            (wkt_converter): Add coords_to_linestring
194            (upload_shapefile): Rephrase the doc-string a bit.
195    
196            * test/test_postgis_db.py (TestPostGISShapestoreArc)
197            (LineStringTests)
198            (TestPostGISShapestoreLineString)
199            (TestPostGISShapestoreMultiLineString): Split
200            TestPostGISShapestoreArc into a base class LineStringTests and two
201            derived classes TestPostGISShapestoreLineString for LINESTRING
202            geometries and TestPostGISShapestoreMultiLineString for
203            MULTILINESTRING geometries.  Most test methods are in the base
204            class with the exception of tests that explicitly check the raw
205            format.
206    
207    2004-12-16  Bernhard Herzog  <[email protected]>
208    
209            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
210    
211            * test/postgissupport.py (find_postgis_sql): Different postgis
212            versions put the postgis.sql file into slightly different places
213            so we have to look in both.  The updated doc string describes this
214            is more detail.
215    
216            * test/test_postgis_db.py
217            (TestPostGISSpecialCases.test_column_name_quoting): The return
218            value of UniqueValues is unsorted, so it has to be sorted for
219            comparison.
220    
221    2004-12-16  Bernhard Herzog  <[email protected]>
222    
223            Fix for RT#2237
224    
225            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
226            panel to be shown is the UnknownProjPanel disable the OK and Try
227            buttons.  Otherwise enable them.
228            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
229            the parameters.  In that case __GetProjection also returns None
230            now.
231    
232    2004-12-15  Bernhard Herzog  <[email protected]>
233    
234            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
235            minimum number of classes to 2.  The calculate_quantiles needs at
236            least two and raises an exception otherwise.  
237            Fixes RT#2549
238    
239  2004-12-15  Bernhard Herzog  <[email protected]>  2004-12-15  Bernhard Herzog  <[email protected]>
240    
241          * 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.2517

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26