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