1 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Add support for PostGIS tables with LINESTRING geomentries. |
4 |
|
Fixes RT#2299 |
5 |
|
|
6 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING |
7 |
|
|
8 |
|
* test/postgissupport.py |
9 |
|
(PostgreSQLServer.get_default_static_data_db): Rename the "roads" |
10 |
|
table to "roads-multi" because it now uses MULTILINESTRING |
11 |
|
geometries and introduce a new "roads" table that uses LINESTRING |
12 |
|
(coords_to_multilinestring): Make the doc string more precise |
13 |
|
(coords_to_linestring): New. Create a LINESTRING WKT |
14 |
|
representatin |
15 |
|
(wkt_converter): Add coords_to_linestring |
16 |
|
(upload_shapefile): Rephrase the doc-string a bit. |
17 |
|
|
18 |
|
* test/test_postgis_db.py (TestPostGISShapestoreArc) |
19 |
|
(LineStringTests) |
20 |
|
(TestPostGISShapestoreLineString) |
21 |
|
(TestPostGISShapestoreMultiLineString): Split |
22 |
|
TestPostGISShapestoreArc into a base class LineStringTests and two |
23 |
|
derived classes TestPostGISShapestoreLineString for LINESTRING |
24 |
|
geometries and TestPostGISShapestoreMultiLineString for |
25 |
|
MULTILINESTRING geometries. Most test methods are in the base |
26 |
|
class with the exception of tests that explicitly check the raw |
27 |
|
format. |
28 |
|
|
29 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4 |
32 |
|
|
33 |
|
* test/postgissupport.py (find_postgis_sql): Different postgis |
34 |
|
versions put the postgis.sql file into slightly different places |
35 |
|
so we have to look in both. The updated doc string describes this |
36 |
|
is more detail. |
37 |
|
|
38 |
|
* test/test_postgis_db.py |
39 |
|
(TestPostGISSpecialCases.test_column_name_quoting): The return |
40 |
|
value of UniqueValues is unsorted, so it has to be sorted for |
41 |
|
comparison. |
42 |
|
|
43 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
Fix for RT#2237 |
46 |
|
|
47 |
|
* Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the |
48 |
|
panel to be shown is the UnknownProjPanel disable the OK and Try |
49 |
|
buttons. Otherwise enable them. |
50 |
|
(ProjFrame.__GetProjection): The UnknownProjPanel returns None for |
51 |
|
the parameters. In that case __GetProjection also returns None |
52 |
|
now. |
53 |
|
|
54 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
55 |
|
|
56 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the |
57 |
|
minimum number of classes to 2. The calculate_quantiles needs at |
58 |
|
least two and raises an exception otherwise. |
59 |
|
Fixes RT#2549 |
60 |
|
|
61 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
64 |
|
so that it returns a result for select statements. |
65 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
66 |
|
server software. |
67 |
|
(PostgreSQLServer.require_authentication): The format of |
68 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
69 |
|
server version and generate the file in the correct format |
70 |
|
|
71 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
72 |
|
|
73 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
74 |
|
in the doc string and rephrase it a little. |
75 |
|
|
76 |
|
2004-12-15 Frank Koormann <[email protected]> |
77 |
|
|
78 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
79 |
|
session has been loaded successfully. The check is called by the relevant |
80 |
|
tests after executing load_session(). |
81 |
|
|
82 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
83 |
|
|
84 |
|
Make sure the region used to determine which shapes are visible |
85 |
|
actually matches the region on the printed page. If this isn't |
86 |
|
done properly some shapes might not be printed. |
87 |
|
Fixes RT #2692 |
88 |
|
|
89 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
90 |
|
renderer has to be at the same position as the mapregion |
91 |
|
|
92 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
93 |
|
has to be moved by (self.shiftx, self.shifty) too. |
94 |
|
|
95 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
96 |
|
|
97 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
98 |
|
generated python code which leads to exception in the __del__ |
99 |
|
method when the constructor fails. See the comments in the code |
100 |
|
for more details. |
101 |
|
|
102 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
103 |
|
with SWIG. |
104 |
|
|
105 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
106 |
|
|
107 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
108 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
109 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
110 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
111 |
|
is destroyed in tearDown, so there's no need to do it in a test |
112 |
|
case. |
113 |
|
|
114 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
115 |
|
debug print |
116 |
|
|
117 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
118 |
|
|
119 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
120 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
121 |
|
classes because in Python 2.2 they're still old-style classes. |
122 |
|
|
123 |
|
2004-12-13 Frank Koormann <[email protected]> |
124 |
|
|
125 |
|
Alternative Path feature: When loading a (moved) session where |
126 |
|
shapefiles cannot be found, ask the user. Use the specified path |
127 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
128 |
|
in such cases. |
129 |
|
|
130 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
131 |
|
in load_session() |
132 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
133 |
|
|
134 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
135 |
|
Added "alt_path" to self.path |
136 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
137 |
|
callback similar to db_connection_callback. |
138 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
139 |
|
shapefile_callback. In addition to raising the dialog the control of |
140 |
|
self.path('alt_path') is implemented here. |
141 |
|
|
142 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
143 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
144 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
145 |
|
formerly used in start_fileshapesource()/start_layer(). |
146 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
147 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
148 |
|
(load_session): Added shapefile_callback. |
149 |
|
|
150 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
151 |
|
feature (search / check). |
152 |
|
|
153 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
154 |
|
|
155 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
156 |
|
|
157 |
|
svgexport 0.9.2: Point size supports for maps. |
158 |
|
|
159 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
160 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
161 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
162 |
|
Added draw_func call with size when dealing with a point layer. |
163 |
|
|
164 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
165 |
|
|
166 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
167 |
|
|
168 |
|
Made sure that newlines are inserted in the svg path d attributes |
169 |
|
to raise the chance that the line length will be below 255 characters, |
170 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
171 |
|
|
172 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
173 |
|
Adding \n before L's and changed whitespace handling. |
174 |
|
|
175 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
176 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
177 |
|
|
178 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
179 |
|
|
180 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
181 |
|
|
182 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
183 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
184 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
185 |
|
All only to test DrawSpline. |
186 |
|
|
187 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
188 |
|
New implementation now really using the strange algorithm of |
189 |
|
xfig 3.1's approximated splines and its conversion to postscript |
190 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
191 |
|
to cubic beziers. |
192 |
|
(TestWithDC): Typo in comment fixed. |
193 |
|
|
194 |
|
2004-12-09 Martin Schulze <[email protected]> |
195 |
|
|
196 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
197 |
|
|
198 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
199 |
|
|
200 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
201 |
|
support for get_srs_discrepancies() since there are no |
202 |
|
discrepancies anymore (was a thinko) |
203 |
|
|
204 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
205 |
|
format priority now that more formats are supported globally by |
206 |
|
the render engine. |
207 |
|
|
208 |
|
2004-12-08 Silke Reimer <[email protected]> |
209 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
210 |
|
because it is not available in all versions of ogr |
211 |
|
|
212 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
213 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
214 |
|
global tests until a real one is commited. |
215 |
|
|
216 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
217 |
|
|
218 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
219 |
|
ogr. It is planned to add other vector formats. |
220 |
|
|
221 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
222 |
|
|
223 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
224 |
|
|
225 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
226 |
|
part of a (non-)fix to renable that the tests are always |
227 |
|
executed. |
228 |
|
|
229 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
230 |
|
|
231 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
232 |
|
Added test_drawbezier() to test DrawSpline(). |
233 |
|
|
234 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
235 |
|
Really implemented bezier drawing. |
236 |
|
|
237 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
238 |
|
to 0.9.1 because now the legend examples lines styles |
239 |
|
will be drawing with beziers. |
240 |
|
|
241 |
|
2004-12-05 Martin Schulze <[email protected]> |
242 |
|
|
243 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
244 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
245 |
|
|
246 |
|
2004-11-30 Martin Schulze <[email protected]> |
247 |
|
|
248 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
249 |
|
Improved the test for the internal compare method |
250 |
|
|
251 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
252 |
|
|
253 |
|
* Thuban/UI/about.py (About.__init__): Added |
254 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
255 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
256 |
|
to Developer. |
257 |
|
|
258 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
259 |
|
|
260 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
261 |
|
Removed Jan from author list as he did not change enough significant |
262 |
|
lines yet. |
263 |
|
|
264 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
265 |
|
of the Extension. |
266 |
|
|
267 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
268 |
|
|
269 |
|
* po/hu.po: New. Hungarian translation. Contributed |
270 |
|
by Norbert Solymosi. |
271 |
|
|
272 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
273 |
|
|
274 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
275 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
276 |
|
debug prints |
277 |
|
|
278 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
279 |
|
|
280 |
|
Fix broken tests for svg extension and added svg legend |
281 |
|
to Experimental menu. |
282 |
|
|
283 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
284 |
|
the test run correctly even if the extension is a package. |
285 |
|
Also removed the "import Thuban" which makes no sense. |
286 |
|
|
287 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
288 |
|
test module also be executed from the global test routine. |
289 |
|
This is done by looking for the absense of the DISPLAY variable. |
290 |
|
|
291 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
292 |
|
to Experimental menu since this module has yet not reached a stable |
293 |
|
status (ie. 1.0). |
294 |
|
|
295 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
296 |
|
|
297 |
|
* Extensions/svgexport/svgmapwriter.py: |
298 |
|
Added verbose variable and some logging depending on it. |
299 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
300 |
|
because counting i is not necessary. |
301 |
|
(class Pen, class Brush): Added simple __str__ methods. |
302 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
303 |
|
not exported to svg file) Note: holes still unhandled. |
304 |
|
|
305 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
306 |
|
Made a baseclass TestWithDC for test needed a DC. |
307 |
|
Added tests for bug #2698 (transparent polygons are not |
308 |
|
exported to svg file): |
309 |
|
Testobjectexport.test_transparent_polygon() |
310 |
|
|
311 |
|
* Thuban/Model/base.py (UnsetModified): |
312 |
|
Fixed some typos in docstring. |
313 |
|
|
314 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
315 |
|
Added hints on the used algorithm for handling holes. |
316 |
|
|
317 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
318 |
|
|
319 |
|
Some face lifting for the examples. |
320 |
|
|
321 |
|
* Examples/__init__.py: Make this directory a package. |
322 |
|
|
323 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
324 |
|
|
325 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
326 |
|
menu to Examples menu. |
327 |
|
|
328 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
329 |
|
minor changes. |
330 |
|
|
331 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
332 |
|
|
333 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
334 |
|
|
335 |
|
Changed way of extension registry for wms and added extension |
336 |
|
registry for umn_mapserver extension. |
337 |
|
|
338 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
339 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
340 |
|
|
341 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
342 |
|
|
343 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
344 |
|
importing of the actual umn mapserver management modules. |
345 |
|
Included a test for the required Python MapScript. |
346 |
|
|
347 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
348 |
|
|
349 |
|
Changed way of extension registry for importAPR, bboxdump |
350 |
|
and added extension registry for svgexport.extension registry for |
351 |
|
svgexport. |
352 |
|
|
353 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
354 |
|
of the actual importAPR module. |
355 |
|
|
356 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
357 |
|
__init__.py). |
358 |
|
|
359 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
360 |
|
����of the actual bboxdump module. |
361 |
|
|
362 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
363 |
|
����__init__.py). |
364 |
|
|
365 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
366 |
|
of the svgsaver module. |
367 |
|
|
368 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
369 |
|
to Experimental menu since this module has yet not reached a stable |
370 |
|
status (ie. 1.0). |
371 |
|
|
372 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
373 |
|
|
374 |
|
Now the hit test considers the size of point symbols. |
375 |
|
|
376 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
377 |
|
'size' defaulting to the previously fixed value 5. |
378 |
|
Extended doc-string. |
379 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
380 |
|
for symbols. |
381 |
|
Now the size of the largest point symbol is determined to find out |
382 |
|
about whether the point has been hit. |
383 |
|
This fixes the problem that only clicks inside a fixed distance of |
384 |
|
5 where found. |
385 |
|
|
386 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
387 |
|
|
388 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
389 |
|
selected symbols. |
390 |
|
|
391 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
392 |
|
Added consideration of the specific size of point symbols. |
393 |
|
The property for each point symbol is retrieved and the size applied |
394 |
|
for the rendering method. |
395 |
|
Added doc-string. |
396 |
|
|
397 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
398 |
|
|
399 |
|
Changed way of Extension Registry for gns2shp and profiling. |
400 |
|
|
401 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
402 |
|
__init__.py). |
403 |
|
|
404 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
405 |
|
of the actual gns2shp module. |
406 |
|
|
407 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
408 |
|
__init__.py). |
409 |
|
|
410 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
411 |
|
of the actual profiling module. |
412 |
|
|
413 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
414 |
|
|
415 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
416 |
|
|
417 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
418 |
|
|
419 |
|
Further elements for sizable point objects now |
420 |
|
making this feature usable though not yet complete. |
421 |
|
|
422 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
423 |
|
attribute 'size' for cldata when the shape layer is of point type. |
424 |
|
This also now make the test_load.py tests happy. |
425 |
|
|
426 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
427 |
|
gradient. |
428 |
|
|
429 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
430 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
431 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
432 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
433 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
434 |
|
for the size in case the corresponding layer is of point type. |
435 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
436 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
437 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
438 |
|
and refresh preview. |
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
2004-10-04 Martin Schulze <[email protected]> |
443 |
|
|
444 |
|
* Extensions/wms/test/test_parser.py |
445 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
446 |
|
self-test for compareLists() |
447 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
448 |
|
self-test for compareDicts() |
449 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
450 |
|
to verify the test routine fails with non-equal arguments |
451 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
452 |
|
to verify the test routine fails with non-equal arguments |
453 |
|
|
454 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
455 |
|
|
456 |
|
First elements for sizeable point objects. |
457 |
|
|
458 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
459 |
|
|
460 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
461 |
|
|
462 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
463 |
|
of a corresponding argument is given. |
464 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
465 |
|
|
466 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
467 |
|
(ClassGroupProperties.__init__): Set default size. |
468 |
|
(ClassGroupProperties.SetProperties): Set the size. |
469 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
470 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
471 |
|
(ClassGroupProperties__eq__): Compare also size. |
472 |
|
(ClassGroupProperties__repr__): Print also size. |
473 |
|
|
474 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
475 |
|
the size attribute. |
476 |
|
|
477 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
478 |
|
Also, now there is a return value that indicates whether the drawing |
479 |
|
size exceeded the given rect extent and if so the new extent. |
480 |
|
Finally, point objects are drawn depending on the size. If either |
481 |
|
the width or height is exceeded, the new extent is returned. |
482 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
483 |
|
evaluate the return value and, if not None, adapt the grid widget size |
484 |
|
accordingly and redraw again. |
485 |
|
|
486 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
487 |
|
If the draw function is for points, call it with the size as additional |
488 |
|
parameter. |
489 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
490 |
|
the size. Compute the radius using the size. |
491 |
|
|
492 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
493 |
|
that Thuban supports size, apply this correctly. |
494 |
|
|
495 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
496 |
|
|
497 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
498 |
|
|
499 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
500 |
|
Map chapter. |
501 |
|
|
502 |
|
2004-10-01 Martin Schulze <[email protected]> |
503 |
|
|
504 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
505 |
|
argument for general use through properties-dialog selector |
506 |
|
|
507 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
508 |
|
both provided layer classes/types. |
509 |
|
|
510 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
511 |
|
map can be retrieved through the parent which is passed to the |
512 |
|
constructor anyway and doesn't require an argument of its own, |
513 |
|
required for the unification of arguments for general use through |
514 |
|
properties-dialog selector. |
515 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
516 |
|
whether a dialog is already opened (and raising it to the users |
517 |
|
attention) and creating a new dialog into a function of its own |
518 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
519 |
|
method |
520 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
521 |
|
global registration of properties dialog classes (which are indeed |
522 |
|
layer-specific). |
523 |
|
|
524 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
525 |
|
for general use through properties-dialog selector, the map can be |
526 |
|
retrieved through the parent and doesn't require an argument of |
527 |
|
its own. |
528 |
|
|
529 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
530 |
|
the provided WMS layer |
531 |
|
|
532 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
533 |
|
|
534 |
|
New feature: Registry for Extensions. |
535 |
|
|
536 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
537 |
|
Extensions. |
538 |
|
|
539 |
|
* Thuban/UI/about.py (About.__init__): Added description |
540 |
|
of the registered extensions with all of the information. |
541 |
|
|
542 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
543 |
|
|
544 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
545 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
546 |
|
Extensions/wms/wms.py: Added registration of the extension. |
547 |
|
|
548 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
549 |
|
|
550 |
|
More fixes to svgexport to make used ids unique and |
551 |
|
conforming to XML's Name production. |
552 |
|
|
553 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
554 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
555 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
556 |
|
Added Bernhard R. as author. |
557 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
558 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
559 |
|
Also transform second id part with "%d" and catch the TypeError |
560 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
561 |
|
Corrected typo inBernhard's author line. |
562 |
|
(SetBaseID): Return the transformed base id. Transform characters |
563 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
564 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
565 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
566 |
|
for used_baseids checks. |
567 |
|
|
568 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
569 |
|
|
570 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
571 |
|
Remove a debug print and some tab characters. |
572 |
|
|
573 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
574 |
|
|
575 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
576 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
577 |
|
the interaction of the three functions and the XML id contrains. |
578 |
|
|
579 |
|
|
580 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
581 |
|
|
582 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
583 |
|
Module. |
584 |
|
|
585 |
|
* Doc/README: Added info on ThubanModel.xmi. |
586 |
|
|
587 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
588 |
|
|
589 |
|
* Doc/README: New. Some info about how to generate technical |
590 |
|
documentation from the source code. |
591 |
|
This text was send to the Thuban developer mailing list on |
592 |
|
September 21st 2004 by Bernhard Reiter. |
593 |
|
|
594 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
595 |
|
|
596 |
|
Improved the svgexport to only use unique ids. Will issues |
597 |
|
an error message dialoge when two layer names are the same. |
598 |
|
ShapeIDs are now added with a dash within the svg ids. |
599 |
|
|
600 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
601 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
602 |
|
(TestSVGRenderer): New test class with test_make_in() and |
603 |
|
test_check_for_layer_name_clash() |
604 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
605 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
606 |
|
satisfying test_check_for_layer_name_clash() |
607 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
608 |
|
test_make_in(). |
609 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
610 |
|
and wxICON_HAND. |
611 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
612 |
|
catching SVGmapWriterError notify the user and delete the target file. |
613 |
|
|
614 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
615 |
|
|
616 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
617 |
|
|
618 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
619 |
|
|
620 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
621 |
|
small bug with the line color. Now the line color will now only set |
622 |
|
if it is set in Thuban an not Transparent. |
623 |
|
|
624 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
625 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
626 |
|
from the last. |
627 |
|
|
628 |
2004-08-20 Silke Reimer <[email protected]> |
2004-08-20 Silke Reimer <[email protected]> |
629 |
|
|
630 |
* Thuban/Model/layer.py: |
* Thuban/Model/layer.py: |