1 |
|
2004-07-07 Jan Sch�ngel <[email protected]> |
2 |
|
|
3 |
|
* Extensions/umn_mapserver/mapfile.py: Added some new |
4 |
|
settings to edit (outputformat, label, imagetype) |
5 |
|
|
6 |
|
* Extensions/umn_mapserver/mf_handle.py: Added some setting to |
7 |
|
the Label Dialog and add the OutputDialog. |
8 |
|
Make some changes to the code order. |
9 |
|
|
10 |
|
2004-07-06 Jan Sch�ngel <[email protected]> |
11 |
|
|
12 |
|
* Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj |
13 |
|
and line Obj and add the scalebar_status_type, scalebar_style_type and |
14 |
|
scalebar_position_type. |
15 |
|
Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The |
16 |
|
are only used to create a Symbol like the circle in Thuban. |
17 |
|
Added the scalebarObject (MF_Scalebar) |
18 |
|
(MF_Class): Added set_status and get_status. |
19 |
|
(MF_Layer.add_thubanclass): Added code to set the class status |
20 |
|
(MF_Map): Added code to handle the symbols and scalebar |
21 |
|
(MF_Label): Added the set_partials and get_partials functions |
22 |
|
|
23 |
|
* Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import |
24 |
|
from mapfile. Added a function to create a circle object like the one |
25 |
|
from thuban if no one exists. |
26 |
|
|
27 |
|
* Extensions/umn_mapserver/mf_handle.py: All colors are now set when |
28 |
|
press ok in the assosiated dialog and not at the end of the |
29 |
|
colordialog. |
30 |
|
Added the Dialog for the Scalebar. |
31 |
|
(Label_Dialog): Added the offset option |
32 |
|
|
33 |
|
* Extensions/umn_mapserver/mf_import.py: Added code to import the |
34 |
|
status of the Classes. |
35 |
|
Fixed a bug with the projection. Now the to_meter parameter will be |
36 |
|
added to the Projection only if it doesn't exists. |
37 |
|
|
38 |
|
2004-07-01 Jan Sch�ngel <[email protected]> |
39 |
|
|
40 |
|
Added the functionality to handle the content thuban is not |
41 |
|
able to handle directly. |
42 |
|
|
43 |
|
* Extensions/umn_mapserver/mf_handle.py: New. This module extents |
44 |
|
Thuban with the possibility to edit the mapfile content. |
45 |
|
|
46 |
|
* Extensions/umn_mapserver/mf_import.py: Added the possibility |
47 |
|
to import mapfiles without any layer selected. So it is possible |
48 |
|
to edit the other settings in a mapfile. |
49 |
|
(import_mapfile): Added code to use the editing functions. |
50 |
|
Added the possibility to import the projection to a layer if one |
51 |
|
is defined. |
52 |
|
Status settings (On,Off) will now set in thuban (visible, invisible). |
53 |
|
fixed a bug with with classnames. If no classname is set in mapfile |
54 |
|
the value in Thuban will set to the expression. |
55 |
|
|
56 |
|
* Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the |
57 |
|
possibility to save a new mapfile or use the old one which is |
58 |
|
imported or new created. |
59 |
|
Added code to use the editing functions. |
60 |
|
Remove some not needed import statements |
61 |
|
|
62 |
|
* Extensions/umn_mapserver/mapfile.py: Added new types which are |
63 |
|
need for the editing functions. |
64 |
|
Added needed set-functions for the editing functions. |
65 |
|
Added the possibility to export rasterimages. |
66 |
|
Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol, |
67 |
|
MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the |
68 |
|
moment. |
69 |
|
(MF_Class.set_thubanstyle): Now point layers will set to a default |
70 |
|
symbol to show a circle in mapserver and not only a 1px dot. |
71 |
|
(MF_Style.__init__): Fixed a bug with the color. Color was not set |
72 |
|
correct before. |
73 |
|
(MF_Size): Removed, because it is not needed. |
74 |
|
|
75 |
|
* Extensions/umn_mapserver/README: Added the hints to use the |
76 |
|
export and editing functions, too. |
77 |
|
|
78 |
|
* Extensions/umn_mapserver/sample/iceland.map: Added the |
79 |
|
new parameter "UNITS METERS". |
80 |
|
Change the political layer to status OFF. |
81 |
|
|
82 |
|
* Extensions/umn_mapserver/sample/README: Added some |
83 |
|
more details to setup the sample in the MapServer. |
84 |
|
|
85 |
|
2004-06-26 Bernhard Reiter <[email protected]> |
86 |
|
|
87 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
88 |
|
Removed class VFile and used standard StringIO instead. |
89 |
|
|
90 |
|
2004-06-23 Jan Sch�ngel <[email protected]> |
91 |
|
|
92 |
|
Add the export function to the umn_mapserver extension. |
93 |
|
|
94 |
|
* Extension/umn_mapserver/mf_export.py: New. This module extents |
95 |
|
Thuban with the possibility to export the Thuban content. |
96 |
|
|
97 |
|
* Extensions/umn_mapserver/mapfile.py: Expand the classes to use |
98 |
|
with the export module. Especially added the possibility to |
99 |
|
add thuban objects directly to the map objects. |
100 |
|
|
101 |
|
* Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR, |
102 |
|
because of the hint from Bernhard Herzog. |
103 |
|
Corrected the handling of absolute pathnames. |
104 |
|
Changed the Text of the Menu-Item, now the beginning is upper case. |
105 |
|
|
106 |
|
* Extensions/umn_mapserver/README: Added the --with-tiff statement. |
107 |
|
|
108 |
|
2004-06-16 Jan Sch�ngel <[email protected]> |
109 |
|
|
110 |
|
Add a sample and make some changes. |
111 |
|
|
112 |
|
* Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx |
113 |
|
import from * to explicit used statements. Changed the |
114 |
|
Thuban.UI.mainwindow import phrase, too. |
115 |
|
(import_mapfile):Corrected a clerical mistake. |
116 |
|
Added wxCHANGE_DIR in OpenFile Dialog. |
117 |
|
Added a MultipleChoiceDialog, to select the layers to load from |
118 |
|
mapfile into thuban. Thereby the projection is only set if one layer |
119 |
|
is selected. |
120 |
|
Added the possibility to handle relative pathnames which uses |
121 |
|
up-level references. |
122 |
|
Removed some doubled code. |
123 |
|
Corrected an error with integer values used as label in thuban |
124 |
|
ClassGroup. |
125 |
|
|
126 |
|
* Extensions/umn_mapserver/sample: New. |
127 |
|
|
128 |
|
* Extensions/umn_mapserver/sample/README: New. Describes the |
129 |
|
usage of the sample files. |
130 |
|
|
131 |
|
* Extensions/umn_mapserver/sample/iceland.map: New. This is |
132 |
|
a suitable .map-file for the iceland data. |
133 |
|
|
134 |
|
* Extensions/umn_mapserver/sample/index.html: New. The template |
135 |
|
for the mapfile. |
136 |
|
|
137 |
|
* Extensions/umn_mapserver/sample/iceland.html: New. Initialisation |
138 |
|
file for the Iceland Application on web. |
139 |
|
|
140 |
|
* Extensions/umn_mapserver/README: Corrected a inaccuracy and added |
141 |
|
some details. |
142 |
|
|
143 |
|
* Extensions/umn_mapserver/test/test_mapserver |
144 |
|
(mapserver_import_Test_generalClasses.test_MF_Color): |
145 |
|
Corrected the thubancolor test. |
146 |
|
|
147 |
|
2004-06-15 Jan Sch�ngel <[email protected]> |
148 |
|
|
149 |
|
* Extensions/umn_mapserver/README: New. Install instruction. |
150 |
|
|
151 |
|
2004-06-14 Bernhard Reiter <[email protected]> |
152 |
|
|
153 |
|
* libraries/thuban/cpl_mfile.h: Added copyright header. |
154 |
|
|
155 |
|
* libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting |
156 |
|
Free Software License so that it is most useful with gdalwarp |
157 |
|
and bmpdataset. |
158 |
|
|
159 |
|
2004-06-14 Bernhard Herzog <[email protected]> |
160 |
|
|
161 |
|
* Thuban/UI/multiplechoicedialog.py (__version__): Add missing |
162 |
|
import of wxPython.wx itself (as opposed to the contents of |
163 |
|
wxPython.wx). For some reason wxPython.wx is available as |
164 |
|
wxPython.wx.wx in at least some 2.4 releases. Fixes RT#2482 |
165 |
|
wrt. wxPython 2.4. |
166 |
|
|
167 |
|
2004-06-10 Jan Sch�ngel <[email protected]> |
168 |
|
|
169 |
|
Initial version of new extension "umn_mapserver". This extension aims |
170 |
|
to manage configuration for the UMN MapServer application. This |
171 |
|
inital version just imports the .map-files and displays all, Thuban is |
172 |
|
capable of. |
173 |
|
|
174 |
|
* Extensions/umn_mapserver, Extensions/umn_mapserver/test: New. |
175 |
|
|
176 |
|
* Extensions/umn_mapserver/test/README: New. Describes how to run the |
177 |
|
tests. |
178 |
|
|
179 |
|
* Extensions/umn_mapserver/test/test.map: New. This is a test |
180 |
|
.map-file for automated tests of the umn_mapserver extension of |
181 |
|
Thuban. |
182 |
|
|
183 |
|
* Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for |
184 |
|
UMN Mapserver classes. |
185 |
|
|
186 |
|
* Extensions/umn_mapserver/__init__.py: New. Init to make this |
187 |
|
directory a package. |
188 |
|
|
189 |
|
* Extensions/umn_mapserver/mapfile.py: New. Classes to represent |
190 |
|
'.map'-file objects. |
191 |
|
|
192 |
|
* Extensions/umn_mapserver/mf_import.py: New. This module extends |
193 |
|
Thuban with the possibility to handle UMN MapServer mapfiles. |
194 |
|
|
195 |
|
2004-06-03 Bernhard Herzog <[email protected]> |
196 |
|
|
197 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box |
198 |
|
to a tuple before using it as arguments to the % operator. This |
199 |
|
fixes the formatting issue filed in RT#2239 on 2004-01-13 and |
200 |
|
reported today on thuban-list by Jan Sch�ngel |
201 |
|
|
202 |
|
* test/test_layer.py (TestLayerModification.setUp): Save the |
203 |
|
filename as an instance variable so we can refer to it in tests |
204 |
|
(TestLayerModification.test_tree_info): Uncomment this method |
205 |
|
again and make it work. This tests for the formatting issue |
206 |
|
filed in RT#2239 on 2004-01-13 |
207 |
|
|
208 |
|
2004-05-28 Bernhard Herzog <[email protected]> |
209 |
|
|
210 |
|
* Thuban/UI/baserenderer.py: Fix some typos. |
211 |
|
|
212 |
|
2004-05-18 Jan-Oliver Wagner <[email protected]> |
213 |
|
|
214 |
|
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug |
215 |
|
by increasing a field size. |
216 |
|
|
217 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
218 |
|
|
219 |
|
Update to newest shapelib and get rid of Thuban specific |
220 |
|
extensions, i.e. use the new DBFUpdateHeader instead of our |
221 |
|
DBFCommit kludge |
222 |
|
|
223 |
|
* libraries/shapelib/shpopen.c: Update to version from current |
224 |
|
shapelib CVS. |
225 |
|
|
226 |
|
* libraries/shapelib/shapefil.h: Update to version from current |
227 |
|
shapelib CVS. |
228 |
|
|
229 |
|
* libraries/shapelib/dbfopen.c: Update to version from current |
230 |
|
shapelib CVS. |
231 |
|
(DBFCommit): Effectively removed since shapelib itself has |
232 |
|
DBFUpdateHeader now which is better for what DBFCommit wanted to |
233 |
|
achieve. |
234 |
|
We're now using an unmodified version of dbfopen. |
235 |
|
|
236 |
|
* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with |
237 |
|
value '1' to the Lib.dbflibc extension. This simply reflects the |
238 |
|
shapelib and pyshapelib updates |
239 |
|
|
240 |
|
2004-05-16 Jan-Oliver Wagner <[email protected]> |
241 |
|
|
242 |
|
Finished introduction of Menu.FindOrInsertMenu. |
243 |
|
|
244 |
|
* Extensions/drawshape/drawshape.py: Add the command |
245 |
|
to the experimental menu additionally to the toolbar. |
246 |
|
|
247 |
|
* Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of |
248 |
|
finding menu on its own. |
249 |
|
|
250 |
|
* Doc/manual/thuban-manual.xml: updated sample file |
251 |
|
to use FindOrInsertMenu(). |
252 |
|
|
253 |
|
* Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu() |
254 |
|
instead of finding menu on its own. |
255 |
|
|
256 |
|
2004-05-11 Jan-Oliver Wagner <[email protected]> |
257 |
|
|
258 |
|
* test/test_menu.py (MenuTest.test): Added testing |
259 |
|
of method Menu.FindOrInsertMenu. |
260 |
|
|
261 |
|
2004-05-10 Jan-Oliver Wagner <[email protected]> |
262 |
|
|
263 |
|
Introduce and use Menu.FindOrInsertMenu. |
264 |
|
|
265 |
|
* Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a |
266 |
|
given menu or, if not found, insert it. |
267 |
|
|
268 |
|
* Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py, |
269 |
|
/Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py, |
270 |
|
/Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding |
271 |
|
menu on its own. |
272 |
|
|
273 |
|
2004-05-06 Jan-Oliver Wagner <[email protected]> |
274 |
|
|
275 |
|
Introduce a abstract ColorDialog class and remove |
276 |
|
and outdated file. |
277 |
|
|
278 |
|
* Thuban/UI/proj4dialog.py: Removed. It is has been |
279 |
|
replaced by projdialog for quite a while and is not used |
280 |
|
anymore. |
281 |
|
|
282 |
|
* Thuban/UI/colordialog.py: New. Abstraction for color selection |
283 |
|
dialog(s). |
284 |
|
|
285 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor): |
286 |
|
Now calls the abstract ColorDialog instead of wxColourDialog. |
287 |
|
This also removed the dependency to Color class conversion |
288 |
|
from this function. |
289 |
|
|
290 |
|
2004-05-04 Frank Koormann <[email protected]> |
291 |
|
|
292 |
|
* Extensions/bboxdump/__init__.py: Fixed string left over from |
293 |
|
copying. |
294 |
|
|
295 |
|
* Extensions/bboxdump/bboxdump.py (bboxdump): |
296 |
|
Use layer.ShapeStore().AllShapes() to loop over shapes instead of |
297 |
|
xrange(layer.NumShapes()). Compile the bboxmessage from a list |
298 |
|
of formatted outputs (string.join) instead of appending to the |
299 |
|
message. Two progress bar dialogs to report progress on the sometimes |
300 |
|
lenghty processing. |
301 |
|
|
302 |
|
2004-04-22 Frank Koormann <[email protected]> |
303 |
|
|
304 |
|
New Extension to dump bounding boxes of all shapes of the selected |
305 |
|
layer. An optional column can be specified to group the objects, |
306 |
|
in this case the bounding box is a union of the separate boxes. |
307 |
|
Dump can be displayed in a ScrolledMessageDialog or written to file. |
308 |
|
The Extension is simply a combination of available and well tested |
309 |
|
Thuban functionality. |
310 |
|
|
311 |
|
* Extensions/bboxdump/__init__.py: New: Init to make this |
312 |
|
directory a package. |
313 |
|
|
314 |
|
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of |
315 |
|
all shapes of the selected layer. |
316 |
|
|
317 |
|
2004-04-22 Jan-Oliver Wagner <[email protected]> |
318 |
|
|
319 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two |
320 |
|
strings to be i18n now. |
321 |
|
|
322 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
323 |
|
|
324 |
|
Changing popup menu of legend from direct building |
325 |
|
to using the Menu construction as used for the mainwindow. |
326 |
|
|
327 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
328 |
|
layer_to_bottom, layer_visibility |
329 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
330 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
331 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
332 |
|
Replace 1,0 by True, False. |
333 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
334 |
|
current layer. |
335 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
336 |
|
(_has_selected_layer_visible): New. Support function. |
337 |
|
|
338 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
339 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
340 |
|
(LegendTree._OnRightClick): Replace direct creation of |
341 |
|
menu via wx Classes by applying the menu definition |
342 |
|
as of Menu class of menu.py. |
343 |
|
|
344 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
345 |
|
|
346 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
347 |
|
button string to stronger clearify that Thuban will be closed when hitting |
348 |
|
the button. |
349 |
|
|
350 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
351 |
|
Now for layers without a ShapeStore a corresponding message is given |
352 |
|
to the user, that this layer has no table to show. |
353 |
|
|
354 |
|
2004-04-15 Martin Schulze <[email protected]> |
355 |
|
|
356 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
357 |
|
recalculate the format for the internal render engine as well. |
358 |
|
|
359 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
360 |
|
properties dialog. It's functional for a first selection of |
361 |
|
layers, but still has some weired wxWidgets/GTK problems but |
362 |
|
beautification can be done later. |
363 |
|
|
364 |
|
* Extensions/wms/layer.py: Added more documentation |
365 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
366 |
|
by the WMS server |
367 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
368 |
|
supported by the WMS server |
369 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
370 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
371 |
|
for WMS GetMap requests |
372 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
373 |
|
for WMS GetMap requests |
374 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
375 |
|
a list of layers (unsorted at the moment, though). |
376 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
377 |
|
visible layers |
378 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
379 |
|
visible layers |
380 |
|
|
381 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
382 |
|
order to establish a clean structure. |
383 |
|
|
384 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
385 |
|
own in order to establish a clean structure. |
386 |
|
|
387 |
2004-04-13 Martin Schulze <[email protected]> |
2004-04-13 Martin Schulze <[email protected]> |
388 |
|
|
389 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |