1 |
|
2005-01-21 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
4 |
|
a projection and returns a formatted string representing the |
5 |
|
parameters to feed to gdalwarp. This function eliminates |
6 |
|
redundancy in draw_raster_layer(). |
7 |
|
(BaseRenderer.render_map_incrementally): Removed the optimization which |
8 |
|
drew the top most raster layer first and then only those vector- |
9 |
|
based layers that are above it. With the support for transparency |
10 |
|
this optimization breaks correct behaviour. |
11 |
|
(BaseRenderer.draw_raster_layer): Reorganize code to support possible |
12 |
|
future enhancements to raster layer bounding box. The old behaviour has |
13 |
|
not changed. Also, change calling parameters to draw_raster_data() |
14 |
|
to specify new RAW data format and mask. |
15 |
|
(BaseRenderer.draw_raster_data): Change signature to include an optional |
16 |
|
parameter for mask information. Change documentation to mention |
17 |
|
support for new parameter and added option for RAW data format. |
18 |
|
The data argument is now a list of [width, height, data]. |
19 |
|
|
20 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional |
21 |
|
mask parameter. Add new condition for RAW format, which |
22 |
|
significantly reduces rendering time. Add condition for |
23 |
|
mask parameter. |
24 |
|
|
25 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
26 |
|
data array of RGB values from the projected image returned from |
27 |
|
the gdal warping functions. In the case of palette based images, it |
28 |
|
converts the NO_DATA index to the mask color. |
29 |
|
(ProjectRasterFile): Removed all custom memory driver references |
30 |
|
and replaced it with the standard in-memory dataset provided |
31 |
|
by gdal. The return data is no longer a BMP file, but an array |
32 |
|
of RGB values, one set triple per pixel. |
33 |
|
|
34 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
35 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
36 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
37 |
|
|
38 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
39 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
40 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
41 |
|
|
42 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
43 |
|
Updated signature. |
44 |
|
(TestBaseRenderer.test_raster_no_projection): Changed the test |
45 |
|
data to be data in the uncompressed RAW format returned from |
46 |
|
ProjectRasterFile. |
47 |
|
|
48 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made |
51 |
|
string available for i18n. |
52 |
|
|
53 |
|
2005-01-20 Russell Nelson <[email protected]> |
54 |
|
|
55 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
56 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
57 |
|
It's the wrong thing to do in the long run, but it's necessary for |
58 |
|
those users until that bug is fixed. Otherwise the projection |
59 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
60 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
61 |
|
|
62 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
63 |
|
|
64 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added |
65 |
|
docstring and comment that the warning code here is a hack. |
66 |
|
|
67 |
|
2005-01-20 Russell Nelson <[email protected]> |
68 |
|
|
69 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn |
70 |
|
user about misprojected layers when their lat/lon bounding |
71 |
|
box exceeds rational lat/lon values. |
72 |
|
|
73 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
74 |
|
|
75 |
|
* Thuban/UI/about.py (unicodeToLocale): Improved: |
76 |
|
Use 'ascii' and then 'replace' for other characters |
77 |
|
when getdefaultlocale returns None. Thanks to Bernhard H. . |
78 |
|
|
79 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
80 |
|
|
81 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment |
82 |
|
that OnRangeText might be called twice and using None as argument. |
83 |
|
|
84 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
85 |
|
|
86 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a |
87 |
|
OnRangeText(0) to work around a different in wx Behaviour noticed |
88 |
|
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
89 |
|
|
90 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
91 |
|
|
92 |
|
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
93 |
|
None. (Fixes rt#2910.) |
94 |
|
|
95 |
|
2005-01-18 Frank Koormann <[email protected]> |
96 |
|
|
97 |
|
New Extension: mouseposition |
98 |
|
Tool to collect mouse click positions (map coordinates) in a dialog. |
99 |
|
|
100 |
|
* Extensions/mouseposition/__init__.py: New, extension registration |
101 |
|
|
102 |
|
* Extensions/mouseposition/mouseposition.py: New, implements the |
103 |
|
dialog and adds a tool to Thuban mainwindow. |
104 |
|
|
105 |
|
* Extensions/mouseposition/position.xpm: New, icon for tool. |
106 |
|
|
107 |
|
2005-01-14 Jan-Oliver Wagner <[email protected]> |
108 |
|
|
109 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
110 |
|
|
111 |
|
2005-01-11 Frank Koormann <[email protected]> |
112 |
|
|
113 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
114 |
|
Fix indention bug. |
115 |
|
|
116 |
|
2005-01-09 Frank Koormann <[email protected]> |
117 |
|
|
118 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer): |
119 |
|
BugFix 2901: Explicitly copy layers ClassificationColumn since it |
120 |
|
is not part of the layers Classification. |
121 |
|
|
122 |
|
2005-01-03 Frank Koormann <[email protected]> |
123 |
|
|
124 |
|
* Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally): |
125 |
|
BugFix 2883: Former implementation only worked on classified point |
126 |
|
layers: KeyError was raised, now use the default size if field is None. |
127 |
|
|
128 |
|
2004-12-27 Bernhard Reiter <[email protected]> |
129 |
|
|
130 |
|
svgexport 1.0.0cvs: Fixed label export. |
131 |
|
|
132 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
133 |
|
class TestSVGRenderer(): New class; new test test_label_font(). |
134 |
|
|
135 |
|
* Extensions/svgexport/svgmapwriter.py |
136 |
|
(SVGRenderer.label_font()): initialised Font size with self.factor now, |
137 |
|
makes test_label_font happy. |
138 |
|
|
139 |
|
* Extensions/svgexport/TODO: crossed out fixed label export item. |
140 |
|
Added item for options. |
141 |
|
|
142 |
|
* Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs. |
143 |
|
|
144 |
|
2004-12-27 Russell Nelson <[email protected]> |
145 |
|
|
146 |
|
Middle mouse button pans. |
147 |
|
|
148 |
|
* Thuban/UI/view.py (MapCanvas.__init__): Subscribe also |
149 |
|
OnMiddleDown and OnMiddleUp events. |
150 |
|
(MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the |
151 |
|
previously used tool. |
152 |
|
(MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before |
153 |
|
pressing the middle mouse button. |
154 |
|
|
155 |
|
2004-12-27 Jan-Oliver Wagner <[email protected]> |
156 |
|
|
157 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
158 |
|
|
159 |
|
2004-12-23 Jan-Oliver Wagner <[email protected]> |
160 |
|
|
161 |
|
* Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a |
162 |
|
\n to stderr after the warnings. Thanks to Russell Nelson. |
163 |
|
|
164 |
|
2004-12-20 Nina Hueffmeyer <[email protected]> |
165 |
|
|
166 |
|
* Extensions/ogr/ogrshapes.py: Fixed some issues from |
167 |
|
Bernhard (coding guidelines etc.). Additionally it is now possible to |
168 |
|
display shapefiles containing feature collections (e.g.polygons |
169 |
|
with holes). Works with gdal 1.2.1 now. |
170 |
|
|
171 |
|
* Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues |
172 |
|
from Bernhard (coding guidelines etc.). If ogr can't be imported, |
173 |
|
tests are skipped now. |
174 |
|
|
175 |
|
* Extensions/ogr/ogrstart.py: Fixed some typings. |
176 |
|
|
177 |
|
2004-12-20 Bernhard Reiter <[email protected]> |
178 |
|
|
179 |
|
* Extensions/svgexport/TODO: updated to add support for |
180 |
|
raster layers and labels for 1.0.1. |
181 |
|
|
182 |
|
* Extensions/svgexport/svgmapwriter.py (draw_raster_layer): |
183 |
|
Issue a warning now. |
184 |
|
|
185 |
|
2004-12-19 Bernhard Reiter <[email protected]> |
186 |
|
|
187 |
|
* Extensions/svgexport/TODO: Added idea to support triggering |
188 |
|
the application down the pipe. |
189 |
|
|
190 |
|
2004-12-19 Bernhard Reiter <[email protected]> |
191 |
|
|
192 |
|
svgexport: Improved code quality, mainly by better naming. |
193 |
|
|
194 |
|
* Extensions/svgexport/svgmapwriter.py: |
195 |
|
DrawPath() renamed to DrawPolygonPath(), |
196 |
|
added documentation, improved comments and variable names. |
197 |
|
|
198 |
|
* Extensions/svgexport/svgmapwriter.py, |
199 |
|
Extensions/svgexport/test/test_svgmapwriter.py: |
200 |
|
All using DrawPolygonPath() now, the default parameter closed=True |
201 |
|
omitted. |
202 |
|
|
203 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
204 |
|
renamed test_polygon_opened() to test_polyline() |
205 |
|
renamed test_transparent_polygon() to test_transparent_polyline() |
206 |
|
|
207 |
|
2004-12-18 Jan-Oliver Wagner <[email protected]> |
208 |
|
|
209 |
|
Some fixes of gns2shp extension. |
210 |
|
|
211 |
|
* Extensions/gns2shp/test/__init__.py: New. Make this directory a |
212 |
|
package. |
213 |
|
|
214 |
|
* Extensions/gns2shp/test/test_gns2shp.py: Add some import paths |
215 |
|
dynamically. |
216 |
|
|
217 |
|
* Extensions/gns2shp/test/README: Simplified description how to test. |
218 |
|
|
219 |
|
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string, |
220 |
|
fixed some dimensions of fields according to the GNS documentation |
221 |
|
which seems to change undocumented. |
222 |
|
Now killing trailing \n and/or \r from MODIFY_DATE. |
223 |
|
This fixes RT#2453. |
224 |
|
|
225 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
226 |
|
|
227 |
|
svgexport 1.0.0: Treats holes and islands nicely. Documentation added. |
228 |
|
|
229 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
230 |
|
Added new tests: test_export_polygon_with_hole() |
231 |
|
and test_polygon_with_hole(). |
232 |
|
|
233 |
|
* Extensions/svgexport/svgmapwriter.py |
234 |
|
(draw_polygon_shape()): Uses DrawPath correctly now. |
235 |
|
|
236 |
|
* Doc/manual/thuban-manual.xml: Added documentation for stable |
237 |
|
extention svgexport. |
238 |
|
* Doc/manual/thuban-manual-de.xml: Copied English section about |
239 |
|
svexport over. |
240 |
|
|
241 |
|
* Extensions/svgexport/__init__.py: Bumped version number to 1.0.0. |
242 |
|
|
243 |
|
* Extensions/svgexport/svgsaver.py,maplegend.py: |
244 |
|
Moved from experimental to stable extension menu. |
245 |
|
|
246 |
|
* Extensions/svgexport/TODO: updated. |
247 |
|
|
248 |
|
|
249 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
250 |
|
|
251 |
|
Added Extensions/svgexport/TODO |
252 |
|
|
253 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
254 |
|
|
255 |
|
Refactored in svgexport: |
256 |
|
DrawPath replaces DrawPolygon; added newline in front of "M" in paths. |
257 |
|
|
258 |
|
* Extensions/svgexport/svgmapwriter.py |
259 |
|
Added verbosity level 3 to print out polygon points. |
260 |
|
(class Point): added __repr__ |
261 |
|
(class Brush, __str__()): Added space after ,. |
262 |
|
(DrawPolygon): Renamed to DrawPath() |
263 |
|
(DrawPath): Takes list of polygons as input now, adds \n before "M"s. |
264 |
|
(DrawLines): Using DrawPath now. |
265 |
|
|
266 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
267 |
|
Replaced DrawPolygon() calls with DrawPath() and put the first argument |
268 |
|
inside another list. Adapted test data with a newline before "M". |
269 |
|
|
270 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
271 |
|
|
272 |
|
Refactored svgexport tests: 9 double tests runs eliminated; |
273 |
|
code size reduced by 8 lines. |
274 |
|
|
275 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
276 |
|
(class TestWithDC): Renamed to BaseTestWithDC, moved to top. |
277 |
|
(class BaseWithDCtools): New, subclass from BaseTestWithDC. |
278 |
|
(class TestDrawSplines): now subclass from BaseTestWithDCtools, |
279 |
|
this fixed the double running of the nine tests of TestVirtualDC. |
280 |
|
(class TestVirtualDC): Using self.dc and self.file from setUp(). |
281 |
|
|
282 |
|
2004-12-17 Bernhard Herzog <[email protected]> |
283 |
|
|
284 |
|
Two windows specific fixes ported from thuban-1�0-branch: |
285 |
|
|
286 |
|
* Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale |
287 |
|
instead of getlocale because getlocale doesn't return a usable |
288 |
|
encoding name on a german windows 2000 |
289 |
|
|
290 |
|
* setup.py: windows build: Removed the absolute path names and |
291 |
|
made all prfixes relative to the directory containing setup.py. |
292 |
|
Makes it a little easier to adapt to a different system. |
293 |
|
|
294 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
295 |
|
|
296 |
|
Add support for PostGIS tables with LINESTRING geometries. |
297 |
|
Fixes RT#2299 |
298 |
|
|
299 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING |
300 |
|
|
301 |
|
* test/postgissupport.py |
302 |
|
(PostgreSQLServer.get_default_static_data_db): Rename the "roads" |
303 |
|
table to "roads-multi" because it now uses MULTILINESTRING |
304 |
|
geometries and introduce a new "roads" table that uses LINESTRING |
305 |
|
(coords_to_multilinestring): Make the doc string more precise |
306 |
|
(coords_to_linestring): New. Create a LINESTRING WKT |
307 |
|
representatin |
308 |
|
(wkt_converter): Add coords_to_linestring |
309 |
|
(upload_shapefile): Rephrase the doc-string a bit. |
310 |
|
|
311 |
|
* test/test_postgis_db.py (TestPostGISShapestoreArc) |
312 |
|
(LineStringTests) |
313 |
|
(TestPostGISShapestoreLineString) |
314 |
|
(TestPostGISShapestoreMultiLineString): Split |
315 |
|
TestPostGISShapestoreArc into a base class LineStringTests and two |
316 |
|
derived classes TestPostGISShapestoreLineString for LINESTRING |
317 |
|
geometries and TestPostGISShapestoreMultiLineString for |
318 |
|
MULTILINESTRING geometries. Most test methods are in the base |
319 |
|
class with the exception of tests that explicitly check the raw |
320 |
|
format. |
321 |
|
|
322 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
323 |
|
|
324 |
|
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4 |
325 |
|
|
326 |
|
* test/postgissupport.py (find_postgis_sql): Different postgis |
327 |
|
versions put the postgis.sql file into slightly different places |
328 |
|
so we have to look in both. The updated doc string describes this |
329 |
|
is more detail. |
330 |
|
|
331 |
|
* test/test_postgis_db.py |
332 |
|
(TestPostGISSpecialCases.test_column_name_quoting): The return |
333 |
|
value of UniqueValues is unsorted, so it has to be sorted for |
334 |
|
comparison. |
335 |
|
|
336 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
337 |
|
|
338 |
|
Fix for RT#2237 |
339 |
|
|
340 |
|
* Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the |
341 |
|
panel to be shown is the UnknownProjPanel disable the OK and Try |
342 |
|
buttons. Otherwise enable them. |
343 |
|
(ProjFrame.__GetProjection): The UnknownProjPanel returns None for |
344 |
|
the parameters. In that case __GetProjection also returns None |
345 |
|
now. |
346 |
|
|
347 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
348 |
|
|
349 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the |
350 |
|
minimum number of classes to 2. The calculate_quantiles needs at |
351 |
|
least two and raises an exception otherwise. |
352 |
|
Fixes RT#2549 |
353 |
|
|
354 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
355 |
|
|
356 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
357 |
|
so that it returns a result for select statements. |
358 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
359 |
|
server software. |
360 |
|
(PostgreSQLServer.require_authentication): The format of |
361 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
362 |
|
server version and generate the file in the correct format |
363 |
|
|
364 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
365 |
|
|
366 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
367 |
|
in the doc string and rephrase it a little. |
368 |
|
|
369 |
|
2004-12-15 Frank Koormann <[email protected]> |
370 |
|
|
371 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
372 |
|
session has been loaded successfully. The check is called by the relevant |
373 |
|
tests after executing load_session(). |
374 |
|
|
375 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
376 |
|
|
377 |
|
Make sure the region used to determine which shapes are visible |
378 |
|
actually matches the region on the printed page. If this isn't |
379 |
|
done properly some shapes might not be printed. |
380 |
|
Fixes RT #2692 |
381 |
|
|
382 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
383 |
|
renderer has to be at the same position as the mapregion |
384 |
|
|
385 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
386 |
|
has to be moved by (self.shiftx, self.shifty) too. |
387 |
|
|
388 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
389 |
|
|
390 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
391 |
|
generated python code which leads to exception in the __del__ |
392 |
|
method when the constructor fails. See the comments in the code |
393 |
|
for more details. |
394 |
|
|
395 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
396 |
|
with SWIG. |
397 |
|
|
398 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
399 |
|
|
400 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
401 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
402 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
403 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
404 |
|
is destroyed in tearDown, so there's no need to do it in a test |
405 |
|
case. |
406 |
|
|
407 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
408 |
|
debug print |
409 |
|
|
410 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
411 |
|
|
412 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
413 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
414 |
|
classes because in Python 2.2 they're still old-style classes. |
415 |
|
|
416 |
|
2004-12-13 Frank Koormann <[email protected]> |
417 |
|
|
418 |
|
Alternative Path feature: When loading a (moved) session where |
419 |
|
shapefiles cannot be found, ask the user. Use the specified path |
420 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
421 |
|
in such cases. |
422 |
|
|
423 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
424 |
|
in load_session() |
425 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
426 |
|
|
427 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
428 |
|
Added "alt_path" to self.path |
429 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
430 |
|
callback similar to db_connection_callback. |
431 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
432 |
|
shapefile_callback. In addition to raising the dialog the control of |
433 |
|
self.path('alt_path') is implemented here. |
434 |
|
|
435 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
436 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
437 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
438 |
|
formerly used in start_fileshapesource()/start_layer(). |
439 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
440 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
441 |
|
(load_session): Added shapefile_callback. |
442 |
|
|
443 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
444 |
|
feature (search / check). |
445 |
|
|
446 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
447 |
|
|
448 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
449 |
|
|
450 |
|
svgexport 0.9.2: Point size supports for maps. |
451 |
|
|
452 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
453 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
454 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
455 |
|
Added draw_func call with size when dealing with a point layer. |
456 |
|
|
457 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
458 |
|
|
459 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
460 |
|
|
461 |
|
Made sure that newlines are inserted in the svg path d attributes |
462 |
|
to raise the chance that the line length will be below 255 characters, |
463 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
464 |
|
|
465 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
466 |
|
Adding \n before L's and changed whitespace handling. |
467 |
|
|
468 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
469 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
470 |
|
|
471 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
472 |
|
|
473 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
474 |
|
|
475 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
476 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
477 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
478 |
|
All only to test DrawSpline. |
479 |
|
|
480 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
481 |
|
New implementation now really using the strange algorithm of |
482 |
|
xfig 3.1's approximated splines and its conversion to postscript |
483 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
484 |
|
to cubic beziers. |
485 |
|
(TestWithDC): Typo in comment fixed. |
486 |
|
|
487 |
|
2004-12-09 Martin Schulze <[email protected]> |
488 |
|
|
489 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
490 |
|
|
491 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
492 |
|
|
493 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
494 |
|
support for get_srs_discrepancies() since there are no |
495 |
|
discrepancies anymore (was a thinko) |
496 |
|
|
497 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
498 |
|
format priority now that more formats are supported globally by |
499 |
|
the render engine. |
500 |
|
|
501 |
|
2004-12-08 Silke Reimer <[email protected]> |
502 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
503 |
|
because it is not available in all versions of ogr |
504 |
|
|
505 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
506 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
507 |
|
global tests until a real one is commited. |
508 |
|
|
509 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
510 |
|
|
511 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
512 |
|
ogr. It is planned to add other vector formats. |
513 |
|
|
514 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
515 |
|
|
516 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
517 |
|
|
518 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
519 |
|
part of a (non-)fix to renable that the tests are always |
520 |
|
executed. |
521 |
|
|
522 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
523 |
|
|
524 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
525 |
|
Added test_drawbezier() to test DrawSpline(). |
526 |
|
|
527 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
528 |
|
Really implemented bezier drawing. |
529 |
|
|
530 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
531 |
|
to 0.9.1 because now the legend examples lines styles |
532 |
|
will be drawing with beziers. |
533 |
|
|
534 |
|
2004-12-05 Martin Schulze <[email protected]> |
535 |
|
|
536 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
537 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
538 |
|
|
539 |
|
2004-11-30 Martin Schulze <[email protected]> |
540 |
|
|
541 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
542 |
|
Improved the test for the internal compare method |
543 |
|
|
544 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
545 |
|
|
546 |
|
* Thuban/UI/about.py (About.__init__): Added |
547 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
548 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
549 |
|
to Developer. |
550 |
|
|
551 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
552 |
|
|
553 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
554 |
|
Removed Jan from author list as he did not change enough significant |
555 |
|
lines yet. |
556 |
|
|
557 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
558 |
|
of the Extension. |
559 |
|
|
560 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
561 |
|
|
562 |
|
* po/hu.po: New. Hungarian translation. Contributed |
563 |
|
by Norbert Solymosi. |
564 |
|
|
565 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
566 |
|
|
567 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
568 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
569 |
|
debug prints |
570 |
|
|
571 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
572 |
|
|
573 |
|
Fix broken tests for svg extension and added svg legend |
574 |
|
to Experimental menu. |
575 |
|
|
576 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
577 |
|
the test run correctly even if the extension is a package. |
578 |
|
Also removed the "import Thuban" which makes no sense. |
579 |
|
|
580 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
581 |
|
test module also be executed from the global test routine. |
582 |
|
This is done by looking for the absense of the DISPLAY variable. |
583 |
|
|
584 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
585 |
|
to Experimental menu since this module has yet not reached a stable |
586 |
|
status (ie. 1.0). |
587 |
|
|
588 |
2004-11-22 Bernhard Reiter <[email protected]> |
2004-11-22 Bernhard Reiter <[email protected]> |
589 |
|
|
590 |
* Extensions/svgexport/svgmapwriter.py: |
* Extensions/svgexport/svgmapwriter.py: |