1 |
|
2005-01-21 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |
4 |
|
doc-string |
5 |
|
(find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a |
6 |
|
different name for the initialization SQL file. |
7 |
|
|
8 |
|
2005-01-21 Jonathan Coles <[email protected]> |
9 |
|
|
10 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
11 |
|
a projection and returns a formatted string representing the |
12 |
|
parameters to feed to gdalwarp. This function eliminates |
13 |
|
redundancy in draw_raster_layer(). |
14 |
|
(BaseRenderer.render_map_incrementally): Removed the optimization which |
15 |
|
drew the top most raster layer first and then only those vector- |
16 |
|
based layers that are above it. With the support for transparency |
17 |
|
this optimization breaks correct behaviour. |
18 |
|
(BaseRenderer.draw_raster_layer): Reorganize code to support possible |
19 |
|
future enhancements to raster layer bounding box. The old behaviour has |
20 |
|
not changed. Also, change calling parameters to draw_raster_data() |
21 |
|
to specify new RAW data format and mask. |
22 |
|
(BaseRenderer.draw_raster_data): Change signature to include an optional |
23 |
|
parameter for mask information. Change documentation to mention |
24 |
|
support for new parameter and added option for RAW data format. |
25 |
|
The data argument is now a list of [width, height, data]. |
26 |
|
|
27 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional |
28 |
|
mask parameter. Add new condition for RAW format, which |
29 |
|
significantly reduces rendering time. Add condition for |
30 |
|
mask parameter. |
31 |
|
|
32 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
33 |
|
data array of RGB values from the projected image returned from |
34 |
|
the gdal warping functions. In the case of palette based images, it |
35 |
|
converts the NO_DATA index to the mask color. |
36 |
|
(ProjectRasterFile): Removed all custom memory driver references |
37 |
|
and replaced it with the standard in-memory dataset provided |
38 |
|
by gdal. The return data is no longer a BMP file, but an array |
39 |
|
of RGB values, one set triple per pixel. |
40 |
|
|
41 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
42 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
43 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
44 |
|
|
45 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
46 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
47 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
48 |
|
|
49 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
50 |
|
Updated signature. |
51 |
|
(TestBaseRenderer.test_raster_no_projection): Changed the test |
52 |
|
data to be data in the uncompressed RAW format returned from |
53 |
|
ProjectRasterFile. |
54 |
|
|
55 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
56 |
|
|
57 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made |
58 |
|
string available for i18n. |
59 |
|
|
60 |
|
2005-01-20 Russell Nelson <[email protected]> |
61 |
|
|
62 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
63 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
64 |
|
It's the wrong thing to do in the long run, but it's necessary for |
65 |
|
those users until that bug is fixed. Otherwise the projection |
66 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
67 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
68 |
|
|
69 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
70 |
|
|
71 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added |
72 |
|
docstring and comment that the warning code here is a hack. |
73 |
|
|
74 |
|
2005-01-20 Russell Nelson <[email protected]> |
75 |
|
|
76 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn |
77 |
|
user about misprojected layers when their lat/lon bounding |
78 |
|
box exceeds rational lat/lon values. |
79 |
|
|
80 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/about.py (unicodeToLocale): Improved: |
83 |
|
Use 'ascii' and then 'replace' for other characters |
84 |
|
when getdefaultlocale returns None. Thanks to Bernhard H. . |
85 |
|
|
86 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
87 |
|
|
88 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment |
89 |
|
that OnRangeText might be called twice and using None as argument. |
90 |
|
|
91 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
92 |
|
|
93 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a |
94 |
|
OnRangeText(0) to work around a different in wx Behaviour noticed |
95 |
|
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
96 |
|
|
97 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
98 |
|
|
99 |
|
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
100 |
|
None. (Fixes rt#2910.) |
101 |
|
|
102 |
|
2005-01-18 Frank Koormann <[email protected]> |
103 |
|
|
104 |
|
New Extension: mouseposition |
105 |
|
Tool to collect mouse click positions (map coordinates) in a dialog. |
106 |
|
|
107 |
|
* Extensions/mouseposition/__init__.py: New, extension registration |
108 |
|
|
109 |
|
* Extensions/mouseposition/mouseposition.py: New, implements the |
110 |
|
dialog and adds a tool to Thuban mainwindow. |
111 |
|
|
112 |
|
* Extensions/mouseposition/position.xpm: New, icon for tool. |
113 |
|
|
114 |
|
2005-01-14 Jan-Oliver Wagner <[email protected]> |
115 |
|
|
116 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
117 |
|
|
118 |
|
2005-01-11 Frank Koormann <[email protected]> |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
121 |
|
Fix indention bug. |
122 |
|
|
123 |
|
2005-01-09 Frank Koormann <[email protected]> |
124 |
|
|
125 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
126 |
|
BugFix 2901: Explicitly copy layers ClassificationColumn since it |
127 |
|
is not part of the layers Classification. |
128 |
|
|
129 |
|
2005-01-03 Frank Koormann <[email protected]> |
130 |
|
|
131 |
|
* Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally): |
132 |
|
BugFix 2883: Former implementation only worked on classified point |
133 |
|
layers: KeyError was raised, now use the default size if field is None. |
134 |
|
|
135 |
|
2004-12-27 Bernhard Reiter <[email protected]> |
136 |
|
|
137 |
|
svgexport 1.0.0cvs: Fixed label export. |
138 |
|
|
139 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
140 |
|
class TestSVGRenderer(): New class; new test test_label_font(). |
141 |
|
|
142 |
|
* Extensions/svgexport/svgmapwriter.py |
143 |
|
(SVGRenderer.label_font()): initialised Font size with self.factor now, |
144 |
|
makes test_label_font happy. |
145 |
|
|
146 |
|
* Extensions/svgexport/TODO: crossed out fixed label export item. |
147 |
|
Added item for options. |
148 |
|
|
149 |
|
* Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs. |
150 |
|
|
151 |
|
2004-12-27 Russell Nelson <[email protected]> |
152 |
|
|
153 |
|
Middle mouse button pans. |
154 |
|
|
155 |
|
* Thuban/UI/view.py (MapCanvas.__init__): Subscribe also |
156 |
|
OnMiddleDown and OnMiddleUp events. |
157 |
|
(MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the |
158 |
|
previously used tool. |
159 |
|
(MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before |
160 |
|
pressing the middle mouse button. |
161 |
|
|
162 |
|
2004-12-27 Jan-Oliver Wagner <[email protected]> |
163 |
|
|
164 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
165 |
|
|
166 |
|
2004-12-23 Jan-Oliver Wagner <[email protected]> |
167 |
|
|
168 |
|
* Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a |
169 |
|
\n to stderr after the warnings. Thanks to Russell Nelson. |
170 |
|
|
171 |
|
2004-12-20 Nina Hueffmeyer <[email protected]> |
172 |
|
|
173 |
|
* Extensions/ogr/ogrshapes.py: Fixed some issues from |
174 |
|
Bernhard (coding guidelines etc.). Additionally it is now possible to |
175 |
|
display shapefiles containing feature collections (e.g.polygons |
176 |
|
with holes). Works with gdal 1.2.1 now. |
177 |
|
|
178 |
|
* Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues |
179 |
|
from Bernhard (coding guidelines etc.). If ogr can't be imported, |
180 |
|
tests are skipped now. |
181 |
|
|
182 |
|
* Extensions/ogr/ogrstart.py: Fixed some typings. |
183 |
|
|
184 |
|
2004-12-20 Bernhard Reiter <[email protected]> |
185 |
|
|
186 |
|
* Extensions/svgexport/TODO: updated to add support for |
187 |
|
raster layers and labels for 1.0.1. |
188 |
|
|
189 |
|
* Extensions/svgexport/svgmapwriter.py (draw_raster_layer): |
190 |
|
Issue a warning now. |
191 |
|
|
192 |
|
2004-12-19 Bernhard Reiter <[email protected]> |
193 |
|
|
194 |
|
* Extensions/svgexport/TODO: Added idea to support triggering |
195 |
|
the application down the pipe. |
196 |
|
|
197 |
|
2004-12-19 Bernhard Reiter <[email protected]> |
198 |
|
|
199 |
|
svgexport: Improved code quality, mainly by better naming. |
200 |
|
|
201 |
|
* Extensions/svgexport/svgmapwriter.py: |
202 |
|
DrawPath() renamed to DrawPolygonPath(), |
203 |
|
added documentation, improved comments and variable names. |
204 |
|
|
205 |
|
* Extensions/svgexport/svgmapwriter.py, |
206 |
|
Extensions/svgexport/test/test_svgmapwriter.py: |
207 |
|
All using DrawPolygonPath() now, the default parameter closed=True |
208 |
|
omitted. |
209 |
|
|
210 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
211 |
|
renamed test_polygon_opened() to test_polyline() |
212 |
|
renamed test_transparent_polygon() to test_transparent_polyline() |
213 |
|
|
214 |
|
2004-12-18 Jan-Oliver Wagner <[email protected]> |
215 |
|
|
216 |
|
Some fixes of gns2shp extension. |
217 |
|
|
218 |
|
* Extensions/gns2shp/test/__init__.py: New. Make this directory a |
219 |
|
package. |
220 |
|
|
221 |
|
* Extensions/gns2shp/test/test_gns2shp.py: Add some import paths |
222 |
|
dynamically. |
223 |
|
|
224 |
|
* Extensions/gns2shp/test/README: Simplified description how to test. |
225 |
|
|
226 |
|
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string, |
227 |
|
fixed some dimensions of fields according to the GNS documentation |
228 |
|
which seems to change undocumented. |
229 |
|
Now killing trailing \n and/or \r from MODIFY_DATE. |
230 |
|
This fixes RT#2453. |
231 |
|
|
232 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
233 |
|
|
234 |
|
svgexport 1.0.0: Treats holes and islands nicely. Documentation added. |
235 |
|
|
236 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
237 |
|
Added new tests: test_export_polygon_with_hole() |
238 |
|
and test_polygon_with_hole(). |
239 |
|
|
240 |
|
* Extensions/svgexport/svgmapwriter.py |
241 |
|
(draw_polygon_shape()): Uses DrawPath correctly now. |
242 |
|
|
243 |
|
* Doc/manual/thuban-manual.xml: Added documentation for stable |
244 |
|
extention svgexport. |
245 |
|
* Doc/manual/thuban-manual-de.xml: Copied English section about |
246 |
|
svexport over. |
247 |
|
|
248 |
|
* Extensions/svgexport/__init__.py: Bumped version number to 1.0.0. |
249 |
|
|
250 |
|
* Extensions/svgexport/svgsaver.py,maplegend.py: |
251 |
|
Moved from experimental to stable extension menu. |
252 |
|
|
253 |
|
* Extensions/svgexport/TODO: updated. |
254 |
|
|
255 |
|
|
256 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
257 |
|
|
258 |
|
Added Extensions/svgexport/TODO |
259 |
|
|
260 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
261 |
|
|
262 |
|
Refactored in svgexport: |
263 |
|
DrawPath replaces DrawPolygon; added newline in front of "M" in paths. |
264 |
|
|
265 |
|
* Extensions/svgexport/svgmapwriter.py |
266 |
|
Added verbosity level 3 to print out polygon points. |
267 |
|
(class Point): added __repr__ |
268 |
|
(class Brush, __str__()): Added space after ,. |
269 |
|
(DrawPolygon): Renamed to DrawPath() |
270 |
|
(DrawPath): Takes list of polygons as input now, adds \n before "M"s. |
271 |
|
(DrawLines): Using DrawPath now. |
272 |
|
|
273 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
274 |
|
Replaced DrawPolygon() calls with DrawPath() and put the first argument |
275 |
|
inside another list. Adapted test data with a newline before "M". |
276 |
|
|
277 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
278 |
|
|
279 |
|
Refactored svgexport tests: 9 double tests runs eliminated; |
280 |
|
code size reduced by 8 lines. |
281 |
|
|
282 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
283 |
|
(class TestWithDC): Renamed to BaseTestWithDC, moved to top. |
284 |
|
(class BaseWithDCtools): New, subclass from BaseTestWithDC. |
285 |
|
(class TestDrawSplines): now subclass from BaseTestWithDCtools, |
286 |
|
this fixed the double running of the nine tests of TestVirtualDC. |
287 |
|
(class TestVirtualDC): Using self.dc and self.file from setUp(). |
288 |
|
|
289 |
|
2004-12-17 Bernhard Herzog <[email protected]> |
290 |
|
|
291 |
|
Two windows specific fixes ported from thuban-1�0-branch: |
292 |
|
|
293 |
|
* Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale |
294 |
|
instead of getlocale because getlocale doesn't return a usable |
295 |
|
encoding name on a german windows 2000 |
296 |
|
|
297 |
|
* setup.py: windows build: Removed the absolute path names and |
298 |
|
made all prfixes relative to the directory containing setup.py. |
299 |
|
Makes it a little easier to adapt to a different system. |
300 |
|
|
301 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
302 |
|
|
303 |
|
Add support for PostGIS tables with LINESTRING geometries. |
304 |
|
Fixes RT#2299 |
305 |
|
|
306 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING |
307 |
|
|
308 |
|
* test/postgissupport.py |
309 |
|
(PostgreSQLServer.get_default_static_data_db): Rename the "roads" |
310 |
|
table to "roads-multi" because it now uses MULTILINESTRING |
311 |
|
geometries and introduce a new "roads" table that uses LINESTRING |
312 |
|
(coords_to_multilinestring): Make the doc string more precise |
313 |
|
(coords_to_linestring): New. Create a LINESTRING WKT |
314 |
|
representatin |
315 |
|
(wkt_converter): Add coords_to_linestring |
316 |
|
(upload_shapefile): Rephrase the doc-string a bit. |
317 |
|
|
318 |
|
* test/test_postgis_db.py (TestPostGISShapestoreArc) |
319 |
|
(LineStringTests) |
320 |
|
(TestPostGISShapestoreLineString) |
321 |
|
(TestPostGISShapestoreMultiLineString): Split |
322 |
|
TestPostGISShapestoreArc into a base class LineStringTests and two |
323 |
|
derived classes TestPostGISShapestoreLineString for LINESTRING |
324 |
|
geometries and TestPostGISShapestoreMultiLineString for |
325 |
|
MULTILINESTRING geometries. Most test methods are in the base |
326 |
|
class with the exception of tests that explicitly check the raw |
327 |
|
format. |
328 |
|
|
329 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
330 |
|
|
331 |
|
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4 |
332 |
|
|
333 |
|
* test/postgissupport.py (find_postgis_sql): Different postgis |
334 |
|
versions put the postgis.sql file into slightly different places |
335 |
|
so we have to look in both. The updated doc string describes this |
336 |
|
is more detail. |
337 |
|
|
338 |
|
* test/test_postgis_db.py |
339 |
|
(TestPostGISSpecialCases.test_column_name_quoting): The return |
340 |
|
value of UniqueValues is unsorted, so it has to be sorted for |
341 |
|
comparison. |
342 |
|
|
343 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
344 |
|
|
345 |
|
Fix for RT#2237 |
346 |
|
|
347 |
|
* Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the |
348 |
|
panel to be shown is the UnknownProjPanel disable the OK and Try |
349 |
|
buttons. Otherwise enable them. |
350 |
|
(ProjFrame.__GetProjection): The UnknownProjPanel returns None for |
351 |
|
the parameters. In that case __GetProjection also returns None |
352 |
|
now. |
353 |
|
|
354 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
355 |
|
|
356 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the |
357 |
|
minimum number of classes to 2. The calculate_quantiles needs at |
358 |
|
least two and raises an exception otherwise. |
359 |
|
Fixes RT#2549 |
360 |
|
|
361 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
362 |
|
|
363 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
364 |
|
so that it returns a result for select statements. |
365 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
366 |
|
server software. |
367 |
|
(PostgreSQLServer.require_authentication): The format of |
368 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
369 |
|
server version and generate the file in the correct format |
370 |
|
|
371 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
372 |
|
|
373 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
374 |
|
in the doc string and rephrase it a little. |
375 |
|
|
376 |
|
2004-12-15 Frank Koormann <[email protected]> |
377 |
|
|
378 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
379 |
|
session has been loaded successfully. The check is called by the relevant |
380 |
|
tests after executing load_session(). |
381 |
|
|
382 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
383 |
|
|
384 |
|
Make sure the region used to determine which shapes are visible |
385 |
|
actually matches the region on the printed page. If this isn't |
386 |
|
done properly some shapes might not be printed. |
387 |
|
Fixes RT #2692 |
388 |
|
|
389 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
390 |
|
renderer has to be at the same position as the mapregion |
391 |
|
|
392 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
393 |
|
has to be moved by (self.shiftx, self.shifty) too. |
394 |
|
|
395 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
396 |
|
|
397 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
398 |
|
generated python code which leads to exception in the __del__ |
399 |
|
method when the constructor fails. See the comments in the code |
400 |
|
for more details. |
401 |
|
|
402 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
403 |
|
with SWIG. |
404 |
|
|
405 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
406 |
|
|
407 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
408 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
409 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
410 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
411 |
|
is destroyed in tearDown, so there's no need to do it in a test |
412 |
|
case. |
413 |
|
|
414 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
415 |
|
debug print |
416 |
|
|
417 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
418 |
|
|
419 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
420 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
421 |
|
classes because in Python 2.2 they're still old-style classes. |
422 |
|
|
423 |
|
2004-12-13 Frank Koormann <[email protected]> |
424 |
|
|
425 |
|
Alternative Path feature: When loading a (moved) session where |
426 |
|
shapefiles cannot be found, ask the user. Use the specified path |
427 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
428 |
|
in such cases. |
429 |
|
|
430 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
431 |
|
in load_session() |
432 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
433 |
|
|
434 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
435 |
|
Added "alt_path" to self.path |
436 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
437 |
|
callback similar to db_connection_callback. |
438 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
439 |
|
shapefile_callback. In addition to raising the dialog the control of |
440 |
|
self.path('alt_path') is implemented here. |
441 |
|
|
442 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
443 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
444 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
445 |
|
formerly used in start_fileshapesource()/start_layer(). |
446 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
447 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
448 |
|
(load_session): Added shapefile_callback. |
449 |
|
|
450 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
451 |
|
feature (search / check). |
452 |
|
|
453 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
454 |
|
|
455 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
456 |
|
|
457 |
|
svgexport 0.9.2: Point size supports for maps. |
458 |
|
|
459 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
460 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
461 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
462 |
|
Added draw_func call with size when dealing with a point layer. |
463 |
|
|
464 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
465 |
|
|
466 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
467 |
|
|
468 |
|
Made sure that newlines are inserted in the svg path d attributes |
469 |
|
to raise the chance that the line length will be below 255 characters, |
470 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
471 |
|
|
472 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
473 |
|
Adding \n before L's and changed whitespace handling. |
474 |
|
|
475 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
476 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
477 |
|
|
478 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
479 |
|
|
480 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
481 |
|
|
482 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
483 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
484 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
485 |
|
All only to test DrawSpline. |
486 |
|
|
487 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
488 |
|
New implementation now really using the strange algorithm of |
489 |
|
xfig 3.1's approximated splines and its conversion to postscript |
490 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
491 |
|
to cubic beziers. |
492 |
|
(TestWithDC): Typo in comment fixed. |
493 |
|
|
494 |
|
2004-12-09 Martin Schulze <[email protected]> |
495 |
|
|
496 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
497 |
|
|
498 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
499 |
|
|
500 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
501 |
|
support for get_srs_discrepancies() since there are no |
502 |
|
discrepancies anymore (was a thinko) |
503 |
|
|
504 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
505 |
|
format priority now that more formats are supported globally by |
506 |
|
the render engine. |
507 |
|
|
508 |
|
2004-12-08 Silke Reimer <[email protected]> |
509 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
510 |
|
because it is not available in all versions of ogr |
511 |
|
|
512 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
513 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
514 |
|
global tests until a real one is commited. |
515 |
|
|
516 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
517 |
|
|
518 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
519 |
|
ogr. It is planned to add other vector formats. |
520 |
|
|
521 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
522 |
|
|
523 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
524 |
|
|
525 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
526 |
|
part of a (non-)fix to renable that the tests are always |
527 |
|
executed. |
528 |
|
|
529 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
530 |
|
|
531 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
532 |
|
Added test_drawbezier() to test DrawSpline(). |
533 |
|
|
534 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
535 |
|
Really implemented bezier drawing. |
536 |
|
|
537 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
538 |
|
to 0.9.1 because now the legend examples lines styles |
539 |
|
will be drawing with beziers. |
540 |
|
|
541 |
|
2004-12-05 Martin Schulze <[email protected]> |
542 |
|
|
543 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
544 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
545 |
|
|
546 |
|
2004-11-30 Martin Schulze <[email protected]> |
547 |
|
|
548 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
549 |
|
Improved the test for the internal compare method |
550 |
|
|
551 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
552 |
|
|
553 |
|
* Thuban/UI/about.py (About.__init__): Added |
554 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
555 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
556 |
|
to Developer. |
557 |
|
|
558 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
559 |
|
|
560 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
561 |
|
Removed Jan from author list as he did not change enough significant |
562 |
|
lines yet. |
563 |
|
|
564 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
565 |
|
of the Extension. |
566 |
|
|
567 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
568 |
|
|
569 |
|
* po/hu.po: New. Hungarian translation. Contributed |
570 |
|
by Norbert Solymosi. |
571 |
|
|
572 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
573 |
|
|
574 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
575 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
576 |
|
debug prints |
577 |
|
|
578 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
579 |
|
|
580 |
|
Fix broken tests for svg extension and added svg legend |
581 |
|
to Experimental menu. |
582 |
|
|
583 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
584 |
|
the test run correctly even if the extension is a package. |
585 |
|
Also removed the "import Thuban" which makes no sense. |
586 |
|
|
587 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
588 |
|
test module also be executed from the global test routine. |
589 |
|
This is done by looking for the absense of the DISPLAY variable. |
590 |
|
|
591 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
592 |
|
to Experimental menu since this module has yet not reached a stable |
593 |
|
status (ie. 1.0). |
594 |
|
|
595 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
596 |
|
|
597 |
|
* Extensions/svgexport/svgmapwriter.py: |
598 |
|
Added verbose variable and some logging depending on it. |
599 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
600 |
|
because counting i is not necessary. |
601 |
|
(class Pen, class Brush): Added simple __str__ methods. |
602 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
603 |
|
not exported to svg file) Note: holes still unhandled. |
604 |
|
|
605 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
606 |
|
Made a baseclass TestWithDC for test needed a DC. |
607 |
|
Added tests for bug #2698 (transparent polygons are not |
608 |
|
exported to svg file): |
609 |
|
Testobjectexport.test_transparent_polygon() |
610 |
|
|
611 |
|
* Thuban/Model/base.py (UnsetModified): |
612 |
|
Fixed some typos in docstring. |
613 |
|
|
614 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
615 |
|
Added hints on the used algorithm for handling holes. |
616 |
|
|
617 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
618 |
|
|
619 |
|
Some face lifting for the examples. |
620 |
|
|
621 |
|
* Examples/__init__.py: Make this directory a package. |
622 |
|
|
623 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
624 |
|
|
625 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
626 |
|
menu to Examples menu. |
627 |
|
|
628 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
629 |
|
minor changes. |
630 |
|
|
631 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
632 |
|
|
633 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
634 |
|
|
635 |
|
Changed way of extension registry for wms and added extension |
636 |
|
registry for umn_mapserver extension. |
637 |
|
|
638 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
639 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
640 |
|
|
641 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
642 |
|
|
643 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
644 |
|
importing of the actual umn mapserver management modules. |
645 |
|
Included a test for the required Python MapScript. |
646 |
|
|
647 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
648 |
|
|
649 |
|
Changed way of extension registry for importAPR, bboxdump |
650 |
|
and added extension registry for svgexport.extension registry for |
651 |
|
svgexport. |
652 |
|
|
653 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
654 |
|
of the actual importAPR module. |
655 |
|
|
656 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
657 |
|
__init__.py). |
658 |
|
|
659 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
660 |
|
����of the actual bboxdump module. |
661 |
|
|
662 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
663 |
|
����__init__.py). |
664 |
|
|
665 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
666 |
|
of the svgsaver module. |
667 |
|
|
668 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
669 |
|
to Experimental menu since this module has yet not reached a stable |
670 |
|
status (ie. 1.0). |
671 |
|
|
672 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
673 |
|
|
674 |
|
Now the hit test considers the size of point symbols. |
675 |
|
|
676 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
677 |
|
'size' defaulting to the previously fixed value 5. |
678 |
|
Extended doc-string. |
679 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
680 |
|
for symbols. |
681 |
|
Now the size of the largest point symbol is determined to find out |
682 |
|
about whether the point has been hit. |
683 |
|
This fixes the problem that only clicks inside a fixed distance of |
684 |
|
5 where found. |
685 |
|
|
686 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
687 |
|
|
688 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
689 |
|
selected symbols. |
690 |
|
|
691 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
692 |
|
Added consideration of the specific size of point symbols. |
693 |
|
The property for each point symbol is retrieved and the size applied |
694 |
|
for the rendering method. |
695 |
|
Added doc-string. |
696 |
|
|
697 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
698 |
|
|
699 |
|
Changed way of Extension Registry for gns2shp and profiling. |
700 |
|
|
701 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
702 |
|
__init__.py). |
703 |
|
|
704 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
705 |
|
of the actual gns2shp module. |
706 |
|
|
707 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
708 |
|
__init__.py). |
709 |
|
|
710 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
711 |
|
of the actual profiling module. |
712 |
|
|
713 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
714 |
|
|
715 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
716 |
|
|
717 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
718 |
|
|
719 |
|
Further elements for sizable point objects now |
720 |
|
making this feature usable though not yet complete. |
721 |
|
|
722 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
723 |
|
attribute 'size' for cldata when the shape layer is of point type. |
724 |
|
This also now make the test_load.py tests happy. |
725 |
|
|
726 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
727 |
|
gradient. |
728 |
|
|
729 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
730 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
731 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
732 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
733 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
734 |
|
for the size in case the corresponding layer is of point type. |
735 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
736 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
737 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
738 |
|
and refresh preview. |
739 |
|
|
740 |
|
|
741 |
|
|
742 |
|
2004-10-04 Martin Schulze <[email protected]> |
743 |
|
|
744 |
|
* Extensions/wms/test/test_parser.py |
745 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
746 |
|
self-test for compareLists() |
747 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
748 |
|
self-test for compareDicts() |
749 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
750 |
|
to verify the test routine fails with non-equal arguments |
751 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
752 |
|
to verify the test routine fails with non-equal arguments |
753 |
|
|
754 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
755 |
|
|
756 |
|
First elements for sizeable point objects. |
757 |
|
|
758 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
759 |
|
|
760 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
761 |
|
|
762 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
763 |
|
of a corresponding argument is given. |
764 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
765 |
|
|
766 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
767 |
|
(ClassGroupProperties.__init__): Set default size. |
768 |
|
(ClassGroupProperties.SetProperties): Set the size. |
769 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
770 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
771 |
|
(ClassGroupProperties__eq__): Compare also size. |
772 |
|
(ClassGroupProperties__repr__): Print also size. |
773 |
|
|
774 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
775 |
|
the size attribute. |
776 |
|
|
777 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
778 |
|
Also, now there is a return value that indicates whether the drawing |
779 |
|
size exceeded the given rect extent and if so the new extent. |
780 |
|
Finally, point objects are drawn depending on the size. If either |
781 |
|
the width or height is exceeded, the new extent is returned. |
782 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
783 |
|
evaluate the return value and, if not None, adapt the grid widget size |
784 |
|
accordingly and redraw again. |
785 |
|
|
786 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
787 |
|
If the draw function is for points, call it with the size as additional |
788 |
|
parameter. |
789 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
790 |
|
the size. Compute the radius using the size. |
791 |
|
|
792 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
793 |
|
that Thuban supports size, apply this correctly. |
794 |
|
|
795 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
796 |
|
|
797 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
798 |
|
|
799 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
800 |
|
Map chapter. |
801 |
|
|
802 |
|
2004-10-01 Martin Schulze <[email protected]> |
803 |
|
|
804 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
805 |
|
argument for general use through properties-dialog selector |
806 |
|
|
807 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
808 |
|
both provided layer classes/types. |
809 |
|
|
810 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
811 |
|
map can be retrieved through the parent which is passed to the |
812 |
|
constructor anyway and doesn't require an argument of its own, |
813 |
|
required for the unification of arguments for general use through |
814 |
|
properties-dialog selector. |
815 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
816 |
|
whether a dialog is already opened (and raising it to the users |
817 |
|
attention) and creating a new dialog into a function of its own |
818 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
819 |
|
method |
820 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
821 |
|
global registration of properties dialog classes (which are indeed |
822 |
|
layer-specific). |
823 |
|
|
824 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
825 |
|
for general use through properties-dialog selector, the map can be |
826 |
|
retrieved through the parent and doesn't require an argument of |
827 |
|
its own. |
828 |
|
|
829 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
830 |
|
the provided WMS layer |
831 |
|
|
832 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
833 |
|
|
834 |
|
New feature: Registry for Extensions. |
835 |
|
|
836 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
837 |
|
Extensions. |
838 |
|
|
839 |
|
* Thuban/UI/about.py (About.__init__): Added description |
840 |
|
of the registered extensions with all of the information. |
841 |
|
|
842 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
843 |
|
|
844 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
845 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
846 |
|
Extensions/wms/wms.py: Added registration of the extension. |
847 |
|
|
848 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
849 |
|
|
850 |
|
More fixes to svgexport to make used ids unique and |
851 |
|
conforming to XML's Name production. |
852 |
|
|
853 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
854 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
855 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
856 |
|
Added Bernhard R. as author. |
857 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
858 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
859 |
|
Also transform second id part with "%d" and catch the TypeError |
860 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
861 |
|
Corrected typo inBernhard's author line. |
862 |
|
(SetBaseID): Return the transformed base id. Transform characters |
863 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
864 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
865 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
866 |
|
for used_baseids checks. |
867 |
|
|
868 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
869 |
|
|
870 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
871 |
|
Remove a debug print and some tab characters. |
872 |
|
|
873 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
874 |
|
|
875 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
876 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
877 |
|
the interaction of the three functions and the XML id contrains. |
878 |
|
|
879 |
|
|
880 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
881 |
|
|
882 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
883 |
|
Module. |
884 |
|
|
885 |
|
* Doc/README: Added info on ThubanModel.xmi. |
886 |
|
|
887 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
888 |
|
|
889 |
|
* Doc/README: New. Some info about how to generate technical |
890 |
|
documentation from the source code. |
891 |
|
This text was send to the Thuban developer mailing list on |
892 |
|
September 21st 2004 by Bernhard Reiter. |
893 |
|
|
894 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
895 |
|
|
896 |
|
Improved the svgexport to only use unique ids. Will issues |
897 |
|
an error message dialoge when two layer names are the same. |
898 |
|
ShapeIDs are now added with a dash within the svg ids. |
899 |
|
|
900 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
901 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
902 |
|
(TestSVGRenderer): New test class with test_make_in() and |
903 |
|
test_check_for_layer_name_clash() |
904 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
905 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
906 |
|
satisfying test_check_for_layer_name_clash() |
907 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
908 |
|
test_make_in(). |
909 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
910 |
|
and wxICON_HAND. |
911 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
912 |
|
catching SVGmapWriterError notify the user and delete the target file. |
913 |
|
|
914 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
915 |
|
|
916 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
917 |
|
|
918 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
919 |
|
|
920 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
921 |
|
small bug with the line color. Now the line color will now only set |
922 |
|
if it is set in Thuban an not Transparent. |
923 |
|
|
924 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
925 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
926 |
|
from the last. |
927 |
|
|
928 |
|
2004-08-20 Silke Reimer <[email protected]> |
929 |
|
|
930 |
|
* Thuban/Model/layer.py: |
931 |
|
Fixes bug in projection handling: Otherwise very large region might not |
932 |
|
have valid values in the layer's projection. |
933 |
|
|
934 |
|
2004-08-20 Silke Reimer <[email protected]> |
935 |
|
|
936 |
|
* Thuban/UI/about.py: |
937 |
|
small changes to be consistent with coding style. |
938 |
|
|
939 |
|
2004-08-13 Martin Schulze <[email protected]> |
940 |
|
|
941 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
942 |
|
Adjusted a comment |
943 |
|
|
944 |
|
2004-08-11 Silke Reimer <[email protected]> |
945 |
|
|
946 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
947 |
|
too many and too enhanced imports of locale |
948 |
|
|
949 |
|
2004-08-10 Silke Reimer <[email protected]> |
950 |
|
|
951 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
952 |
|
function unicodeToLocale() to convert special characters to users |
953 |
|
locale encoding |
954 |
|
|
955 |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
2004-08-10 Jan-Oliver Wagner <[email protected]> |
956 |
|
|
957 |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |