1 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
4 |
|
You could actually get polylines with filling in between, |
5 |
|
when the classification for the lines had a fill color. |
6 |
|
E.g. this happens when you generate a classification from a ramp. |
7 |
|
|
8 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
9 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
10 |
|
|
11 |
|
* Extensions/svgexport/svgmapwriter.py |
12 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
13 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
14 |
|
Extend copyright notice to 2005. |
15 |
|
|
16 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
17 |
|
|
18 |
|
2005-09-08 Frank Koormann <[email protected]> |
19 |
|
|
20 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
21 |
|
by Erik (sigra.at.home.se) |
22 |
|
|
23 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
26 |
|
Call the right method for the default size. |
27 |
|
|
28 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
29 |
|
|
30 |
|
* Extensions/export_shapefile: New. |
31 |
|
|
32 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
33 |
|
the export_shapefile extension. |
34 |
|
|
35 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
36 |
|
Exports a layer as a Shapefile. |
37 |
|
|
38 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
39 |
|
|
40 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
41 |
|
|
42 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
43 |
|
|
44 |
|
Remove the attributes from the layer element in |
45 |
|
.thuban files for the save routine. |
46 |
|
This also solves RT bug #3149, |
47 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
48 |
|
|
49 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
50 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
51 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
52 |
|
attributes from layer element to classification clnull element. |
53 |
|
|
54 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
55 |
|
SaveSessionTest.testLayerProjection, |
56 |
|
SaveSessionTest.testClassifiedLayer, |
57 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
58 |
|
Removed attributes from layer element to classification clnull element. |
59 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
60 |
|
added pretending to have a shape_type. |
61 |
|
|
62 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
63 |
|
and field_type of classification optional. |
64 |
|
|
65 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
66 |
|
Added output of size. |
67 |
|
|
68 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
69 |
|
Change attribute 'field' and 'field_type' from obligatory to |
70 |
|
optional to allow empty classes (ie. only with a default=clnull). |
71 |
|
|
72 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
73 |
|
any attributes anymore for the layer element. |
74 |
|
(SessionSaver.write_classification): Even if there is no |
75 |
|
classification field, still write the classification because |
76 |
|
the clnull (default) symbol will not be defined anymore as |
77 |
|
part of the layer element. |
78 |
|
|
79 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
80 |
|
|
81 |
|
* setup.py (setup call): Version 1.1.0 |
82 |
|
|
83 |
|
* NEWS: Update for 1.1.0 |
84 |
|
|
85 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
86 |
|
technores won't be included |
87 |
|
|
88 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
89 |
|
2005 |
90 |
|
|
91 |
|
* po/de.po: Updated. |
92 |
|
|
93 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
96 |
|
|
97 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
98 |
|
|
99 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
100 |
|
masktype attributes. |
101 |
|
|
102 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
105 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
106 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
107 |
|
|
108 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
109 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
110 |
|
public anymore and the direct call in the test wasn't necessary in |
111 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
112 |
|
isn't called, the return value of ShapesInRegion will be |
113 |
|
different. |
114 |
|
|
115 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
116 |
|
|
117 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
118 |
|
ZeroDivisionError exceptions. I don't know when they happen |
119 |
|
exactly. It probably happens when the projections aren't set |
120 |
|
properly. |
121 |
|
|
122 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
123 |
|
|
124 |
|
First step towards unicode. With this roughly we're at step 1 |
125 |
|
string_representation.txt |
126 |
|
|
127 |
|
* Doc/technotes/string_representation.txt: New. Document how |
128 |
|
strings are represented in Thuban and how to get to a Unicode |
129 |
|
Thuban. |
130 |
|
|
131 |
|
* Thuban/__init__.py (set_internal_encoding) |
132 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
133 |
|
functions for the internal string representation |
134 |
|
|
135 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
136 |
|
internal_from_unicode instead. |
137 |
|
|
138 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
139 |
|
encoding to use for the internal string representation. Also, |
140 |
|
change the translation function to return strings in internal |
141 |
|
representation even on unicode builds of wxPython |
142 |
|
|
143 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
144 |
|
filenames too. |
145 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
146 |
|
the attributes. |
147 |
|
|
148 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
149 |
|
internal_from_unicode to convert unicode strings. |
150 |
|
|
151 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
152 |
|
unicode_from_internal when applicable |
153 |
|
|
154 |
|
* test/runtests.py (main): New command line option: |
155 |
|
internal-encoding to specify the internal string encoding to use |
156 |
|
in the tests. |
157 |
|
|
158 |
|
* test/support.py (initthuban): Set the internal encoding to |
159 |
|
latin-1 |
160 |
|
|
161 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
162 |
|
(TestLabelLayer.test): Use the internal string representation when |
163 |
|
dealing with non-ascii characters |
164 |
|
|
165 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
166 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
167 |
|
string representation when dealing with non-ascii characters |
168 |
|
|
169 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
170 |
|
(TestClassification.test): Use the internal string representation |
171 |
|
when dealing with non-ascii characters |
172 |
|
|
173 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
174 |
|
internal string representation when dealing with non-ascii |
175 |
|
characters |
176 |
|
|
177 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
178 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
179 |
|
representation when dealing with non-ascii characters where |
180 |
|
applicable |
181 |
|
|
182 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
183 |
|
|
184 |
|
* test/runtests.py: Untabify. |
185 |
|
|
186 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
187 |
|
|
188 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
189 |
|
untabify. |
190 |
|
|
191 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
192 |
|
|
193 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
194 |
|
|
195 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
196 |
|
|
197 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
198 |
|
Use the default size for rendering selected items of default type. |
199 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
200 |
|
|
201 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
202 |
|
|
203 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
204 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
205 |
|
Thanks to Frank Koormann who identified this problem. |
206 |
|
|
207 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
208 |
|
another symbol identified. |
209 |
|
|
210 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
211 |
|
|
212 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
213 |
|
|
214 |
|
2005-05-12 Jonathan Coles <[email protected]> |
215 |
|
|
216 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
217 |
|
exception when opening a layer's projection. |
218 |
|
|
219 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
222 |
|
|
223 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
224 |
|
|
225 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
226 |
|
connection to autoconnect. Fixes RT#3148. |
227 |
|
|
228 |
|
* test/test_postgis_db.py |
229 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
230 |
|
that attempts to reproduce RT#3148. |
231 |
|
|
232 |
|
2005-05-06 Jonathan Coles <[email protected]> |
233 |
|
|
234 |
|
Add support for saving and loading the opacity and mask type |
235 |
|
properties of RasterLayers. Also add support for proper use |
236 |
|
of alpha information while drawing images not in 'RAW' format. |
237 |
|
If transparency in an image format (e.g, PNG) is supported by |
238 |
|
wxWidgets then the image would previously have been draw with |
239 |
|
transparent regions, but the opaque regions would have been |
240 |
|
unaffected by a change in the layer's opacity. This patch |
241 |
|
corrects the problem. |
242 |
|
|
243 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
244 |
|
masktype parameters to the constructor, and set the |
245 |
|
appropriate variables to those values. |
246 |
|
|
247 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
248 |
|
code to read the opacity and mask type of the layer and construct |
249 |
|
a new layer with the additional parameters. |
250 |
|
|
251 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
252 |
|
to save the opacity and mask type of a layer. |
253 |
|
|
254 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
255 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
256 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
257 |
|
the function doesn't need to know about the layer. Add the optional |
258 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
259 |
|
graphics format. |
260 |
|
|
261 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
262 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
263 |
|
in place of calling layer.Opacity(). In the case where the |
264 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
265 |
|
alpha information, use the file's alpha information. This is |
266 |
|
still subject to the layer's opacity setting. |
267 |
|
|
268 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
269 |
|
Fixed signature to match that in BaseRenderer. |
270 |
|
|
271 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
272 |
|
include opacity and masktype variables. |
273 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
274 |
|
changes. |
275 |
|
|
276 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
277 |
|
test to cover a variety of combinations of masktype and opacity |
278 |
|
settings. |
279 |
|
|
280 |
|
2005-05-02 Jan-Oliver Wagner <[email protected]> |
281 |
|
|
282 |
|
* debian/rules: add --use-wx-python-swig-hack |
283 |
|
to the build command. |
284 |
|
Thanks to Moritz Lennert for pointing this out. |
285 |
|
|
286 |
|
2005-04-28 Jan-Oliver Wagner <[email protected]> |
287 |
|
|
288 |
|
Introduce OGRFileShapeStore in ogr extension. |
289 |
|
This allows at least that loaded shapefile shape stores |
290 |
|
can be saved correctly in the thuban session file |
291 |
|
and reloaded again (reload is via core shapefile |
292 |
|
routine, not OGR). For other types, .thuban files |
293 |
|
can not be reloaded for the time being. |
294 |
|
|
295 |
|
* Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This |
296 |
|
class ist to be used for any file-based shape stores |
297 |
|
accessed through OGR. |
298 |
|
|
299 |
|
* Extensions/ogr/ogrstart.py (open_with_ogr): Added |
300 |
|
forgotten _ for i18n. Adapted call OpenFileShapestore |
301 |
|
regarding new parameter. |
302 |
|
(OpenFileShapestore): Use OGRFileShapeStore instead of |
303 |
|
OGRShapeStore. Fix return value (None instead of null). |
304 |
|
Add new parameter "mainwindow" to avoid accessing global |
305 |
|
context. |
306 |
|
|
307 |
|
2005-04-27 Jan-Oliver Wagner <[email protected]> |
308 |
|
|
309 |
|
Introduce FileShapeStore as generalization for |
310 |
|
file-based shape stores. In a first instance |
311 |
|
this allows additional modules to handle shapefile |
312 |
|
format as well, namely the OGR extension. |
313 |
|
|
314 |
|
* Thuban/Model/data.py: Various small fixes in doc-strings. |
315 |
|
(FileShapeStore): New class. |
316 |
|
(ShapefileStore): Derive from FileShapeStore. |
317 |
|
(ShapefileStore.__init__): Call __init__ of FileShapeStore, |
318 |
|
rename self.table to self._table, initialize self._bbox |
319 |
|
(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox |
320 |
|
and self.FileName() instead of self.filename. |
321 |
|
(ShapefileStore.Table): Use self._table instead of self.table. |
322 |
|
(ShapefileStore.FileName): Removed (moved to FileShapeStore). |
323 |
|
(ShapefileStore.BoundingBox): Use self._bbox instead of self.bbox. |
324 |
|
|
325 |
|
* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore. |
326 |
|
(SessionSaver.write_data_containers): Only use methods of the |
327 |
|
base class FileShapeStore. |
328 |
|
|
329 |
|
2005-04-26 Martin Schulze <[email protected]> |
330 |
|
|
331 |
|
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
332 |
|
function to the modified render engine |
333 |
|
|
334 |
|
2005-04-25 Martin Schulze <[email protected]> |
335 |
|
|
336 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
337 |
|
Added a description according to the CVS log message |
338 |
|
|
339 |
|
2005-04-23 Martin Schulze <[email protected]> |
340 |
|
|
341 |
|
* Thuban/UI/renderer.py: Added a missing import |
342 |
|
|
343 |
2005-04-23 Russell Nelson <[email protected]> |
2005-04-23 Russell Nelson <[email protected]> |
344 |
|
|
345 |
* Changed the way the previous tool is remembered, so that |
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
346 |
middle-button panning works even if you haven't selected a tool. |
way the previous tool is remembered, so that middle-button |
347 |
|
panning works even if you haven't selected a tool. |
348 |
|
|
349 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
350 |
|
|