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