1 |
|
2004-07-14 Jan Sch�ngel <[email protected]> |
2 |
|
|
3 |
|
* Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to |
4 |
|
import. |
5 |
|
(MF_Symbolset): Removed the extra variable for numsymbols. |
6 |
|
(MF_Class.__init__): Added a comment to the exception clause. |
7 |
|
Removed the extent init, because it was not needed anymore. |
8 |
|
(MF_Layer.add_thubanclass): Added the code to set the class name to |
9 |
|
the expression value from thuban if no label is defined. |
10 |
|
Added the code to export Range expressions from thuban to the mapfile. |
11 |
|
(MF_Map.set_extent): Removed the exception and replace it by some if |
12 |
|
code. If the size of a map is not defined the size will be set to 1,1. |
13 |
|
This is necessary because if the extent is set, mapscript checks if |
14 |
|
the size is greater than zero. |
15 |
|
(MF_Web): Added the get and set function for the template. |
16 |
|
|
17 |
|
* Extensions/umn_mapserver/mf_export.py: Added the function to check |
18 |
|
if a mapobject exists and used it to set the status of the menu items. |
19 |
|
If no mapfile exists the settings could not be edditied. |
20 |
|
Define after which menuitem the exportitem will include. |
21 |
|
|
22 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the import |
23 |
|
Thuban.UI.mainwindow clause, because it is not needed. |
24 |
|
Added the command Refresh() to all "OnChangeColor()" functions, |
25 |
|
because the color preview window was not updated on a color change. |
26 |
|
Added the function to check if a mapobject exists and used it to set the |
27 |
|
status of the menu items. If no mapobject exists the settings could not |
28 |
|
be edditied. |
29 |
|
(Map_Dialog): Moved the imagetype selector from the |
30 |
|
Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog. |
31 |
|
(Web_Dialog): Removed the name label and added the template textbox. |
32 |
|
|
33 |
|
* Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace |
34 |
|
the exception handling on loading the layers by an if statement. It |
35 |
|
is not necessary to us the exception there. |
36 |
|
The Filepath creation now use os.path.join to build the path. |
37 |
|
|
38 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap |
39 |
|
definition from global to the setUp function. Now the testMap will |
40 |
|
initialize new on each test. |
41 |
|
|
42 |
|
* Extensions/umn_mapserver/sample/iceland.map: Include three new |
43 |
|
classes in the Line Layer, to test logical Expressions. |
44 |
|
Set the status of the class "Point9" in the Point Layer to off |
45 |
|
|
46 |
|
2004-07-13 Bernhard Herzog <[email protected]> |
47 |
|
|
48 |
|
* Thuban/UI/baserenderer.py |
49 |
|
(BaseRenderer.render_map_incrementally): Fix a logic bug in the |
50 |
|
optimization that tries not to draw layers under a raster layer. |
51 |
|
The bug was harmless. All it effectively did was to produce The a |
52 |
|
strange messages about not being able to draw Layer instances for |
53 |
|
all vector layers below a raster layer which would be invisible |
54 |
|
anyway because the raster layer currently always covers the entire |
55 |
|
window |
56 |
|
|
57 |
|
2004-07-08 Jan Sch�ngel <[email protected]> |
58 |
|
|
59 |
|
* Extensions/umn_mapserver/mapfile.py: Added code to generade and get |
60 |
|
a list of supported outputformats. This formats are not alle supported |
61 |
|
because there is no possibility to get the outputformat without the |
62 |
|
name known. Make some formal changes to the code. |
63 |
|
(MF_Map.set_name()): Fixed a bug if the name is None. |
64 |
|
|
65 |
|
* Extensions/umn_mapserver/mf_handle.py: Removed the image_type import |
66 |
|
statement, because its not needed anymore. The Outputformat is now |
67 |
|
given as string from the object. Make some formal changes to the code. |
68 |
|
|
69 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: Added new test for |
70 |
|
most of the new setting which were added during the last changes. |
71 |
|
Removed the MF_Size Test. |
72 |
|
|
73 |
|
* Extensions/umn_mapserver/test/test.map: Added a new class to the |
74 |
|
cultural Layer to test expressions and the the status of that layer |
75 |
|
from on to default. |
76 |
|
Changed the data path the the correct Thuban Data |
77 |
|
Added the Outputformat Object and Symbol Object |
78 |
|
|
79 |
|
2004-07-07 Jan Sch�ngel <[email protected]> |
80 |
|
|
81 |
|
* Extensions/umn_mapserver/mapfile.py: Added some new |
82 |
|
settings to edit (outputformat, label, imagetype) |
83 |
|
|
84 |
|
* Extensions/umn_mapserver/mf_handle.py: Added some setting to |
85 |
|
the Label Dialog and add the OutputDialog. |
86 |
|
Make some changes to the code order. |
87 |
|
|
88 |
|
2004-07-06 Jan Sch�ngel <[email protected]> |
89 |
|
|
90 |
|
* Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj |
91 |
|
and line Obj and add the scalebar_status_type, scalebar_style_type and |
92 |
|
scalebar_position_type. |
93 |
|
Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The |
94 |
|
are only used to create a Symbol like the circle in Thuban. |
95 |
|
Added the scalebarObject (MF_Scalebar) |
96 |
|
(MF_Class): Added set_status and get_status. |
97 |
|
(MF_Layer.add_thubanclass): Added code to set the class status |
98 |
|
(MF_Map): Added code to handle the symbols and scalebar |
99 |
|
(MF_Label): Added the set_partials and get_partials functions |
100 |
|
|
101 |
|
* Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import |
102 |
|
from mapfile. Added a function to create a circle object like the one |
103 |
|
from thuban if no one exists. |
104 |
|
|
105 |
|
* Extensions/umn_mapserver/mf_handle.py: All colors are now set when |
106 |
|
press ok in the assosiated dialog and not at the end of the |
107 |
|
colordialog. |
108 |
|
Added the Dialog for the Scalebar. |
109 |
|
(Label_Dialog): Added the offset option |
110 |
|
|
111 |
|
* Extensions/umn_mapserver/mf_import.py: Added code to import the |
112 |
|
status of the Classes. |
113 |
|
Fixed a bug with the projection. Now the to_meter parameter will be |
114 |
|
added to the Projection only if it doesn't exists. |
115 |
|
|
116 |
|
2004-07-01 Jan Sch�ngel <[email protected]> |
117 |
|
|
118 |
|
Added the functionality to handle the content thuban is not |
119 |
|
able to handle directly. |
120 |
|
|
121 |
|
* Extensions/umn_mapserver/mf_handle.py: New. This module extents |
122 |
|
Thuban with the possibility to edit the mapfile content. |
123 |
|
|
124 |
|
* Extensions/umn_mapserver/mf_import.py: Added the possibility |
125 |
|
to import mapfiles without any layer selected. So it is possible |
126 |
|
to edit the other settings in a mapfile. |
127 |
|
(import_mapfile): Added code to use the editing functions. |
128 |
|
Added the possibility to import the projection to a layer if one |
129 |
|
is defined. |
130 |
|
Status settings (On,Off) will now set in thuban (visible, invisible). |
131 |
|
fixed a bug with with classnames. If no classname is set in mapfile |
132 |
|
the value in Thuban will set to the expression. |
133 |
|
|
134 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the |
135 |
|
possibility to save a new mapfile or use the old one which is |
136 |
|
imported or new created. |
137 |
|
Added code to use the editing functions. |
138 |
|
Remove some not needed import statements |
139 |
|
|
140 |
|
* Extensions/umn_mapserver/mapfile.py: Added new types which are |
141 |
|
need for the editing functions. |
142 |
|
Added needed set-functions for the editing functions. |
143 |
|
Added the possibility to export rasterimages. |
144 |
|
Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol, |
145 |
|
MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the |
146 |
|
moment. |
147 |
|
(MF_Class.set_thubanstyle): Now point layers will set to a default |
148 |
|
symbol to show a circle in mapserver and not only a 1px dot. |
149 |
|
(MF_Style.__init__): Fixed a bug with the color. Color was not set |
150 |
|
correct before. |
151 |
|
(MF_Size): Removed, because it is not needed. |
152 |
|
|
153 |
|
* Extensions/umn_mapserver/README: Added the hints to use the |
154 |
|
export and editing functions, too. |
155 |
|
|
156 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the |
157 |
|
new parameter "UNITS METERS". |
158 |
|
Change the political layer to status OFF. |
159 |
|
|
160 |
|
* Extensions/umn_mapserver/sample/README: Added some |
161 |
|
more details to setup the sample in the MapServer. |
162 |
|
|
163 |
|
2004-06-26 Bernhard Reiter <[email protected]> |
164 |
|
|
165 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
166 |
|
Removed class VFile and used standard StringIO instead. |
167 |
|
|
168 |
|
2004-06-23 Jan Sch�ngel <[email protected]> |
169 |
|
|
170 |
|
Add the export function to the umn_mapserver extension. |
171 |
|
|
172 |
|
* Extension/umn_mapserver/mf_export.py: New. This module extents |
173 |
|
Thuban with the possibility to export the Thuban content. |
174 |
|
|
175 |
|
* Extensions/umn_mapserver/mapfile.py: Expand the classes to use |
176 |
|
with the export module. Especially added the possibility to |
177 |
|
add thuban objects directly to the map objects. |
178 |
|
|
179 |
|
* Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR, |
180 |
|
because of the hint from Bernhard Herzog. |
181 |
|
Corrected the handling of absolute pathnames. |
182 |
|
Changed the Text of the Menu-Item, now the beginning is upper case. |
183 |
|
|
184 |
|
* Extensions/umn_mapserver/README: Added the --with-tiff statement. |
185 |
|
|
186 |
|
2004-06-16 Jan Sch�ngel <[email protected]> |
187 |
|
|
188 |
|
Add a sample and make some changes. |
189 |
|
|
190 |
|
* Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx |
191 |
|
import from * to explicit used statements. Changed the |
192 |
|
Thuban.UI.mainwindow import phrase, too. |
193 |
|
(import_mapfile):Corrected a clerical mistake. |
194 |
|
Added wxCHANGE_DIR in OpenFile Dialog. |
195 |
|
Added a MultipleChoiceDialog, to select the layers to load from |
196 |
|
mapfile into thuban. Thereby the projection is only set if one layer |
197 |
|
is selected. |
198 |
|
Added the possibility to handle relative pathnames which uses |
199 |
|
up-level references. |
200 |
|
Removed some doubled code. |
201 |
|
Corrected an error with integer values used as label in thuban |
202 |
|
ClassGroup. |
203 |
|
|
204 |
|
* Extensions/umn_mapserver/sample: New. |
205 |
|
|
206 |
|
* Extensions/umn_mapserver/sample/README: New. Describes the |
207 |
|
usage of the sample files. |
208 |
|
|
209 |
|
* Extensions/umn_mapserver/sample/iceland.map: New. This is |
210 |
|
a suitable .map-file for the iceland data. |
211 |
|
|
212 |
|
* Extensions/umn_mapserver/sample/index.html: New. The template |
213 |
|
for the mapfile. |
214 |
|
|
215 |
|
* Extensions/umn_mapserver/sample/iceland.html: New. Initialisation |
216 |
|
file for the Iceland Application on web. |
217 |
|
|
218 |
|
* Extensions/umn_mapserver/README: Corrected a inaccuracy and added |
219 |
|
some details. |
220 |
|
|
221 |
|
* Extensions/umn_mapserver/test/test_mapserver |
222 |
|
(mapserver_import_Test_generalClasses.test_MF_Color): |
223 |
|
Corrected the thubancolor test. |
224 |
|
|
225 |
|
2004-06-15 Jan Sch�ngel <[email protected]> |
226 |
|
|
227 |
|
* Extensions/umn_mapserver/README: New. Install instruction. |
228 |
|
|
229 |
|
2004-06-14 Bernhard Reiter <[email protected]> |
230 |
|
|
231 |
|
* libraries/thuban/cpl_mfile.h: Added copyright header. |
232 |
|
|
233 |
|
* libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting |
234 |
|
Free Software License so that it is most useful with gdalwarp |
235 |
|
and bmpdataset. |
236 |
|
|
237 |
|
2004-06-14 Bernhard Herzog <[email protected]> |
238 |
|
|
239 |
|
* Thuban/UI/multiplechoicedialog.py (__version__): Add missing |
240 |
|
import of wxPython.wx itself (as opposed to the contents of |
241 |
|
wxPython.wx). For some reason wxPython.wx is available as |
242 |
|
wxPython.wx.wx in at least some 2.4 releases. Fixes RT#2482 |
243 |
|
wrt. wxPython 2.4. |
244 |
|
|
245 |
|
2004-06-10 Jan Sch�ngel <[email protected]> |
246 |
|
|
247 |
|
Initial version of new extension "umn_mapserver". This extension aims |
248 |
|
to manage configuration for the UMN MapServer application. This |
249 |
|
inital version just imports the .map-files and displays all, Thuban is |
250 |
|
capable of. |
251 |
|
|
252 |
|
* Extensions/umn_mapserver, Extensions/umn_mapserver/test: New. |
253 |
|
|
254 |
|
* Extensions/umn_mapserver/test/README: New. Describes how to run the |
255 |
|
tests. |
256 |
|
|
257 |
|
* Extensions/umn_mapserver/test/test.map: New. This is a test |
258 |
|
.map-file for automated tests of the umn_mapserver extension of |
259 |
|
Thuban. |
260 |
|
|
261 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for |
262 |
|
UMN Mapserver classes. |
263 |
|
|
264 |
|
* Extensions/umn_mapserver/__init__.py: New. Init to make this |
265 |
|
directory a package. |
266 |
|
|
267 |
|
* Extensions/umn_mapserver/mapfile.py: New. Classes to represent |
268 |
|
'.map'-file objects. |
269 |
|
|
270 |
|
* Extensions/umn_mapserver/mf_import.py: New. This module extends |
271 |
|
Thuban with the possibility to handle UMN MapServer mapfiles. |
272 |
|
|
273 |
|
2004-06-03 Bernhard Herzog <[email protected]> |
274 |
|
|
275 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box |
276 |
|
to a tuple before using it as arguments to the % operator. This |
277 |
|
fixes the formatting issue filed in RT#2239 on 2004-01-13 and |
278 |
|
reported today on thuban-list by Jan Sch�ngel |
279 |
|
|
280 |
|
* test/test_layer.py (TestLayerModification.setUp): Save the |
281 |
|
filename as an instance variable so we can refer to it in tests |
282 |
|
(TestLayerModification.test_tree_info): Uncomment this method |
283 |
|
again and make it work. This tests for the formatting issue |
284 |
|
filed in RT#2239 on 2004-01-13 |
285 |
|
|
286 |
|
2004-05-28 Bernhard Herzog <[email protected]> |
287 |
|
|
288 |
|
* Thuban/UI/baserenderer.py: Fix some typos. |
289 |
|
|
290 |
2004-05-18 Jan-Oliver Wagner <[email protected]> |
2004-05-18 Jan-Oliver Wagner <[email protected]> |
291 |
|
|
292 |
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug |
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug |