1 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
4 |
|
generated python code which leads to exception in the __del__ |
5 |
|
method when the constructor fails. See the comments in the code |
6 |
|
for more details. |
7 |
|
|
8 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
9 |
|
with SWIG. |
10 |
|
|
11 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
12 |
|
|
13 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
14 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
15 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
16 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
17 |
|
is destroyed in tearDown, so there's no need to do it in a test |
18 |
|
case. |
19 |
|
|
20 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
21 |
|
debug print |
22 |
|
|
23 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
26 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
27 |
|
classes because in Python 2.2 they're still old-style classes. |
28 |
|
|
29 |
|
2004-12-13 Frank Koormann <[email protected]> |
30 |
|
|
31 |
|
Alternative Path feature: When loading a (moved) session where |
32 |
|
shapefiles cannot be found, ask the user. Use the specified path |
33 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
34 |
|
in such cases. |
35 |
|
|
36 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
37 |
|
in load_session() |
38 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
39 |
|
|
40 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
41 |
|
Added "alt_path" to self.path |
42 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
43 |
|
callback similar to db_connection_callback. |
44 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
45 |
|
shapefile_callback. In addition to raising the dialog the control of |
46 |
|
self.path('alt_path') is implemented here. |
47 |
|
|
48 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
49 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
50 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
51 |
|
formerly used in start_fileshapesource()/start_layer(). |
52 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
53 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
54 |
|
(load_session): Added shapefile_callback. |
55 |
|
|
56 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
57 |
|
feature (search / check). |
58 |
|
|
59 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
60 |
|
|
61 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
62 |
|
|
63 |
|
svgexport 0.9.2: Point size supports for maps. |
64 |
|
|
65 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
66 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
67 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
68 |
|
Added draw_func call with size when dealing with a point layer. |
69 |
|
|
70 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
71 |
|
|
72 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
73 |
|
|
74 |
|
Made sure that newlines are inserted in the svg path d attributes |
75 |
|
to raise the chance that the line length will be below 255 characters, |
76 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
77 |
|
|
78 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
79 |
|
Adding \n before L's and changed whitespace handling. |
80 |
|
|
81 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
82 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
83 |
|
|
84 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
85 |
|
|
86 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
87 |
|
|
88 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
89 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
90 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
91 |
|
All only to test DrawSpline. |
92 |
|
|
93 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
94 |
|
New implementation now really using the strange algorithm of |
95 |
|
xfig 3.1's approximated splines and its conversion to postscript |
96 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
97 |
|
to cubic beziers. |
98 |
|
(TestWithDC): Typo in comment fixed. |
99 |
|
|
100 |
|
2004-12-09 Martin Schulze <[email protected]> |
101 |
|
|
102 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
103 |
|
|
104 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
105 |
|
|
106 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
107 |
|
support for get_srs_discrepancies() since there are no |
108 |
|
discrepancies anymore (was a thinko) |
109 |
|
|
110 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
111 |
|
format priority now that more formats are supported globally by |
112 |
|
the render engine. |
113 |
|
|
114 |
|
2004-12-08 Silke Reimer <[email protected]> |
115 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
116 |
|
because it is not available in all versions of ogr |
117 |
|
|
118 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
119 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
120 |
|
global tests until a real one is commited. |
121 |
|
|
122 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
123 |
|
|
124 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
125 |
|
ogr. It is planned to add other vector formats. |
126 |
|
|
127 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
128 |
|
|
129 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
130 |
|
|
131 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
132 |
|
part of a (non-)fix to renable that the tests are always |
133 |
|
executed. |
134 |
|
|
135 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
136 |
|
|
137 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
138 |
|
Added test_drawbezier() to test DrawSpline(). |
139 |
|
|
140 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
141 |
|
Really implemented bezier drawing. |
142 |
|
|
143 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
144 |
|
to 0.9.1 because now the legend examples lines styles |
145 |
|
will be drawing with beziers. |
146 |
|
|
147 |
|
2004-12-05 Martin Schulze <[email protected]> |
148 |
|
|
149 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
150 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
151 |
|
|
152 |
|
2004-11-30 Martin Schulze <[email protected]> |
153 |
|
|
154 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
155 |
|
Improved the test for the internal compare method |
156 |
|
|
157 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
158 |
|
|
159 |
|
* Thuban/UI/about.py (About.__init__): Added |
160 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
161 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
162 |
|
to Developer. |
163 |
|
|
164 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
165 |
|
|
166 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
167 |
|
Removed Jan from author list as he did not change enough significant |
168 |
|
lines yet. |
169 |
|
|
170 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
171 |
|
of the Extension. |
172 |
|
|
173 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
174 |
|
|
175 |
|
* po/hu.po: New. Hungarian translation. Contributed |
176 |
|
by Norbert Solymosi. |
177 |
|
|
178 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
179 |
|
|
180 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
181 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
182 |
|
debug prints |
183 |
|
|
184 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
185 |
|
|
186 |
|
Fix broken tests for svg extension and added svg legend |
187 |
|
to Experimental menu. |
188 |
|
|
189 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
190 |
|
the test run correctly even if the extension is a package. |
191 |
|
Also removed the "import Thuban" which makes no sense. |
192 |
|
|
193 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
194 |
|
test module also be executed from the global test routine. |
195 |
|
This is done by looking for the absense of the DISPLAY variable. |
196 |
|
|
197 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
198 |
|
to Experimental menu since this module has yet not reached a stable |
199 |
|
status (ie. 1.0). |
200 |
|
|
201 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
202 |
|
|
203 |
|
* Extensions/svgexport/svgmapwriter.py: |
204 |
|
Added verbose variable and some logging depending on it. |
205 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
206 |
|
because counting i is not necessary. |
207 |
|
(class Pen, class Brush): Added simple __str__ methods. |
208 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
209 |
|
not exported to svg file) Note: holes still unhandled. |
210 |
|
|
211 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
212 |
|
Made a baseclass TestWithDC for test needed a DC. |
213 |
|
Added tests for bug #2698 (transparent polygons are not |
214 |
|
exported to svg file): |
215 |
|
Testobjectexport.test_transparent_polygon() |
216 |
|
|
217 |
|
* Thuban/Model/base.py (UnsetModified): |
218 |
|
Fixed some typos in docstring. |
219 |
|
|
220 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
221 |
|
Added hints on the used algorithm for handling holes. |
222 |
|
|
223 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
224 |
|
|
225 |
|
Some face lifting for the examples. |
226 |
|
|
227 |
|
* Examples/__init__.py: Make this directory a package. |
228 |
|
|
229 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
230 |
|
|
231 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
232 |
|
menu to Examples menu. |
233 |
|
|
234 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
235 |
|
minor changes. |
236 |
|
|
237 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
238 |
|
|
239 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
240 |
|
|
241 |
|
Changed way of extension registry for wms and added extension |
242 |
|
registry for umn_mapserver extension. |
243 |
|
|
244 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
245 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
246 |
|
|
247 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
248 |
|
|
249 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
250 |
|
importing of the actual umn mapserver management modules. |
251 |
|
Included a test for the required Python MapScript. |
252 |
|
|
253 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
254 |
|
|
255 |
|
Changed way of extension registry for importAPR, bboxdump |
256 |
|
and added extension registry for svgexport.extension registry for |
257 |
|
svgexport. |
258 |
|
|
259 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
260 |
|
of the actual importAPR module. |
261 |
|
|
262 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
263 |
|
__init__.py). |
264 |
|
|
265 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
266 |
|
����of the actual bboxdump module. |
267 |
|
|
268 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
269 |
|
����__init__.py). |
270 |
|
|
271 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
272 |
|
of the svgsaver module. |
273 |
|
|
274 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
275 |
|
to Experimental menu since this module has yet not reached a stable |
276 |
|
status (ie. 1.0). |
277 |
|
|
278 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
279 |
|
|
280 |
|
Now the hit test considers the size of point symbols. |
281 |
|
|
282 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
283 |
|
'size' defaulting to the previously fixed value 5. |
284 |
|
Extended doc-string. |
285 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
286 |
|
for symbols. |
287 |
|
Now the size of the largest point symbol is determined to find out |
288 |
|
about whether the point has been hit. |
289 |
|
This fixes the problem that only clicks inside a fixed distance of |
290 |
|
5 where found. |
291 |
|
|
292 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
293 |
|
|
294 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
295 |
|
selected symbols. |
296 |
|
|
297 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
298 |
|
Added consideration of the specific size of point symbols. |
299 |
|
The property for each point symbol is retrieved and the size applied |
300 |
|
for the rendering method. |
301 |
|
Added doc-string. |
302 |
|
|
303 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
304 |
|
|
305 |
|
Changed way of Extension Registry for gns2shp and profiling. |
306 |
|
|
307 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
308 |
|
__init__.py). |
309 |
|
|
310 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
311 |
|
of the actual gns2shp module. |
312 |
|
|
313 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
314 |
|
__init__.py). |
315 |
|
|
316 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
317 |
|
of the actual profiling module. |
318 |
|
|
319 |
2004-10-28 Bernhard Reiter <[email protected]> |
2004-10-28 Bernhard Reiter <[email protected]> |
320 |
|
|
321 |
* Extensions/svgexport/: Minor improvements to doc strings. |
* Extensions/svgexport/: Minor improvements to doc strings. |