1 |
|
2004-05-18 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug |
4 |
|
by increasing a field size. |
5 |
|
|
6 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
Update to newest shapelib and get rid of Thuban specific |
9 |
|
extensions, i.e. use the new DBFUpdateHeader instead of our |
10 |
|
DBFCommit kludge |
11 |
|
|
12 |
|
* libraries/shapelib/shpopen.c: Update to version from current |
13 |
|
shapelib CVS. |
14 |
|
|
15 |
|
* libraries/shapelib/shapefil.h: Update to version from current |
16 |
|
shapelib CVS. |
17 |
|
|
18 |
|
* libraries/shapelib/dbfopen.c: Update to version from current |
19 |
|
shapelib CVS. |
20 |
|
(DBFCommit): Effectively removed since shapelib itself has |
21 |
|
DBFUpdateHeader now which is better for what DBFCommit wanted to |
22 |
|
achieve. |
23 |
|
We're now using an unmodified version of dbfopen. |
24 |
|
|
25 |
|
* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with |
26 |
|
value '1' to the Lib.dbflibc extension. This simply reflects the |
27 |
|
shapelib and pyshapelib updates |
28 |
|
|
29 |
|
2004-05-16 Jan-Oliver Wagner <[email protected]> |
30 |
|
|
31 |
|
Finished introduction of Menu.FindOrInsertMenu. |
32 |
|
|
33 |
|
* Extensions/drawshape/drawshape.py: Add the command |
34 |
|
to the experimental menu additionally to the toolbar. |
35 |
|
|
36 |
|
* Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of |
37 |
|
finding menu on its own. |
38 |
|
|
39 |
|
* Doc/manual/thuban-manual.xml: updated sample file |
40 |
|
to use FindOrInsertMenu(). |
41 |
|
|
42 |
|
* Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu() |
43 |
|
instead of finding menu on its own. |
44 |
|
|
45 |
|
2004-05-11 Jan-Oliver Wagner <[email protected]> |
46 |
|
|
47 |
|
* test/test_menu.py (MenuTest.test): Added testing |
48 |
|
of method Menu.FindOrInsertMenu. |
49 |
|
|
50 |
|
2004-05-10 Jan-Oliver Wagner <[email protected]> |
51 |
|
|
52 |
|
Introduce and use Menu.FindOrInsertMenu. |
53 |
|
|
54 |
|
* Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a |
55 |
|
given menu or, if not found, insert it. |
56 |
|
|
57 |
|
* Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py, |
58 |
|
/Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py, |
59 |
|
/Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding |
60 |
|
menu on its own. |
61 |
|
|
62 |
|
2004-05-06 Jan-Oliver Wagner <[email protected]> |
63 |
|
|
64 |
|
Introduce a abstract ColorDialog class and remove |
65 |
|
and outdated file. |
66 |
|
|
67 |
|
* Thuban/UI/proj4dialog.py: Removed. It is has been |
68 |
|
replaced by projdialog for quite a while and is not used |
69 |
|
anymore. |
70 |
|
|
71 |
|
* Thuban/UI/colordialog.py: New. Abstraction for color selection |
72 |
|
dialog(s). |
73 |
|
|
74 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor): |
75 |
|
Now calls the abstract ColorDialog instead of wxColourDialog. |
76 |
|
This also removed the dependency to Color class conversion |
77 |
|
from this function. |
78 |
|
|
79 |
|
2004-05-04 Frank Koormann <[email protected]> |
80 |
|
|
81 |
|
* Extensions/bboxdump/__init__.py: Fixed string left over from |
82 |
|
copying. |
83 |
|
|
84 |
|
* Extensions/bboxdump/bboxdump.py (bboxdump): |
85 |
|
Use layer.ShapeStore().AllShapes() to loop over shapes instead of |
86 |
|
xrange(layer.NumShapes()). Compile the bboxmessage from a list |
87 |
|
of formatted outputs (string.join) instead of appending to the |
88 |
|
message. Two progress bar dialogs to report progress on the sometimes |
89 |
|
lenghty processing. |
90 |
|
|
91 |
|
2004-04-22 Frank Koormann <[email protected]> |
92 |
|
|
93 |
|
New Extension to dump bounding boxes of all shapes of the selected |
94 |
|
layer. An optional column can be specified to group the objects, |
95 |
|
in this case the bounding box is a union of the separate boxes. |
96 |
|
Dump can be displayed in a ScrolledMessageDialog or written to file. |
97 |
|
The Extension is simply a combination of available and well tested |
98 |
|
Thuban functionality. |
99 |
|
|
100 |
|
* Extensions/bboxdump/__init__.py: New: Init to make this |
101 |
|
directory a package. |
102 |
|
|
103 |
|
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of |
104 |
|
all shapes of the selected layer. |
105 |
|
|
106 |
|
2004-04-22 Jan-Oliver Wagner <[email protected]> |
107 |
|
|
108 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two |
109 |
|
strings to be i18n now. |
110 |
|
|
111 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
112 |
|
|
113 |
|
Changing popup menu of legend from direct building |
114 |
|
to using the Menu construction as used for the mainwindow. |
115 |
|
|
116 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
117 |
|
layer_to_bottom, layer_visibility |
118 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
119 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
120 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
121 |
|
Replace 1,0 by True, False. |
122 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
123 |
|
current layer. |
124 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
125 |
|
(_has_selected_layer_visible): New. Support function. |
126 |
|
|
127 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
128 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
129 |
|
(LegendTree._OnRightClick): Replace direct creation of |
130 |
|
menu via wx Classes by applying the menu definition |
131 |
|
as of Menu class of menu.py. |
132 |
|
|
133 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
134 |
|
|
135 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
136 |
|
button string to stronger clearify that Thuban will be closed when hitting |
137 |
|
the button. |
138 |
|
|
139 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
140 |
|
Now for layers without a ShapeStore a corresponding message is given |
141 |
|
to the user, that this layer has no table to show. |
142 |
|
|
143 |
|
2004-04-15 Martin Schulze <[email protected]> |
144 |
|
|
145 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
146 |
|
recalculate the format for the internal render engine as well. |
147 |
|
|
148 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
149 |
|
properties dialog. It's functional for a first selection of |
150 |
|
layers, but still has some weired wxWidgets/GTK problems but |
151 |
|
beautification can be done later. |
152 |
|
|
153 |
|
* Extensions/wms/layer.py: Added more documentation |
154 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
155 |
|
by the WMS server |
156 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
157 |
|
supported by the WMS server |
158 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
159 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
160 |
|
for WMS GetMap requests |
161 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
162 |
|
for WMS GetMap requests |
163 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
164 |
|
a list of layers (unsorted at the moment, though). |
165 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
166 |
|
visible layers |
167 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
168 |
|
visible layers |
169 |
|
|
170 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
171 |
|
order to establish a clean structure. |
172 |
|
|
173 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
174 |
|
own in order to establish a clean structure. |
175 |
|
|
176 |
|
2004-04-13 Martin Schulze <[email protected]> |
177 |
|
|
178 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
179 |
|
support for oldstyle (WMS 1.0 apparently) image format |
180 |
|
specification. |
181 |
|
|
182 |
|
* Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of |
183 |
|
supported graphic formats back to JPEG and BMP, PNG and others are |
184 |
|
too *cough* experimental... Sorry, I meant to filter this out |
185 |
|
before I committed this part. This should make the WMS extension |
186 |
|
run from CVS again. |
187 |
|
(wms_dialog): Reset an empty URL to None so that the subsequent |
188 |
|
program can depend on this, since the dialog will indeed return an |
189 |
|
empty URL, causing another declaration of love by Python. |
190 |
|
|
191 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox): |
192 |
|
Whenever a native BoundingBox request cannot be fulfilled, check |
193 |
|
whether the requested SRS is EPSG:3426, in which case return the |
194 |
|
LatLonBoundingBox values. |
195 |
|
|
196 |
|
* Extensions/wms/test/test_parser.py |
197 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Added a test for |
198 |
|
ignoring AUTO:* SRS. |
199 |
|
(TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes): |
200 |
|
Added another test method to test whether the LatLonBoundingBox |
201 |
|
values will be returned if BoundingBox values are requested with |
202 |
|
SRS set to EPSG:3426. |
203 |
|
|
204 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers): |
205 |
|
Added rudimentary support for non-EPSG SRS, i.e. ignore them for |
206 |
|
the moment by placing them into a variable which is currently |
207 |
|
unused. Also test whether the EPSG SRS is numerical as it should |
208 |
|
be and add an error message if it is not. |
209 |
|
|
210 |
|
* Extensions/wms/test/sample.xml: Added AUTO:* SRS since they |
211 |
|
appear in the real world as well. Since we cannot handle them yet |
212 |
|
(OGCLib can't either), we will ignore them for the moment. |
213 |
|
|
214 |
|
* Extensions/wms/parser.py: Use a variable for denoting the sample |
215 |
|
filename |
216 |
|
(WMSCapabilitiesParser.peekLayers): Added support for error |
217 |
|
messages during grok(). They will be aggregated in an array and |
218 |
|
may be displayed later. We may have to add a classification |
219 |
|
"Warning" and "Error" to this. That requires more experience, |
220 |
|
though, since not every error may be lethal. |
221 |
|
|
222 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the |
223 |
|
ShowTable() dialog/frame when the user attempts to display it |
224 |
|
while it has been opened before already and not closed again. |
225 |
|
|
226 |
2004-04-11 Martin Schulze <[email protected]> |
2004-04-11 Martin Schulze <[email protected]> |
227 |
|
|
228 |
* Extensions/wms/infodialog.py: Adjusted the class documentation |
* Extensions/wms/infodialog.py: Adjusted the class documentation |