1 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Doc/README: New. Some info about how to generate technical |
4 |
|
documentation from the source code. |
5 |
|
This text was send to the Thuban developer mailing list on |
6 |
|
September 21st 2004 by Bernhard Reiter. |
7 |
|
|
8 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
9 |
|
|
10 |
|
Improved the svgexport to only use unique ids. Will issues |
11 |
|
an error message dialoge when two layer names are the same. |
12 |
|
ShapeIDs are now added with a dash within the svg ids. |
13 |
|
|
14 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
15 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
16 |
|
(TestSVGRenderer): New test class with test_make_in() and |
17 |
|
test_check_for_layer_name_clash() |
18 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
19 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
20 |
|
satisfying test_check_for_layer_name_clash() |
21 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
22 |
|
test_make_in(). |
23 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
24 |
|
and wxICON_HAND. |
25 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
26 |
|
catching SVGmapWriterError notify the user and delete the target file. |
27 |
|
|
28 |
|
2004-09-20 Bernhard Reiter <[email protected]> |
29 |
|
|
30 |
|
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
31 |
|
|
32 |
|
2004-09-03 Jan Sch�ngel <[email protected]> |
33 |
|
|
34 |
|
* Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a |
35 |
|
small bug with the line color. Now the line color will now only set |
36 |
|
if it is set in Thuban an not Transparent. |
37 |
|
|
38 |
|
* Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with |
39 |
|
deleting the layers from mapfile. Now all layers will delete backwards |
40 |
|
from the last. |
41 |
|
|
42 |
|
2004-08-20 Silke Reimer <[email protected]> |
43 |
|
|
44 |
|
* Thuban/Model/layer.py: |
45 |
|
Fixes bug in projection handling: Otherwise very large region might not |
46 |
|
have valid values in the layer's projection. |
47 |
|
|
48 |
|
2004-08-20 Silke Reimer <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/about.py: |
51 |
|
small changes to be consistent with coding style. |
52 |
|
|
53 |
|
2004-08-13 Martin Schulze <[email protected]> |
54 |
|
|
55 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs): |
56 |
|
Adjusted a comment |
57 |
|
|
58 |
|
2004-08-11 Silke Reimer <[email protected]> |
59 |
|
|
60 |
|
* Thuban/UI/about.py: Small changes to encoding related stuff to avoid |
61 |
|
too many and too enhanced imports of locale |
62 |
|
|
63 |
|
2004-08-10 Silke Reimer <[email protected]> |
64 |
|
|
65 |
|
* Thuban/UI/about.py: Fixed encoding problem of about dialog: Added |
66 |
|
function unicodeToLocale() to convert special characters to users |
67 |
|
locale encoding |
68 |
|
|
69 |
|
2004-08-10 Jan-Oliver Wagner <[email protected]> |
70 |
|
|
71 |
|
* Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with |
72 |
|
lower case letter' |
73 |
|
|
74 |
|
2004-08-09 Jan Sch�ngel <[email protected]> |
75 |
|
|
76 |
|
* ChangeLog: Rewrite the last ChangeLog entry to follow |
77 |
|
the standard way. |
78 |
|
|
79 |
|
* Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to |
80 |
|
the function where it is needed, because it don't works if it stands |
81 |
|
at the beginning. |
82 |
|
(MF_Layer.__init__): Removed the extra numclassed variable. Now |
83 |
|
numclasses from the mapscript will be used. |
84 |
|
(MF_Layer.get_index): New. Return the index of the layer in mapfile. |
85 |
|
(MF_Layer.set_classes): New. A Classlist will be set to the layer. |
86 |
|
(MF_Layer.set_metadata): New. A Metadata mapscript object will set. |
87 |
|
(MF_Layer.remove_allclasses): New. All class of the layer will remove. |
88 |
|
(MF_Map.create_new_layer): New. A new Layer is created and associated |
89 |
|
with the mapscript object. |
90 |
|
(MF_Map.set_layerorder): New. The Layer order like in thuban is set in |
91 |
|
the mapscript. |
92 |
|
(MF_Map.add_thubanlayer): Now a new layerobj is created if no one is |
93 |
|
linked to the layer in thuban, else the layerobject linked to the |
94 |
|
thubanlayer will be used. |
95 |
|
AnnotationLayer will now store the filename of the shapefile. |
96 |
|
(MF_Map.remove_layer): If a layer is removed the associated object |
97 |
|
must be set new. |
98 |
|
|
99 |
|
* Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all |
100 |
|
layers which are exists in thuban to the mapobj. All removed Layers |
101 |
|
will be removed from the mapobj. |
102 |
|
Added comments to all functions. |
103 |
|
(thuban_to_map): No layer will be removed here. |
104 |
|
|
105 |
|
* Extensions/umn_mapserver/mf_handle.py |
106 |
|
(_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now |
107 |
|
Layersettings for the mapserver kann be edited. |
108 |
|
|
109 |
|
* Extensions/umn_mapserver/mf_import.py: Now all layers which are |
110 |
|
imported, will be linked with the associated MF_Layer. |
111 |
|
(import_mapfile): All layers, which are not selected, will be removed. |
112 |
|
Disable the "import layer from mapfile" menu option. |
113 |
|
|
114 |
|
* Extensions/umn_mapserver/sample/iceland.map: Set the status of the |
115 |
|
Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the |
116 |
|
layer on permanently. |
117 |
|
|
118 |
|
2004-08-03 Jan Sch�ngel <[email protected]> |
119 |
|
|
120 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata): |
121 |
|
New. This function removes all metadata |
122 |
|
(MF_Layer.set_group): New. Set the group setting. |
123 |
|
(MF_Layer.get_group): New. Get the group setting. |
124 |
|
(MF_Map): Removed the extra numlayers variable, used the mapscript |
125 |
|
parameter instead. |
126 |
|
(MF_Map.get_numlayers): New. This get numlayers. |
127 |
|
(MF_Map.remove_all_layers): New. Removes all layers from the mapobj. |
128 |
|
(MF_Map.add_thubanlayer): Replaced the exception handling by a check |
129 |
|
if the object is an instance. Also added the annotation layer here to |
130 |
|
export, but only the layer is created in the mapfile. |
131 |
|
|
132 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed |
133 |
|
the check if a mapobj exist, because its not needed anymore. The |
134 |
|
export function is only available if a mapobj exist. |
135 |
|
Use the new function to remove all layers. |
136 |
|
|
137 |
|
* Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group |
138 |
|
option and the metadata button. The layer dialog is temporary disabled. |
139 |
|
(Metadata_CustomDataTable): Added some functions to show the grid |
140 |
|
correct. |
141 |
|
|
142 |
|
* Extensions/umn_mapserver/mf_import.py: Moved the code for showing |
143 |
|
the number of layer from import_mapfile to this function. |
144 |
|
(AnnotationLayer): New. This Class shows the Annotation layer in |
145 |
|
thuban. The layer don't do anything. It's only to show the layer |
146 |
|
and to save the layer order. |
147 |
|
(add_annotationlayer): New. Import an annotation layer to thuban. |
148 |
|
(select_layer2import): New. Import only layers to thuban and not |
149 |
|
the other settings like projection or scalebar. |
150 |
|
(create_new_mapfile): Moved the _has_umn_mapobj function and the |
151 |
|
create_new_mapfile functions from mf_handle.py to mf_import.py. |
152 |
|
|
153 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the group |
154 |
|
parameter to the roads and cultural layers. Also added a new |
155 |
|
Annotation Layer for the cultural points. |
156 |
|
|
157 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added the select |
158 |
|
option for the annotation layer. |
159 |
|
|
160 |
|
* Extensions/umn_mapserver/sample/index.html: Added the start |
161 |
|
parameter for the annotation layer. |
162 |
|
|
163 |
|
2004-08-01 Jan-Oliver Wagner <[email protected]> |
164 |
|
|
165 |
|
* Doc/manual/thuban-manual-de.xml (Chapter Session Management): |
166 |
|
translation completed. |
167 |
|
|
168 |
|
* Doc/manual/thuban-manual.xml (Chapter Session Management): |
169 |
|
Fixed unprecise description for Save Session. |
170 |
|
|
171 |
|
2004-07-31 Jan-Oliver Wagner <[email protected]> |
172 |
|
|
173 |
|
Started translation of Users Manual into german. |
174 |
|
|
175 |
|
* Doc/manual/thuban-manual-de.xml: New. German Users Manual. |
176 |
|
|
177 |
|
* Doc/manual/Makefile: Added build instructions for german |
178 |
|
users manual. |
179 |
|
|
180 |
|
* Doc/manual/thuban-manual.xml: Minor corrections in Introduction. |
181 |
|
|
182 |
|
2004-07-28 Jan Sch�ngel <[email protected]> |
183 |
|
|
184 |
|
* Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class |
185 |
|
functions. Now all metadata will handle by the function and its not |
186 |
|
needed to initialize it from outside. Therefor the associated mapobj |
187 |
|
will be stored in the Metadata Object. So we can use the special |
188 |
|
functions from the associated mapobj to get the Metadata. |
189 |
|
Therefor all initialization code for the metadata is removed from the |
190 |
|
other classes. |
191 |
|
(MF_Layer): Added a function to get the metadata object. |
192 |
|
(MF_Map): Added a function to set the mappath, the path where |
193 |
|
the mapfile ist stored. |
194 |
|
|
195 |
|
* Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code |
196 |
|
to set the extent in the mapfile. Now the code is set by the displayed |
197 |
|
data in the Thuban-view. |
198 |
|
(export_mapfile): The shapepath is now set empty, until relative |
199 |
|
pathnames are supported. |
200 |
|
|
201 |
|
* Extension/umn_mapserver/mf_handle.py: Added a dialog to handle |
202 |
|
metadata. Yet only mapfile metadata are supported. Layer and class |
203 |
|
supported are not implemented. |
204 |
|
Added a dialog to handle layer informations. The dialog only shows the |
205 |
|
selected layer at the moment. |
206 |
|
|
207 |
|
* Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the |
208 |
|
code for setting the extent in thuban. Now the extent is set to the |
209 |
|
given extent from the mapfile. |
210 |
|
Fixed a logical mistake. Now the extent is set when realy a layer is |
211 |
|
loaded, and not if one is selected to load. |
212 |
|
|
213 |
|
* Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and |
214 |
|
move the shown map in the browser. |
215 |
|
|
216 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added a new metadata |
217 |
|
line to the mapobj and added metadata to the political layer. |
218 |
|
|
219 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Changed the test |
220 |
|
for Metadata. |
221 |
|
|
222 |
|
2004-07-26 Martin Schulze <[email protected]> |
223 |
|
|
224 |
|
* Thuban/Lib/classmapper.py (ClassMapper.has): Added the new |
225 |
|
ClassMapper |
226 |
|
|
227 |
|
* test/test_classmapper.py (TestMapping.test_mapper): Added a Test |
228 |
|
case for the new ClassMapper |
229 |
|
|
230 |
|
|
231 |
2004-07-22 Bernhard Herzog <[email protected]> |
2004-07-22 Bernhard Herzog <[email protected]> |
232 |
|
|
233 |
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
* Thuban/UI/viewport.py (ViewPort.VisibleExtent): New. Return the |
269 |
|
|
270 |
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
* Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the |
271 |
range expression import. |
range expression import. |
272 |
|
|
273 |
2004-07-21 Jan-Oliver Wagner <[email protected]> |
2004-07-21 Jan-Oliver Wagner <[email protected]> |
274 |
|
|
275 |
* Extensions/umn_mapserver/README: Added hint that |
* Extensions/umn_mapserver/README: Added hint that |