1 |
|
2006-06-27 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
New Classification "Pattern": Classify text attributes by regexp. |
4 |
|
|
5 |
|
* Thuban/Model/classification.py (class ClassGroupPattern): |
6 |
|
New, group is associated with a regular expression. |
7 |
|
(Classification._compile_classification): Store compiled regexp and |
8 |
|
original group for pattern. |
9 |
|
(Classification.FindGroup): Added pattern. |
10 |
|
|
11 |
|
* Thuban/UI/classifier.py |
12 |
|
(ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup): |
13 |
|
New, add popup to select singleton/pattern. |
14 |
|
(ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom, |
15 |
|
ClassTable.SetValueAsCustom): Added pattern. |
16 |
|
(ClassTable.__ParseInput): Autodetect singleton/pattern. |
17 |
|
|
18 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
19 |
|
Added pattern. |
20 |
|
|
21 |
|
* Thuban/Model/load.py (SessionLoader.start_clpattern, |
22 |
|
SessionLoader.end_clpattern): New, process pattern elements. |
23 |
|
|
24 |
|
* test/test_classification.py (class TestClassGroupPattern): New. |
25 |
|
(TestClassification.test_add_pattern, |
26 |
|
TestClassification.test_multiple_groups_textual, |
27 |
|
TestClassification.test_deepcopy_textual): New. |
28 |
|
(TestClassification.test_multiple_groups_numerical): |
29 |
|
Renamed test_multiple_groups. |
30 |
|
(TestClassification.test_deepcopy_numerical): Renamed test_deepcopy. |
31 |
|
|
32 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
33 |
|
Added pattern. |
34 |
|
|
35 |
|
* test/test_load.py (ClassificationTest.TestLayers, TestClassification): |
36 |
|
Added pattern. |
37 |
|
|
38 |
|
* test/test_layer.py |
39 |
|
(TestLayerModification.test_set_classification_textual): New |
40 |
|
(TestLayerModification.test_set_classification_numerical): |
41 |
|
Renamed test_set_classification. |
42 |
|
|
43 |
|
* Doc/manual/thuban-manual.xml: Added pattern to layer classification |
44 |
|
description. |
45 |
|
|
46 |
|
* Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs. |
47 |
|
|
48 |
|
2006-06-29 Didrik Pinte <[email protected]> |
49 |
|
|
50 |
|
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |
51 |
|
|
52 |
|
2006-06-28 Didrik Pinte <[email protected]> |
53 |
|
|
54 |
|
* packaging/windows/thubanstart.py: sample file loading all the stable |
55 |
|
extensions |
56 |
|
|
57 |
|
2006-06-28 Didrik Pinte <[email protected]> |
58 |
|
|
59 |
|
* Thuban/version.py: Bugfix determination of SQLite on old and recent |
60 |
|
systems (support pysqlite1 and pysqlite2) |
61 |
|
|
62 |
|
2006-06-27 Frank Koormann <[email protected]> |
63 |
|
|
64 |
|
* Thuban/version.py: Bugfix determination of SQLite on old systems. |
65 |
|
|
66 |
|
2006-05-17 Didrik Pinte <[email protected]> |
67 |
|
* Extensions/ogr/__init__.py : updated test for win32 and correct |
68 |
|
imports |
69 |
|
|
70 |
|
2006-05-15 Didrik Pinte <[email protected]> |
71 |
|
Ashamed ... still some tabs in the files |
72 |
|
|
73 |
|
* Thuban/version.py : tabs removed |
74 |
|
* Thuban/Model/transientdb.py : tabs removed |
75 |
|
|
76 |
|
2006-05-15 Didrik Pinte <[email protected]> |
77 |
|
|
78 |
|
* Thuban/version.py : coding style correction |
79 |
|
* Thuban/Model/transientdb.py : coding style correction |
80 |
|
|
81 |
|
2006-05-15 Didrik Pinte <[email protected]> |
82 |
|
|
83 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
84 |
|
|
85 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
86 |
|
Patched the querying system to support the param style of pysqlite2 |
87 |
|
|
88 |
|
2006-04-24 Didrik Pinte <[email protected]> |
89 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
90 |
|
architecture. Bug #87 corrected. |
91 |
|
|
92 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
93 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
94 |
|
Removed emacs specific hint and replaced it with a general hint |
95 |
|
that editors might support writing changelogs. |
96 |
|
|
97 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
98 |
|
|
99 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
100 |
|
instead of "cvs". |
101 |
|
|
102 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
103 |
|
|
104 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
105 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
106 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
107 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
108 |
|
and #define LP in projects.h clashing with symbols when trying to |
109 |
|
build on windows. The file is cleaner and nicer now. |
110 |
|
|
111 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
112 |
|
|
113 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
114 |
|
trying to build with mingw. |
115 |
|
|
116 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
117 |
|
|
118 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
119 |
|
Added display of internal encoding to the about dialog text. |
120 |
|
|
121 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
122 |
|
|
123 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
124 |
|
|
125 |
|
Startup improved: We fail right away if the internal encoding could |
126 |
|
not be determined. |
127 |
|
|
128 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
129 |
|
|
130 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
131 |
|
Preserve the internal encoding for the tests in this class. |
132 |
|
|
133 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
134 |
|
|
135 |
|
* test/test_stringrepresentation.py: New file, for now testing |
136 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
137 |
|
|
138 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
139 |
|
and backward translation, so that we fail early if the |
140 |
|
internal_encoding is bad. |
141 |
|
|
142 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
143 |
|
|
144 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
145 |
|
You could actually get polylines with filling in between, |
146 |
|
when the classification for the lines had a fill color. |
147 |
|
E.g. this happens when you generate a classification from a ramp. |
148 |
|
|
149 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
150 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
151 |
|
|
152 |
|
* Extensions/svgexport/svgmapwriter.py |
153 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
154 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
155 |
|
Extend copyright notice to 2005. |
156 |
|
|
157 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
158 |
|
|
159 |
|
2005-09-08 Frank Koormann <[email protected]> |
160 |
|
|
161 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
162 |
|
by Erik (sigra.at.home.se) |
163 |
|
|
164 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
165 |
|
|
166 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
167 |
|
Call the right method for the default size. |
168 |
|
|
169 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
170 |
|
|
171 |
|
* Extensions/export_shapefile: New. |
172 |
|
|
173 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
174 |
|
the export_shapefile extension. |
175 |
|
|
176 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
177 |
|
Exports a layer as a Shapefile. |
178 |
|
|
179 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
180 |
|
|
181 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
182 |
|
|
183 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
184 |
|
|
185 |
|
Remove the attributes from the layer element in |
186 |
|
.thuban files for the save routine. |
187 |
|
This also solves RT bug #3149, |
188 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
189 |
|
|
190 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
191 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
192 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
193 |
|
attributes from layer element to classification clnull element. |
194 |
|
|
195 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
196 |
|
SaveSessionTest.testLayerProjection, |
197 |
|
SaveSessionTest.testClassifiedLayer, |
198 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
199 |
|
Removed attributes from layer element to classification clnull element. |
200 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
201 |
|
added pretending to have a shape_type. |
202 |
|
|
203 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
204 |
|
and field_type of classification optional. |
205 |
|
|
206 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
207 |
|
Added output of size. |
208 |
|
|
209 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
210 |
|
Change attribute 'field' and 'field_type' from obligatory to |
211 |
|
optional to allow empty classes (ie. only with a default=clnull). |
212 |
|
|
213 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
214 |
|
any attributes anymore for the layer element. |
215 |
|
(SessionSaver.write_classification): Even if there is no |
216 |
|
classification field, still write the classification because |
217 |
|
the clnull (default) symbol will not be defined anymore as |
218 |
|
part of the layer element. |
219 |
|
|
220 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
221 |
|
|
222 |
|
* setup.py (setup call): Version 1.1.0 |
223 |
|
|
224 |
|
* NEWS: Update for 1.1.0 |
225 |
|
|
226 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
227 |
|
technores won't be included |
228 |
|
|
229 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
230 |
|
2005 |
231 |
|
|
232 |
|
* po/de.po: Updated. |
233 |
|
|
234 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
235 |
|
|
236 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
237 |
|
|
238 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
239 |
|
|
240 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
241 |
|
masktype attributes. |
242 |
|
|
243 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
244 |
|
|
245 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
246 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
247 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
248 |
|
|
249 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
250 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
251 |
|
public anymore and the direct call in the test wasn't necessary in |
252 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
253 |
|
isn't called, the return value of ShapesInRegion will be |
254 |
|
different. |
255 |
|
|
256 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
257 |
|
|
258 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
259 |
|
ZeroDivisionError exceptions. I don't know when they happen |
260 |
|
exactly. It probably happens when the projections aren't set |
261 |
|
properly. |
262 |
|
|
263 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
264 |
|
|
265 |
|
First step towards unicode. With this roughly we're at step 1 |
266 |
|
string_representation.txt |
267 |
|
|
268 |
|
* Doc/technotes/string_representation.txt: New. Document how |
269 |
|
strings are represented in Thuban and how to get to a Unicode |
270 |
|
Thuban. |
271 |
|
|
272 |
|
* Thuban/__init__.py (set_internal_encoding) |
273 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
274 |
|
functions for the internal string representation |
275 |
|
|
276 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
277 |
|
internal_from_unicode instead. |
278 |
|
|
279 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
280 |
|
encoding to use for the internal string representation. Also, |
281 |
|
change the translation function to return strings in internal |
282 |
|
representation even on unicode builds of wxPython |
283 |
|
|
284 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
285 |
|
filenames too. |
286 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
287 |
|
the attributes. |
288 |
|
|
289 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
290 |
|
internal_from_unicode to convert unicode strings. |
291 |
|
|
292 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
293 |
|
unicode_from_internal when applicable |
294 |
|
|
295 |
|
* test/runtests.py (main): New command line option: |
296 |
|
internal-encoding to specify the internal string encoding to use |
297 |
|
in the tests. |
298 |
|
|
299 |
|
* test/support.py (initthuban): Set the internal encoding to |
300 |
|
latin-1 |
301 |
|
|
302 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
303 |
|
(TestLabelLayer.test): Use the internal string representation when |
304 |
|
dealing with non-ascii characters |
305 |
|
|
306 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
307 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
308 |
|
string representation when dealing with non-ascii characters |
309 |
|
|
310 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
311 |
|
(TestClassification.test): Use the internal string representation |
312 |
|
when dealing with non-ascii characters |
313 |
|
|
314 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
315 |
|
internal string representation when dealing with non-ascii |
316 |
|
characters |
317 |
|
|
318 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
319 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
320 |
|
representation when dealing with non-ascii characters where |
321 |
|
applicable |
322 |
|
|
323 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
324 |
|
|
325 |
|
* test/runtests.py: Untabify. |
326 |
|
|
327 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
328 |
|
|
329 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
330 |
|
untabify. |
331 |
|
|
332 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
333 |
|
|
334 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
335 |
|
|
336 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
337 |
|
|
338 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
339 |
|
Use the default size for rendering selected items of default type. |
340 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
341 |
|
|
342 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
343 |
|
|
344 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
345 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
346 |
|
Thanks to Frank Koormann who identified this problem. |
347 |
|
|
348 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
349 |
|
another symbol identified. |
350 |
|
|
351 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
352 |
|
|
353 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
354 |
|
|
355 |
|
2005-05-12 Jonathan Coles <[email protected]> |
356 |
|
|
357 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
358 |
|
exception when opening a layer's projection. |
359 |
|
|
360 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
361 |
|
|
362 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
363 |
|
|
364 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
365 |
|
|
366 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
367 |
|
connection to autoconnect. Fixes RT#3148. |
368 |
|
|
369 |
|
* test/test_postgis_db.py |
370 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
371 |
|
that attempts to reproduce RT#3148. |
372 |
|
|
373 |
|
2005-05-06 Jonathan Coles <[email protected]> |
374 |
|
|
375 |
|
Add support for saving and loading the opacity and mask type |
376 |
|
properties of RasterLayers. Also add support for proper use |
377 |
|
of alpha information while drawing images not in 'RAW' format. |
378 |
|
If transparency in an image format (e.g, PNG) is supported by |
379 |
|
wxWidgets then the image would previously have been draw with |
380 |
|
transparent regions, but the opaque regions would have been |
381 |
|
unaffected by a change in the layer's opacity. This patch |
382 |
|
corrects the problem. |
383 |
|
|
384 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
385 |
|
masktype parameters to the constructor, and set the |
386 |
|
appropriate variables to those values. |
387 |
|
|
388 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
389 |
|
code to read the opacity and mask type of the layer and construct |
390 |
|
a new layer with the additional parameters. |
391 |
|
|
392 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
393 |
|
to save the opacity and mask type of a layer. |
394 |
|
|
395 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
396 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
397 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
398 |
|
the function doesn't need to know about the layer. Add the optional |
399 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
400 |
|
graphics format. |
401 |
|
|
402 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
403 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
404 |
|
in place of calling layer.Opacity(). In the case where the |
405 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
406 |
|
alpha information, use the file's alpha information. This is |
407 |
|
still subject to the layer's opacity setting. |
408 |
|
|
409 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
410 |
|
Fixed signature to match that in BaseRenderer. |
411 |
|
|
412 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
413 |
|
include opacity and masktype variables. |
414 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
415 |
|
changes. |
416 |
|
|
417 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
418 |
|
test to cover a variety of combinations of masktype and opacity |
419 |
|
settings. |
420 |
|
|
421 |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
422 |
|
|
423 |
* debian/rules: add --use-wx-python-swig-hack |
* debian/rules: add --use-wx-python-swig-hack |
483 |
|
|
484 |
2005-04-23 Russell Nelson <[email protected]> |
2005-04-23 Russell Nelson <[email protected]> |
485 |
|
|
486 |
* Changed the way the previous tool is remembered, so that |
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
487 |
middle-button panning works even if you haven't selected a tool. |
way the previous tool is remembered, so that middle-button |
488 |
|
panning works even if you haven't selected a tool. |
489 |
|
|
490 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
491 |
|
|