1 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
4 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
5 |
|
classes because in Python 2.2 they're still old-style classes. |
6 |
|
|
7 |
|
2004-12-13 Frank Koormann <[email protected]> |
8 |
|
|
9 |
|
Alternative Path feature: When loading a (moved) session where |
10 |
|
shapefiles cannot be found, ask the user. Use the specified path |
11 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
12 |
|
in such cases. |
13 |
|
|
14 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
15 |
|
in load_session() |
16 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
17 |
|
|
18 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
19 |
|
Added "alt_path" to self.path |
20 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
21 |
|
callback similar to db_connection_callback. |
22 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
23 |
|
shapefile_callback. In addition to raising the dialog the control of |
24 |
|
self.path('alt_path') is implemented here. |
25 |
|
|
26 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
27 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
28 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
29 |
|
formerly used in start_fileshapesource()/start_layer(). |
30 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
31 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
32 |
|
(load_session): Added shapefile_callback. |
33 |
|
|
34 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
35 |
|
feature (search / check). |
36 |
|
|
37 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
38 |
|
|
39 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
40 |
|
|
41 |
|
svgexport 0.9.2: Point size supports for maps. |
42 |
|
|
43 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
44 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
45 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
46 |
|
Added draw_func call with size when dealing with a point layer. |
47 |
|
|
48 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
49 |
|
|
50 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
51 |
|
|
52 |
|
Made sure that newlines are inserted in the svg path d attributes |
53 |
|
to raise the chance that the line length will be below 255 characters, |
54 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
55 |
|
|
56 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
57 |
|
Adding \n before L's and changed whitespace handling. |
58 |
|
|
59 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
60 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
61 |
|
|
62 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
63 |
|
|
64 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
65 |
|
|
66 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
67 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
68 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
69 |
|
All only to test DrawSpline. |
70 |
|
|
71 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
72 |
|
New implementation now really using the strange algorithm of |
73 |
|
xfig 3.1's approximated splines and its conversion to postscript |
74 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
75 |
|
to cubic beziers. |
76 |
|
(TestWithDC): Typo in comment fixed. |
77 |
|
|
78 |
|
2004-12-09 Martin Schulze <[email protected]> |
79 |
|
|
80 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
81 |
|
|
82 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
83 |
|
|
84 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
85 |
|
support for get_srs_discrepancies() since there are no |
86 |
|
discrepancies anymore (was a thinko) |
87 |
|
|
88 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
89 |
|
format priority now that more formats are supported globally by |
90 |
|
the render engine. |
91 |
|
|
92 |
|
2004-12-08 Silke Reimer <[email protected]> |
93 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
94 |
|
because it is not available in all versions of ogr |
95 |
|
|
96 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
97 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
98 |
|
global tests until a real one is commited. |
99 |
|
|
100 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
101 |
|
|
102 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
103 |
|
ogr. It is planned to add other vector formats. |
104 |
|
|
105 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
106 |
|
|
107 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
108 |
|
|
109 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
110 |
|
part of a (non-)fix to renable that the tests are always |
111 |
|
executed. |
112 |
|
|
113 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
114 |
|
|
115 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
116 |
|
Added test_drawbezier() to test DrawSpline(). |
117 |
|
|
118 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
119 |
|
Really implemented bezier drawing. |
120 |
|
|
121 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
122 |
|
to 0.9.1 because now the legend examples lines styles |
123 |
|
will be drawing with beziers. |
124 |
|
|
125 |
|
2004-12-05 Martin Schulze <[email protected]> |
126 |
|
|
127 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
128 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
129 |
|
|
130 |
|
2004-11-30 Martin Schulze <[email protected]> |
131 |
|
|
132 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
133 |
|
Improved the test for the internal compare method |
134 |
|
|
135 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
136 |
|
|
137 |
|
* Thuban/UI/about.py (About.__init__): Added |
138 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
139 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
140 |
|
to Developer. |
141 |
|
|
142 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
143 |
|
|
144 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
145 |
|
Removed Jan from author list as he did not change enough significant |
146 |
|
lines yet. |
147 |
|
|
148 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
149 |
|
of the Extension. |
150 |
|
|
151 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
152 |
|
|
153 |
|
* po/hu.po: New. Hungarian translation. Contributed |
154 |
|
by Norbert Solymosi. |
155 |
|
|
156 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
157 |
|
|
158 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
159 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
160 |
|
debug prints |
161 |
|
|
162 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
163 |
|
|
164 |
|
Fix broken tests for svg extension and added svg legend |
165 |
|
to Experimental menu. |
166 |
|
|
167 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
168 |
|
the test run correctly even if the extension is a package. |
169 |
|
Also removed the "import Thuban" which makes no sense. |
170 |
|
|
171 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
172 |
|
test module also be executed from the global test routine. |
173 |
|
This is done by looking for the absense of the DISPLAY variable. |
174 |
|
|
175 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
176 |
|
to Experimental menu since this module has yet not reached a stable |
177 |
|
status (ie. 1.0). |
178 |
|
|
179 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
180 |
|
|
181 |
|
* Extensions/svgexport/svgmapwriter.py: |
182 |
|
Added verbose variable and some logging depending on it. |
183 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
184 |
|
because counting i is not necessary. |
185 |
|
(class Pen, class Brush): Added simple __str__ methods. |
186 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
187 |
|
not exported to svg file) Note: holes still unhandled. |
188 |
|
|
189 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
190 |
|
Made a baseclass TestWithDC for test needed a DC. |
191 |
|
Added tests for bug #2698 (transparent polygons are not |
192 |
|
exported to svg file): |
193 |
|
Testobjectexport.test_transparent_polygon() |
194 |
|
|
195 |
|
* Thuban/Model/base.py (UnsetModified): |
196 |
|
Fixed some typos in docstring. |
197 |
|
|
198 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
199 |
|
Added hints on the used algorithm for handling holes. |
200 |
|
|
201 |
2004-11-20 Jan-Oliver Wagner <[email protected]> |
2004-11-20 Jan-Oliver Wagner <[email protected]> |
202 |
|
|
203 |
Some face lifting for the examples. |
Some face lifting for the examples. |