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