1 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
4 |
|
Map chapter. |
5 |
|
|
6 |
|
2004-10-01 Martin Schulze <[email protected]> |
7 |
|
|
8 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
9 |
|
argument for general use through properties-dialog selector |
10 |
|
|
11 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
12 |
|
both provided layer classes/types. |
13 |
|
|
14 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
15 |
|
map can be retrieved through the parent which is passed to the |
16 |
|
constructor anyway and doesn't require an argument of its own, |
17 |
|
required for the unification of arguments for general use through |
18 |
|
properties-dialog selector. |
19 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
20 |
|
whether a dialog is already opened (and raising it to the users |
21 |
|
attention) and creating a new dialog into a function of its own |
22 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
23 |
|
method |
24 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
25 |
|
global registration of properties dialog classes (which are indeed |
26 |
|
layer-specific). |
27 |
|
|
28 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
29 |
|
for general use through properties-dialog selector, the map can be |
30 |
|
retrieved through the parent and doesn't require an argument of |
31 |
|
its own. |
32 |
|
|
33 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
34 |
|
the provided WMS layer |
35 |
|
|
36 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
37 |
|
|
38 |
|
New feature: Registry for Extensions. |
39 |
|
|
40 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
41 |
|
Extensions. |
42 |
|
|
43 |
|
* Thuban/UI/about.py (About.__init__): Added description |
44 |
|
of the registered extensions with all of the information. |
45 |
|
|
46 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
47 |
|
|
48 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
49 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
50 |
|
Extensions/wms/wms.py: Added registration of the extension. |
51 |
|
|
52 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
53 |
|
|
54 |
|
More fixes to svgexport to make used ids unique and |
55 |
|
conforming to XML's Name production. |
56 |
|
|
57 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
58 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
59 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
60 |
|
Added Bernhard R. as author. |
61 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
62 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
63 |
|
Also transform second id part with "%d" and catch the TypeError |
64 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
65 |
|
Corrected typo inBernhard's author line. |
66 |
|
(SetBaseID): Return the transformed base id. Transform characters |
67 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
68 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
69 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
70 |
|
for used_baseids checks. |
71 |
|
|
72 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
73 |
|
|
74 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
75 |
|
Remove a debug print and some tab characters. |
76 |
|
|
77 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
78 |
|
|
79 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
80 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
81 |
|
the interaction of the three functions and the XML id contrains. |
82 |
|
|
83 |
|
|
84 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
85 |
|
|
86 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
87 |
|
Module. |
88 |
|
|
89 |
|
* Doc/README: Added info on ThubanModel.xmi. |
90 |
|
|
91 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
92 |
|
|
93 |
|
* Doc/README: New. Some info about how to generate technical |
94 |
|
documentation from the source code. |
95 |
|
This text was send to the Thuban developer mailing list on |
96 |
|
September 21st 2004 by Bernhard Reiter. |
97 |
|
|
98 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
99 |
|
|
100 |
|
Improved the svgexport to only use unique ids. Will issues |
101 |
|
an error message dialoge when two layer names are the same. |
102 |
|
ShapeIDs are now added with a dash within the svg ids. |
103 |
|
|
104 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
105 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
106 |
|
(TestSVGRenderer): New test class with test_make_in() and |
107 |
|
test_check_for_layer_name_clash() |
108 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
109 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
110 |
|
satisfying test_check_for_layer_name_clash() |
111 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
112 |
|
test_make_in(). |
113 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
114 |
|
and wxICON_HAND. |
115 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
116 |
|
catching SVGmapWriterError notify the user and delete the target file. |
117 |
|
|
118 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
119 |
|
|
120 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
121 |
|
|
122 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
123 |
|
|
124 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
125 |
|
small bug with the line color. Now the line color will now only set |
126 |
|
if it is set in Thuban an not Transparent. |
127 |
|
|
128 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
129 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
130 |
|
from the last. |
131 |
|
|
132 |
|
2004-08-20 Silke Reimer <[email protected]> |
133 |
|
|
134 |
|
* Thuban/Model/layer.py: |
135 |
|
Fixes bug in projection handling: Otherwise very large region might not |
136 |
|
have valid values in the layer's projection. |
137 |
|
|
138 |
|
2004-08-20 Silke Reimer <[email protected]> |
139 |
|
|
140 |
|
* Thuban/UI/about.py: |
141 |
|
small changes to be consistent with coding style. |
142 |
|
|
143 |
|
2004-08-13 Martin Schulze <[email protected]> |
144 |
|
|
145 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
146 |
|
Adjusted a comment |
147 |
|
|
148 |
|
2004-08-11 Silke Reimer <[email protected]> |
149 |
|
|
150 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
151 |
|
too many and too enhanced imports of locale |
152 |
|
|
153 |
|
2004-08-10 Silke Reimer <[email protected]> |
154 |
|
|
155 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
156 |
|
function unicodeToLocale() to convert special characters to users |
157 |
|
locale encoding |
158 |
|
|
159 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
160 |
|
|
161 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
162 |
|
lower case letter' |
163 |
|
|
164 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
165 |
|
|
166 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
167 |
|
the standard way. |
168 |
|
|
169 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
170 |
|
the function where it is needed, because it don't works if it stands |
171 |
|
at the beginning. |
172 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
173 |
|
numclasses from the mapscript will be used. |
174 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
175 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
176 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
177 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
178 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
179 |
|
with the mapscript object. |
180 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
181 |
|
the mapscript. |
182 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
183 |
|
linked to the layer in thuban, else the layerobject linked to the |
184 |
|
thubanlayer will be used. |
185 |
|
AnnotationLayer will now store the filename of the shapefile. |
186 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
187 |
|
must be set new. |
188 |
|
|
189 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
190 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
191 |
|
will be removed from the mapobj. |
192 |
|
Added comments to all functions. |
193 |
|
(thuban_to_map): No layer will be removed here. |
194 |
|
|
195 |
|
* Extensions/umn_mapserver/mf_handle.py |
196 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
197 |
|
Layersettings for the mapserver kann be edited. |
198 |
|
|
199 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
200 |
|
imported, will be linked with the associated MF_Layer. |
201 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
202 |
|
Disable the "import layer from mapfile" menu option. |
203 |
|
|
204 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
205 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
206 |
|
layer on permanently. |
207 |
|
|
208 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
209 |
|
|
210 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
211 |
|
New. This function removes all metadata |
212 |
|
(MF_Layer.set_group): New. Set the group setting. |
213 |
|
(MF_Layer.get_group): New. Get the group setting. |
214 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
215 |
|
parameter instead. |
216 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
217 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
218 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
219 |
|
if the object is an instance. Also added the annotation layer here to |
220 |
|
export, but only the layer is created in the mapfile. |
221 |
|
|
222 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
223 |
|
the check if a mapobj exist, because its not needed anymore. The |
224 |
|
export function is only available if a mapobj exist. |
225 |
|
Use the new function to remove all layers. |
226 |
|
|
227 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
228 |
|
option and the metadata button. The layer dialog is temporary disabled. |
229 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
230 |
|
correct. |
231 |
|
|
232 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
233 |
|
the number of layer from import_mapfile to this function. |
234 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
235 |
|
thuban. The layer don't do anything. It's only to show the layer |
236 |
|
and to save the layer order. |
237 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
238 |
|
(select_layer2import): New. Import only layers to thuban and not |
239 |
|
the other settings like projection or scalebar. |
240 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
241 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
242 |
|
|
243 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
244 |
|
parameter to the roads and cultural layers. Also added a new |
245 |
|
Annotation Layer for the cultural points. |
246 |
|
|
247 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
248 |
|
option for the annotation layer. |
249 |
|
|
250 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
251 |
|
parameter for the annotation layer. |
252 |
|
|
253 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
254 |
|
|
255 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
256 |
|
translation completed. |
257 |
|
|
258 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
259 |
|
Fixed unprecise description for Save Session. |
260 |
|
|
261 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
262 |
|
|
263 |
|
Started translation of Users Manual into german. |
264 |
|
|
265 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
266 |
|
|
267 |
|
* Doc/manual/Makefile: Added build instructions for german |
268 |
|
users manual. |
269 |
|
|
270 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
271 |
|
|
272 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
273 |
|
|
274 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
275 |
|
functions. Now all metadata will handle by the function and its not |
276 |
|
needed to initialize it from outside. Therefor the associated mapobj |
277 |
|
will be stored in the Metadata Object. So we can use the special |
278 |
|
functions from the associated mapobj to get the Metadata. |
279 |
|
Therefor all initialization code for the metadata is removed from the |
280 |
|
other classes. |
281 |
|
(MF_Layer): Added a function to get the metadata object. |
282 |
|
(MF_Map): Added a function to set the mappath, the path where |
283 |
|
the mapfile ist stored. |
284 |
|
|
285 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
286 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
287 |
|
data in the Thuban-view. |
288 |
|
(export_mapfile): The shapepath is now set empty, until relative |
289 |
|
pathnames are supported. |
290 |
|
|
291 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
292 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
293 |
|
supported are not implemented. |
294 |
|
Added a dialog to handle layer informations. The dialog only shows the |
295 |
|
selected layer at the moment. |
296 |
|
|
297 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
298 |
|
code for setting the extent in thuban. Now the extent is set to the |
299 |
|
given extent from the mapfile. |
300 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
301 |
|
loaded, and not if one is selected to load. |
302 |
|
|
303 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
304 |
|
move the shown map in the browser. |
305 |
|
|
306 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
307 |
|
line to the mapobj and added metadata to the political layer. |
308 |
|
|
309 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
310 |
|
for Metadata. |
311 |
|
|
312 |
|
2004-07-26 Martin Schulze <[email protected]> |
313 |
|
|
314 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
315 |
|
ClassMapper |
316 |
|
|
317 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
318 |
|
case for the new ClassMapper |
319 |
|
|
320 |
|
|
321 |
2004-07-22 Bernhard Herzog <[email protected]> |
2004-07-22 Bernhard Herzog <[email protected]> |
322 |
|
|
323 |
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
359 |
|
|
360 |
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
361 |
range expression import. |
range expression import. |
362 |
|
|
363 |
2004-07-21 Jan-Oliver Wagner <[email protected]> |
2004-07-21 Jan-Oliver Wagner <[email protected]> |
364 |
|
|
365 |
* Extensions/umn_mapserver/README: Added hint that |
* Extensions/umn_mapserver/README: Added hint that |