1 |
|
2007-02-20 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
* test/README: Added example how to set the PATH for postgis on |
4 |
|
Debian Etch. |
5 |
|
|
6 |
|
2007-01-13 Didrik Pinte <[email protected]> |
7 |
|
|
8 |
|
bboxdump, gns2shp, importAPR, mouseposition, ogr, profiling, svgexport |
9 |
|
extensions migrated to wxPython 2.6 |
10 |
|
|
11 |
|
* Extensions/bboxdump/bboxdump.py: |
12 |
|
updated wx statements |
13 |
|
|
14 |
|
* Extensions/gns2shp/gns2shp.py: |
15 |
|
updated wx statements |
16 |
|
|
17 |
|
* Extensions/importAPR/importAPR.py: |
18 |
|
updated wx statements |
19 |
|
|
20 |
|
* Extensions/mouseposition/mouseposition.py: |
21 |
|
updated wx statements |
22 |
|
|
23 |
|
* Extensions/ogr/ |
24 |
|
ogrdialog.py, ogrstart.py: |
25 |
|
updated wx statements |
26 |
|
|
27 |
|
* Extensions/profiling/profiling.py: |
28 |
|
updated wx statements |
29 |
|
|
30 |
|
* Extensions/svgexport/ |
31 |
|
maplegend.py, svgsaver.py: |
32 |
|
updated wx statements |
33 |
|
|
34 |
|
|
35 |
|
2007-01-08 Didrik Pinte <[email protected]> |
36 |
|
|
37 |
|
export_shapefile extension migrated to wxPython 2.6 |
38 |
|
|
39 |
|
* Extensions/export_shapefile/export_shapefile.py: |
40 |
|
updated wx statements, changed the FileDialog to wx.SAVE (was wx.OPEN) |
41 |
|
|
42 |
|
2007-01-08 Didrik Pinte <[email protected]> |
43 |
|
|
44 |
|
umn_mapserver extension migrated to wxPython 2.6 |
45 |
|
|
46 |
|
* Extensions/umn_maserver/ |
47 |
|
mf_handle.py, mf_import.py, mf_export.py: |
48 |
|
update wx imports to 2.6 policy |
49 |
|
|
50 |
|
2007-01-06 Didrik Pinte <[email protected]> |
51 |
|
|
52 |
|
UTF-8 locales support reading non utf-8 files. |
53 |
|
This is a workaround and not a real bugfix. See |
54 |
|
http://wald.intevation.org/tracker/index.php?func=detail&aid=118 |
55 |
|
for more details |
56 |
|
|
57 |
|
* Thuban/UI/tableview.py, controls.py, baserenderer.py, view.py: |
58 |
|
decode text from iso-8859-1 encoding. |
59 |
|
|
60 |
|
2007-01-01 Bernhard Reiter <[email protected]> |
61 |
|
|
62 |
|
* test/postgissupport.py, test/test_postgis_db.py: adding an |
63 |
|
explicit WITH OIDS to the create table commands. This fixes tests |
64 |
|
that rely on an oid column to be present for postgresql >=8.0. |
65 |
|
Thanks for Frank Koormann for the hint. |
66 |
|
|
67 |
|
2006-11-06 Didrik Pinte <[email protected]> |
68 |
|
|
69 |
|
* libraries/thuban/wxproj.cpp: bugfix - allow compilation with |
70 |
|
msvc++ toolkit 2003 |
71 |
|
|
72 |
|
2006-11-06 Bernhard Reiter <[email protected]> |
73 |
|
|
74 |
|
Made it easier to run PostGIS test on Debian Etch. Improving |
75 |
|
https://wald.intevation.org/tracker/index.php?func=detail&aid=173 . |
76 |
|
|
77 |
|
* test/postgissupport.py: Taking pg_ctl and initdb commands |
78 |
|
from internal variables now. Adding deactivated example values |
79 |
|
for Debian Etch. |
80 |
|
find_postgis_sql(): Added special line for Debian Etch postgresql-8.1. |
81 |
|
Added copyright year 2006. |
82 |
|
|
83 |
|
2006-10-25 Bernhard Reiter <[email protected]> |
84 |
|
|
85 |
|
Moved ogr Extension to Extension menu. |
86 |
|
|
87 |
|
* Extensions/ogr/ |
88 |
|
__init__.py, ogrstart.py, ogrshapes.py, ogrdialog.py |
89 |
|
test/test_OGRShapestore.py, test/__init__.py: |
90 |
|
adding encoding information and made sure Autor's names |
91 |
|
with an umlaut are actually written with an umlaut. |
92 |
|
|
93 |
|
* Extensions/ogr/ogrstrat.py: now registering in menu "Extensions", |
94 |
|
having a "(testing)" string before the submenu to prepare for 1.2.0 |
95 |
|
release. Bumped copyright year to 2006. |
96 |
|
|
97 |
|
2006-10-15 Bernhard Reiter <[email protected]> |
98 |
|
|
99 |
|
* Thuban/UI/renderer.py: Added module variable verbose and |
100 |
|
added verbose output before doing a raster projection. |
101 |
|
Minor: Added (c) year 2006. |
102 |
|
|
103 |
|
* test/test_baserenderer.py: Added new function |
104 |
|
test_projected_raster_decimalcommalocale() |
105 |
|
Added new author Bernhard Reiter and new copyright year 2006. |
106 |
|
|
107 |
|
* libraries/thuban/gdalwarp.cpp(ProjectRasterFile): Adding |
108 |
|
switching to LC_NUMERIC "C" and back before calling GDAL functions - |
109 |
|
only #if python >=2.4 . |
110 |
|
|
111 |
|
2006-10-10 Didrik Pinte <[email protected]> |
112 |
|
|
113 |
|
Win32 build updates |
114 |
|
|
115 |
|
* setup.py : |
116 |
|
- update to the latest libs for win32 setup tasks |
117 |
|
- added gdal and Lib content to the inno setup build task |
118 |
|
- added stable and experimental extensions to setup packages |
119 |
|
|
120 |
|
* thuban.py : |
121 |
|
- gdal support for win32 inno installation |
122 |
|
|
123 |
|
2006-10-10 Didrik Pinte <[email protected]> |
124 |
|
|
125 |
|
* Thuban/Model/layer.py (Layer.GetLabelPosFromShape): new method |
126 |
|
extracted from Thuban/UI/viewport.py |
127 |
|
* Thuban/UI/viewport.py (Viewport.LabelShapeAt): uses new method |
128 |
|
|
129 |
|
2006-09-28 Didrik Pinte <[email protected]> |
130 |
|
|
131 |
|
* Thuban/UI/classgen.py: bugfix due to wx2.6 update |
132 |
|
|
133 |
|
* Thuban/UI/view.py: removed non needed declaration |
134 |
|
|
135 |
|
* Thuban/UI/selection.py : typo correction |
136 |
|
|
137 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
138 |
|
|
139 |
|
* Thuban/Model/proj.py(_do_we_have_to_work_around_broken_proj): |
140 |
|
Making the test more robust for observed python 2.3 problems |
141 |
|
with setlocale(). |
142 |
|
|
143 |
|
* test/runtests.py: Added new option ---setdecimalcommalocale |
144 |
|
to run all tests with an LC_NUMERIC that uses comma as decimal_point. |
145 |
|
Minor: Added (c) year 2006. Fixed typo in a docstring. |
146 |
|
|
147 |
|
* test/test_transientdb.py: Minor: Added (c) year 2006. Fixed typo in |
148 |
|
a docstring. |
149 |
|
|
150 |
|
2006-09-23 Bernhard Reiter <[email protected]> |
151 |
|
|
152 |
|
* Extensions/ogr/test/test_OGRShapestore.py: fixed skip_if_no_ogr() |
153 |
|
and added it to TestOGRTable.setUp() so that all tests get skipped |
154 |
|
if ogr cannot be imported. Added (c) year 2006. |
155 |
|
|
156 |
|
2006-09-18 Didrik Pinte <[email protected]> |
157 |
|
|
158 |
|
* wxPython 2.6 update : wx 2.4 syntax has been updated to 2.6 |
159 |
|
|
160 |
|
2006-09-18 Bernhard Reiter <[email protected]> |
161 |
|
|
162 |
|
Fixed proj behaviour with python >=2.4 when decimal_point != '.'. |
163 |
|
|
164 |
|
* Thuban/UI/application.py: Fixed warning dialog when gdal is missing. |
165 |
|
|
166 |
|
* test/test_proj.py: new test_lc_numeric_robustness(). Added author |
167 |
|
Bernhard Reiter and new copyright year 2006. |
168 |
|
|
169 |
|
* Thuban/Model/proj.py: New _do_we_have_to_work_around_broken_proj() |
170 |
|
and Projection.assuregoodlocale(), Projection.assureinitlocale(). |
171 |
|
Added author Bernhard Reiter and (c) 2006. |
172 |
|
|
173 |
|
2006-09-15 Bernhard Reiter <[email protected]> |
174 |
|
|
175 |
|
* README: added RXP and pyRXP as optional for tests. |
176 |
|
|
177 |
|
* test/localessupport.py: New. Contains a helper function |
178 |
|
to find a locale with comma used as decimal_point. |
179 |
|
|
180 |
|
2006-08-31 Bernhard Reiter <[email protected]> |
181 |
|
|
182 |
|
* README: fixed URLs to sqlite and pysqlite. |
183 |
|
|
184 |
|
* Thuban/UI/about.py: Added Didrik Pinte as contributor. Extended |
185 |
|
copyright range to include 2006. |
186 |
|
|
187 |
|
2006-06-29 Didrik Pinte <[email protected]> |
188 |
|
|
189 |
|
* Thuban/UI/main.py: circular import fix. |
190 |
|
|
191 |
|
2006-06-27 Frank Koormann <[email protected]> |
192 |
|
|
193 |
|
New Classification "Pattern": Classify text attributes by regexp. |
194 |
|
|
195 |
|
* Thuban/Model/classification.py (class ClassGroupPattern): |
196 |
|
New, group is associated with a regular expression. |
197 |
|
(Classification._compile_classification): Store compiled regexp and |
198 |
|
original group for pattern. |
199 |
|
(Classification.FindGroup): Added pattern. |
200 |
|
|
201 |
|
* Thuban/UI/classifier.py |
202 |
|
(ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup): |
203 |
|
New, add popup to select singleton/pattern. |
204 |
|
(ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom, |
205 |
|
ClassTable.SetValueAsCustom): Added pattern. |
206 |
|
(ClassTable.__ParseInput): Autodetect singleton/pattern. |
207 |
|
|
208 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
209 |
|
Added pattern. |
210 |
|
|
211 |
|
* Thuban/Model/load.py (SessionLoader.start_clpattern, |
212 |
|
SessionLoader.end_clpattern): New, process pattern elements. |
213 |
|
|
214 |
|
* test/test_classification.py (class TestClassGroupPattern): New. |
215 |
|
(TestClassification.test_add_pattern, |
216 |
|
TestClassification.test_multiple_groups_textual, |
217 |
|
TestClassification.test_deepcopy_textual): New. |
218 |
|
(TestClassification.test_multiple_groups_numerical): |
219 |
|
Renamed test_multiple_groups. |
220 |
|
(TestClassification.test_deepcopy_numerical): Renamed test_deepcopy. |
221 |
|
|
222 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
223 |
|
Added pattern. |
224 |
|
|
225 |
|
* test/test_load.py (ClassificationTest.TestLayers, TestClassification): |
226 |
|
Added pattern. |
227 |
|
|
228 |
|
* test/test_layer.py |
229 |
|
(TestLayerModification.test_set_classification_textual): New |
230 |
|
(TestLayerModification.test_set_classification_numerical): |
231 |
|
Renamed test_set_classification. |
232 |
|
|
233 |
|
* Doc/manual/thuban-manual.xml: Added pattern to layer classification |
234 |
|
description. |
235 |
|
|
236 |
|
* Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs. |
237 |
|
|
238 |
|
2006-06-29 Didrik Pinte <[email protected]> |
239 |
|
|
240 |
|
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |
241 |
|
|
242 |
|
2006-06-28 Didrik Pinte <[email protected]> |
243 |
|
|
244 |
|
* packaging/windows/thubanstart.py: sample file loading all the stable |
245 |
|
extensions |
246 |
|
|
247 |
|
2006-06-28 Didrik Pinte <[email protected]> |
248 |
|
|
249 |
|
* Thuban/version.py: Bugfix determination of SQLite on old and recent |
250 |
|
systems (support pysqlite1 and pysqlite2) |
251 |
|
|
252 |
|
2006-06-27 Frank Koormann <[email protected]> |
253 |
|
|
254 |
|
* Thuban/version.py: Bugfix determination of SQLite on old systems. |
255 |
|
|
256 |
|
2006-05-17 Didrik Pinte <[email protected]> |
257 |
|
* Extensions/ogr/__init__.py : updated test for win32 and correct |
258 |
|
imports |
259 |
|
|
260 |
|
2006-05-15 Didrik Pinte <[email protected]> |
261 |
|
Ashamed ... still some tabs in the files |
262 |
|
|
263 |
|
* Thuban/version.py : tabs removed |
264 |
|
* Thuban/Model/transientdb.py : tabs removed |
265 |
|
|
266 |
|
2006-05-15 Didrik Pinte <[email protected]> |
267 |
|
|
268 |
|
* Thuban/version.py : coding style correction |
269 |
|
* Thuban/Model/transientdb.py : coding style correction |
270 |
|
|
271 |
|
2006-05-15 Didrik Pinte <[email protected]> |
272 |
|
|
273 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
274 |
|
|
275 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
276 |
|
Patched the querying system to support the param style of pysqlite2 |
277 |
|
|
278 |
|
2006-04-24 Didrik Pinte <[email protected]> |
279 |
|
|
280 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
281 |
|
architecture. Bug #87 corrected. |
282 |
|
|
283 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
284 |
|
|
285 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
286 |
|
Removed emacs specific hint and replaced it with a general hint |
287 |
|
that editors might support writing changelogs. |
288 |
|
|
289 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
290 |
|
|
291 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
292 |
|
instead of "cvs". |
293 |
|
|
294 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
295 |
|
|
296 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
297 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
298 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
299 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
300 |
|
and #define LP in projects.h clashing with symbols when trying to |
301 |
|
build on windows. The file is cleaner and nicer now. |
302 |
|
|
303 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
304 |
|
|
305 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
306 |
|
trying to build with mingw. |
307 |
|
|
308 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
309 |
|
|
310 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
311 |
|
Added display of internal encoding to the about dialog text. |
312 |
|
|
313 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
314 |
|
|
315 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
316 |
|
|
317 |
|
Startup improved: We fail right away if the internal encoding could |
318 |
|
not be determined. |
319 |
|
|
320 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
321 |
|
|
322 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
323 |
|
Preserve the internal encoding for the tests in this class. |
324 |
|
|
325 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
326 |
|
|
327 |
|
* test/test_stringrepresentation.py: New file, for now testing |
328 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
329 |
|
|
330 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
331 |
|
and backward translation, so that we fail early if the |
332 |
|
internal_encoding is bad. |
333 |
|
|
334 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
335 |
|
|
336 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
337 |
|
You could actually get polylines with filling in between, |
338 |
|
when the classification for the lines had a fill color. |
339 |
|
E.g. this happens when you generate a classification from a ramp. |
340 |
|
|
341 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
342 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
343 |
|
|
344 |
|
* Extensions/svgexport/svgmapwriter.py |
345 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
346 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
347 |
|
Extend copyright notice to 2005. |
348 |
|
|
349 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
350 |
|
|
351 |
|
2005-09-08 Frank Koormann <[email protected]> |
352 |
|
|
353 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
354 |
|
by Erik (sigra.at.home.se) |
355 |
|
|
356 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
357 |
|
|
358 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
359 |
|
Call the right method for the default size. |
360 |
|
|
361 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
362 |
|
|
363 |
|
* Extensions/export_shapefile: New. |
364 |
|
|
365 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
366 |
|
the export_shapefile extension. |
367 |
|
|
368 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
369 |
|
Exports a layer as a Shapefile. |
370 |
|
|
371 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
372 |
|
|
373 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
374 |
|
|
375 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
376 |
|
|
377 |
|
Remove the attributes from the layer element in |
378 |
|
.thuban files for the save routine. |
379 |
|
This also solves RT bug #3149, |
380 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
381 |
|
|
382 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
383 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
384 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
385 |
|
attributes from layer element to classification clnull element. |
386 |
|
|
387 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
388 |
|
SaveSessionTest.testLayerProjection, |
389 |
|
SaveSessionTest.testClassifiedLayer, |
390 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
391 |
|
Removed attributes from layer element to classification clnull element. |
392 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
393 |
|
added pretending to have a shape_type. |
394 |
|
|
395 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
396 |
|
and field_type of classification optional. |
397 |
|
|
398 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
399 |
|
Added output of size. |
400 |
|
|
401 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
402 |
|
Change attribute 'field' and 'field_type' from obligatory to |
403 |
|
optional to allow empty classes (ie. only with a default=clnull). |
404 |
|
|
405 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
406 |
|
any attributes anymore for the layer element. |
407 |
|
(SessionSaver.write_classification): Even if there is no |
408 |
|
classification field, still write the classification because |
409 |
|
the clnull (default) symbol will not be defined anymore as |
410 |
|
part of the layer element. |
411 |
|
|
412 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
413 |
|
|
414 |
|
* setup.py (setup call): Version 1.1.0 |
415 |
|
|
416 |
|
* NEWS: Update for 1.1.0 |
417 |
|
|
418 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
419 |
|
technores won't be included |
420 |
|
|
421 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
422 |
|
2005 |
423 |
|
|
424 |
|
* po/de.po: Updated. |
425 |
|
|
426 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
427 |
|
|
428 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
429 |
|
|
430 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
431 |
|
|
432 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
433 |
|
masktype attributes. |
434 |
|
|
435 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
436 |
|
|
437 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
438 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
439 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
440 |
|
|
441 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
442 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
443 |
|
public anymore and the direct call in the test wasn't necessary in |
444 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
445 |
|
isn't called, the return value of ShapesInRegion will be |
446 |
|
different. |
447 |
|
|
448 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
449 |
|
|
450 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
451 |
|
ZeroDivisionError exceptions. I don't know when they happen |
452 |
|
exactly. It probably happens when the projections aren't set |
453 |
|
properly. |
454 |
|
|
455 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
456 |
|
|
457 |
|
First step towards unicode. With this roughly we're at step 1 |
458 |
|
string_representation.txt |
459 |
|
|
460 |
|
* Doc/technotes/string_representation.txt: New. Document how |
461 |
|
strings are represented in Thuban and how to get to a Unicode |
462 |
|
Thuban. |
463 |
|
|
464 |
|
* Thuban/__init__.py (set_internal_encoding) |
465 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
466 |
|
functions for the internal string representation |
467 |
|
|
468 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
469 |
|
internal_from_unicode instead. |
470 |
|
|
471 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
472 |
|
encoding to use for the internal string representation. Also, |
473 |
|
change the translation function to return strings in internal |
474 |
|
representation even on unicode builds of wxPython |
475 |
|
|
476 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
477 |
|
filenames too. |
478 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
479 |
|
the attributes. |
480 |
|
|
481 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
482 |
|
internal_from_unicode to convert unicode strings. |
483 |
|
|
484 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
485 |
|
unicode_from_internal when applicable |
486 |
|
|
487 |
|
* test/runtests.py (main): New command line option: |
488 |
|
internal-encoding to specify the internal string encoding to use |
489 |
|
in the tests. |
490 |
|
|
491 |
|
* test/support.py (initthuban): Set the internal encoding to |
492 |
|
latin-1 |
493 |
|
|
494 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
495 |
|
(TestLabelLayer.test): Use the internal string representation when |
496 |
|
dealing with non-ascii characters |
497 |
|
|
498 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
499 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
500 |
|
string representation when dealing with non-ascii characters |
501 |
|
|
502 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
503 |
|
(TestClassification.test): Use the internal string representation |
504 |
|
when dealing with non-ascii characters |
505 |
|
|
506 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
507 |
|
internal string representation when dealing with non-ascii |
508 |
|
characters |
509 |
|
|
510 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
511 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
512 |
|
representation when dealing with non-ascii characters where |
513 |
|
applicable |
514 |
|
|
515 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
516 |
|
|
517 |
|
* test/runtests.py: Untabify. |
518 |
|
|
519 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
520 |
|
|
521 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
522 |
|
untabify. |
523 |
|
|
524 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
525 |
|
|
526 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
527 |
|
|
528 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
529 |
|
|
530 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
531 |
|
Use the default size for rendering selected items of default type. |
532 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
533 |
|
|
534 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
535 |
|
|
536 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
537 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
538 |
|
Thanks to Frank Koormann who identified this problem. |
539 |
|
|
540 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
541 |
|
another symbol identified. |
542 |
|
|
543 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
544 |
|
|
545 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
546 |
|
|
547 |
|
2005-05-12 Jonathan Coles <[email protected]> |
548 |
|
|
549 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
550 |
|
exception when opening a layer's projection. |
551 |
|
|
552 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
553 |
|
|
554 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
555 |
|
|
556 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
557 |
|
|
558 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
559 |
|
connection to autoconnect. Fixes RT#3148. |
560 |
|
|
561 |
|
* test/test_postgis_db.py |
562 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
563 |
|
that attempts to reproduce RT#3148. |
564 |
|
|
565 |
|
2005-05-06 Jonathan Coles <[email protected]> |
566 |
|
|
567 |
|
Add support for saving and loading the opacity and mask type |
568 |
|
properties of RasterLayers. Also add support for proper use |
569 |
|
of alpha information while drawing images not in 'RAW' format. |
570 |
|
If transparency in an image format (e.g, PNG) is supported by |
571 |
|
wxWidgets then the image would previously have been draw with |
572 |
|
transparent regions, but the opaque regions would have been |
573 |
|
unaffected by a change in the layer's opacity. This patch |
574 |
|
corrects the problem. |
575 |
|
|
576 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
577 |
|
masktype parameters to the constructor, and set the |
578 |
|
appropriate variables to those values. |
579 |
|
|
580 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
581 |
|
code to read the opacity and mask type of the layer and construct |
582 |
|
a new layer with the additional parameters. |
583 |
|
|
584 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
585 |
|
to save the opacity and mask type of a layer. |
586 |
|
|
587 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
588 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
589 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
590 |
|
the function doesn't need to know about the layer. Add the optional |
591 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
592 |
|
graphics format. |
593 |
|
|
594 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
595 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
596 |
|
in place of calling layer.Opacity(). In the case where the |
597 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
598 |
|
alpha information, use the file's alpha information. This is |
599 |
|
still subject to the layer's opacity setting. |
600 |
|
|
601 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
602 |
|
Fixed signature to match that in BaseRenderer. |
603 |
|
|
604 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
605 |
|
include opacity and masktype variables. |
606 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
607 |
|
changes. |
608 |
|
|
609 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
610 |
|
test to cover a variety of combinations of masktype and opacity |
611 |
|
settings. |
612 |
|
|
613 |
|
2005-05-02 Jan-Oliver Wagner <[email protected]> |
614 |
|
|
615 |
|
* debian/rules: add --use-wx-python-swig-hack |
616 |
|
to the build command. |
617 |
|
Thanks to Moritz Lennert for pointing this out. |
618 |
|
|
619 |
|
2005-04-28 Jan-Oliver Wagner <[email protected]> |
620 |
|
|
621 |
|
Introduce OGRFileShapeStore in ogr extension. |
622 |
|
This allows at least that loaded shapefile shape stores |
623 |
|
can be saved correctly in the thuban session file |
624 |
|
and reloaded again (reload is via core shapefile |
625 |
|
routine, not OGR). For other types, .thuban files |
626 |
|
can not be reloaded for the time being. |
627 |
|
|
628 |
|
* Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This |
629 |
|
class ist to be used for any file-based shape stores |
630 |
|
accessed through OGR. |
631 |
|
|
632 |
|
* Extensions/ogr/ogrstart.py (open_with_ogr): Added |
633 |
|
forgotten _ for i18n. Adapted call OpenFileShapestore |
634 |
|
regarding new parameter. |
635 |
|
(OpenFileShapestore): Use OGRFileShapeStore instead of |
636 |
|
OGRShapeStore. Fix return value (None instead of null). |
637 |
|
Add new parameter "mainwindow" to avoid accessing global |
638 |
|
context. |
639 |
|
|
640 |
|
2005-04-27 Jan-Oliver Wagner <[email protected]> |
641 |
|
|
642 |
|
Introduce FileShapeStore as generalization for |
643 |
|
file-based shape stores. In a first instance |
644 |
|
this allows additional modules to handle shapefile |
645 |
|
format as well, namely the OGR extension. |
646 |
|
|
647 |
|
* Thuban/Model/data.py: Various small fixes in doc-strings. |
648 |
|
(FileShapeStore): New class. |
649 |
|
(ShapefileStore): Derive from FileShapeStore. |
650 |
|
(ShapefileStore.__init__): Call __init__ of FileShapeStore, |
651 |
|
rename self.table to self._table, initialize self._bbox |
652 |
|
(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox |
653 |
|
and self.FileName() instead of self.filename. |
654 |
|
(ShapefileStore.Table): Use self._table instead of self.table. |
655 |
|
(ShapefileStore.FileName): Removed (moved to FileShapeStore). |
656 |
|
(ShapefileStore.BoundingBox): Use self._bbox instead of self.bbox. |
657 |
|
|
658 |
|
* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore. |
659 |
|
(SessionSaver.write_data_containers): Only use methods of the |
660 |
|
base class FileShapeStore. |
661 |
|
|
662 |
|
2005-04-26 Martin Schulze <[email protected]> |
663 |
|
|
664 |
|
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
665 |
|
function to the modified render engine |
666 |
|
|
667 |
|
2005-04-25 Martin Schulze <[email protected]> |
668 |
|
|
669 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
670 |
|
Added a description according to the CVS log message |
671 |
|
|
672 |
|
2005-04-23 Martin Schulze <[email protected]> |
673 |
|
|
674 |
|
* Thuban/UI/renderer.py: Added a missing import |
675 |
|
|
676 |
|
2005-04-23 Russell Nelson <[email protected]> |
677 |
|
|
678 |
|
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
679 |
|
way the previous tool is remembered, so that middle-button |
680 |
|
panning works even if you haven't selected a tool. |
681 |
|
|
682 |
|
2005-04-11 Bernhard Herzog <[email protected]> |
683 |
|
|
684 |
|
* libraries/thuban/wxproj.cpp: Move the compatibility code that |
685 |
|
deals with the wxPython 2.4 version of wxPython.h into the #ifdef |
686 |
|
branch that includes wxPython.h because it's only needed when |
687 |
|
wxPython.h is used. Also, it won't compile when |
688 |
|
USE_WX_PYTHON_SWIG_HACK is set otherwise. |
689 |
|
|
690 |
|
2005-04-07 Bernhard Herzog <[email protected]> |
691 |
|
|
692 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID. |
693 |
|
(ID_CLASS_TABLE): Removed. It wasn't used anywhere except in |
694 |
|
ClassGrid.__init__ and it's value is outside of the valid |
695 |
|
range (must be < 32768). wxPython 2.5 complains about it with an |
696 |
|
exception. |
697 |
|
|
698 |
|
2005-04-05 Jan-Oliver Wagner <[email protected]> |
699 |
|
|
700 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
701 |
|
|
702 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
703 |
|
|
704 |
|
* libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from |
705 |
|
wxPython 2.4 as well. Also, remove a now obsolete comment. |
706 |
|
|
707 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
708 |
|
|
709 |
|
Use wxPython.h by default but provide a workaround when it isn't |
710 |
|
available. |
711 |
|
|
712 |
|
* setup.py (wxproj_extension): New variable. Assign the Extension |
713 |
|
instance for Lib.wxproj to this variable instead of putting it |
714 |
|
directly into the listso that it can be accessed by other code |
715 |
|
later. |
716 |
|
(thuban_build_ext.user_options): Added boolean option |
717 |
|
--use-wx-python-swig-hack. |
718 |
|
(thuban_build_ext.initialize_options): Initialize the new option |
719 |
|
to False. |
720 |
|
(thuban_build_ext.finalize_options): If the new option was given, |
721 |
|
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK. |
722 |
|
(thuban_build_ext): Update the doc-string |
723 |
|
|
724 |
|
* libraries/thuban/wxproj.cpp: Normally we use |
725 |
|
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is |
726 |
|
defined, use swigPtrConvertHack.h instead. |
727 |
|
|
728 |
|
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was |
729 |
|
copied over from wxPython.h. |
730 |
|
(decode_pointer_new): New. Equivalent of decode_pointer for |
731 |
|
wxPython 2.5. |
732 |
|
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well. |
733 |
|
|
734 |
|
* README: Add section on potential build problems which explains |
735 |
|
how the work-around for a missing wxPython.h is activated. |
736 |
|
|
737 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
738 |
|
|
739 |
|
* test/postgissupport.py (find_postgis_sql): Added yet another |
740 |
|
potential location for (lw)postgis.sql because the file has moved |
741 |
|
again in postgis 1.0.0 rc4. |
742 |
|
|
743 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
744 |
|
|
745 |
|
* Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to |
746 |
|
match the site of the legend_icon_layer icon. Otherwise wxpython |
747 |
|
2.5 complains when the legend is created with the error: |
748 |
|
|
749 |
|
PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width && |
750 |
|
bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == |
751 |
|
0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size |
752 |
|
in wxImageList: this might work on this platform but definitely |
753 |
|
won't under Windows. |
754 |
|
|
755 |
|
2005-03-23 Jonathan Coles <[email protected]> |
756 |
|
|
757 |
|
These changes add support for adjusting the opacity of a raster layer. |
758 |
|
|
759 |
|
* Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity. |
760 |
|
(RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers |
761 |
|
a LAYER_CHANGED event if the opacity actually changes. |
762 |
|
|
763 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added |
764 |
|
layer parameter needed in the implementation of this method in |
765 |
|
renderer.py. |
766 |
|
|
767 |
|
* Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed |
768 |
|
typo 00 -> 0. |
769 |
|
|
770 |
|
* Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added |
771 |
|
control to adjust opacity. |
772 |
|
|
773 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the |
774 |
|
alpha data based on the opacity level of the layer. |
775 |
|
|
776 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now |
777 |
|
accepts a layer parameter. |
778 |
|
|
779 |
|
* test/test_layer.py (TestLayerModification.test_raster_layer): |
780 |
|
Rename opacity method calls and add test for LAYER_CHANGED. |
781 |
|
|
782 |
|
2005-03-16 Bernhard Herzog <[email protected]> |
783 |
|
|
784 |
|
* test/test_connector.py (DeletionTestMixin.check_deletions) |
785 |
|
(DeletionTestMixin.check_deletetions): renamed to check_deletions. |
786 |
|
update the callers. |
787 |
|
|
788 |
|
2005-03-14 Jan-Oliver Wagner <[email protected]> |
789 |
|
|
790 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
791 |
|
|
792 |
|
2005-03-10 Jan-Oliver Wagner <[email protected]> |
793 |
|
|
794 |
|
Introducing initialization callbacks for extensions. |
795 |
|
|
796 |
|
* Thuban/UI/extensionregistry.py (ExtensionDesc.__init__): Added |
797 |
|
optional parameter init_callback. |
798 |
|
(ExtensionDesc.init_ext): New. Executes the callback and sets |
799 |
|
a status. |
800 |
|
|
801 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Add the |
802 |
|
initialization of the extensions. |
803 |
|
(ThubanApplication.init_extensions): Init all extensions. |
804 |
|
|
805 |
|
* Thuban/UI/about.py (About.__init__): Added status of the extensions |
806 |
|
to the about text. |
807 |
|
|
808 |
|
* Extensions/gns2shp/__init__.py: Added init method for Extension |
809 |
|
description. |
810 |
|
(init): New. Contains the initialization of the module. |
811 |
|
|
812 |
|
2005-03-04 Nina H�ffmeyer <[email protected]> |
813 |
|
|
814 |
|
* Extensions/ogr/ogrdialog.py: Added a dialog, which asks for |
815 |
|
OGRConnection to open a datasource. Removed dialog to display all |
816 |
|
available drivers. Added some doc strings. |
817 |
|
|
818 |
|
* Extensions/ogr/ogrstart.py: Added menu entry for opening an |
819 |
|
OGRDatasource with a string. Added two opening methods which return an |
820 |
|
OGRDatasource (either data from file or from DB). |
821 |
|
|
822 |
|
* Extensions/ogr/ogrshapes.py: Added class OGRGeometry, which |
823 |
|
represents a geometry reference of an OGRFeature. OGRShape now has a |
824 |
|
list of referenced geometry objects (important for geometry |
825 |
|
collections). |
826 |
|
For OGRShapeStores loaded from a DB an ID column can be specified now. |
827 |
|
|
828 |
|
2005-02-22 Jan-Oliver Wagner <[email protected]> |
829 |
|
|
830 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): |
831 |
|
Added label layer for comparison. |
832 |
|
|
833 |
|
2005-02-18 Jonathan Coles <[email protected]> |
834 |
|
|
835 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): Optimize the loop |
836 |
|
which builds a mask. Handle the majority of an image in a loop, |
837 |
|
creating 8 bits at a time. Later, handle the edge case where less |
838 |
|
than 8 bits are packed. |
839 |
|
|
840 |
|
2005-02-18 Bernhard Herzog <[email protected]> |
841 |
|
|
842 |
|
* test/test_baserenderer.py (TestBaseRenderer.setUp): Fix |
843 |
|
doc-string |
844 |
|
|
845 |
2005-02-18 Jonathan Coles <[email protected]> |
2005-02-18 Jonathan Coles <[email protected]> |
846 |
|
|
847 |
* setup.py: Remove wx_cs_params from gdal compile options. |
* setup.py: Remove wx_cs_params from gdal compile options. |
1771 |
|
|
1772 |
* Thuban/UI/about.py (About.__init__): Added |
* Thuban/UI/about.py (About.__init__): Added |
1773 |
Norbert Solymosi for hungarian translation and Ole Rahn |
Norbert Solymosi for hungarian translation and Ole Rahn |
1774 |
as contrbutor. Moved Bernhard Reiter from Contributor |
as contributor. Moved Bernhard Reiter from Contributor |
1775 |
to Developer. |
to Developer. |
1776 |
|
|
1777 |
2004-11-27 Bernhard Reiter <[email protected]> |
2004-11-27 Bernhard Reiter <[email protected]> |