1 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
4 |
|
button string to stronger clearify that Thuban will be closed when hitting |
5 |
|
the button. |
6 |
|
|
7 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
8 |
|
Now for layers without a ShapeStore a corresponding message is given |
9 |
|
to the user, that this layer has no table to show. |
10 |
|
|
11 |
|
2004-04-15 Martin Schulze <[email protected]> |
12 |
|
|
13 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
14 |
|
recalculate the format for the internal render engine as well. |
15 |
|
|
16 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
17 |
|
properties dialog. It's functional for a first selection of |
18 |
|
layers, but still has some weired wxWidgets/GTK problems but |
19 |
|
beautification can be done later. |
20 |
|
|
21 |
|
* Extensions/wms/layer.py: Added more documentation |
22 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
23 |
|
by the WMS server |
24 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
25 |
|
supported by the WMS server |
26 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
27 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
28 |
|
for WMS GetMap requests |
29 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
30 |
|
for WMS GetMap requests |
31 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
32 |
|
a list of layers (unsorted at the moment, though). |
33 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
34 |
|
visible layers |
35 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
36 |
|
visible layers |
37 |
|
|
38 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
39 |
|
order to establish a clean structure. |
40 |
|
|
41 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
42 |
|
own in order to establish a clean structure. |
43 |
|
|
44 |
|
2004-04-13 Martin Schulze <[email protected]> |
45 |
|
|
46 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
47 |
|
support for oldstyle (WMS 1.0 apparently) image format |
48 |
|
specification. |
49 |
|
|
50 |
|
* Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of |
51 |
|
supported graphic formats back to JPEG and BMP, PNG and others are |
52 |
|
too *cough* experimental... Sorry, I meant to filter this out |
53 |
|
before I committed this part. This should make the WMS extension |
54 |
|
run from CVS again. |
55 |
|
(wms_dialog): Reset an empty URL to None so that the subsequent |
56 |
|
program can depend on this, since the dialog will indeed return an |
57 |
|
empty URL, causing another declaration of love by Python. |
58 |
|
|
59 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox): |
60 |
|
Whenever a native BoundingBox request cannot be fulfilled, check |
61 |
|
whether the requested SRS is EPSG:3426, in which case return the |
62 |
|
LatLonBoundingBox values. |
63 |
|
|
64 |
|
* Extensions/wms/test/test_parser.py |
65 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Added a test for |
66 |
|
ignoring AUTO:* SRS. |
67 |
|
(TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes): |
68 |
|
Added another test method to test whether the LatLonBoundingBox |
69 |
|
values will be returned if BoundingBox values are requested with |
70 |
|
SRS set to EPSG:3426. |
71 |
|
|
72 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers): |
73 |
|
Added rudimentary support for non-EPSG SRS, i.e. ignore them for |
74 |
|
the moment by placing them into a variable which is currently |
75 |
|
unused. Also test whether the EPSG SRS is numerical as it should |
76 |
|
be and add an error message if it is not. |
77 |
|
|
78 |
|
* Extensions/wms/test/sample.xml: Added AUTO:* SRS since they |
79 |
|
appear in the real world as well. Since we cannot handle them yet |
80 |
|
(OGCLib can't either), we will ignore them for the moment. |
81 |
|
|
82 |
|
* Extensions/wms/parser.py: Use a variable for denoting the sample |
83 |
|
filename |
84 |
|
(WMSCapabilitiesParser.peekLayers): Added support for error |
85 |
|
messages during grok(). They will be aggregated in an array and |
86 |
|
may be displayed later. We may have to add a classification |
87 |
|
"Warning" and "Error" to this. That requires more experience, |
88 |
|
though, since not every error may be lethal. |
89 |
|
|
90 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the |
91 |
|
ShowTable() dialog/frame when the user attempts to display it |
92 |
|
while it has been opened before already and not closed again. |
93 |
|
|
94 |
|
2004-04-11 Martin Schulze <[email protected]> |
95 |
|
|
96 |
|
* Extensions/wms/infodialog.py: Adjusted the class documentation |
97 |
|
|
98 |
|
* Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg): |
99 |
|
Switch to using Thuban{Begin,End}BusyCursor instead of the pure |
100 |
|
wxWidgets variants. |
101 |
|
(WMSLayer.__init__): The epsg_id variable is named top_srs now. |
102 |
|
|
103 |
|
* Extensions/wms/infodialog.py: Added an information dialog that |
104 |
|
will display various information about the WMS current resource, |
105 |
|
so that additional information such as the title, the abstract, |
106 |
|
fees and access constraints can be displayed for the user if they |
107 |
|
are documented in the WMS XML. |
108 |
|
|
109 |
|
2004-04-10 Martin Schulze <[email protected]> |
110 |
|
|
111 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
112 |
|
string handling. It's "foo".lower() and not lower(foo) without |
113 |
|
lower imported from strings or something. |
114 |
|
|
115 |
|
* Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities |
116 |
|
from capabilities.py and parser.py. Implement priority list for |
117 |
|
supported graphics formats, take care of wbmp != bmp. PNG, TIFF |
118 |
|
and GIF are supported here, but not yet by main Thuban. Hence, |
119 |
|
support for them may be removed later. Special contribution to |
120 |
|
usability: get wxWidgets to change the cursor when we're waiting |
121 |
|
for data from the network so the user won't start to worry. This |
122 |
|
causes a redrawing error/warning, though. |
123 |
|
|
124 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
125 |
|
the DOM object. |
126 |
|
|
127 |
|
2004-04-01 Martin Schulze <[email protected]> |
128 |
|
|
129 |
|
* Extensions/wms/capabilities.py: Adjusted documentation |
130 |
|
(WMSCapabilities.__init__): Improved documentation, fixed syntax |
131 |
|
(WMSCapabilities.saveCapabilities): Only catch IOError when |
132 |
|
handling files |
133 |
|
(WMSCapabilities.loadCapabilities): Only catch IOError when |
134 |
|
handling files |
135 |
|
__main__: corrected variable naming |
136 |
|
(WMSCapabilities.fetchCapabilities,loadCapabilities): Make this |
137 |
|
class a specialisation of WMSCapabilitiesParser as well. Also |
138 |
|
execute grok() after loading or fetching capabilities, if that |
139 |
|
went well, so that subsequent calls can already access the data. |
140 |
|
(WMSCapabilities.getVersion): Export the used version of the |
141 |
|
GetCapabilities request, so we can use it for subsequent calls, |
142 |
|
i.e. for GetMap requests. |
143 |
|
(WMSCapabilities.fetchCapabilities): Added proper error handling |
144 |
|
when the GetCapabilities request failed, so that the surrounding |
145 |
|
program can act accordingly. |
146 |
|
|
147 |
|
2004-03-30 Martin Schulze <[email protected]> |
148 |
|
|
149 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS): |
150 |
|
Adjusted the getLayerSRS method to return the list of SRSes |
151 |
|
extracted from <SRS> elements instead of <BoundingBox> elements. |
152 |
|
Added a bit of documentation as well. |
153 |
|
(WMSCapabilitiesParser.checkLayerSRS): Removed integrity test |
154 |
|
since it was only implemented due to a misunderstanding. |
155 |
|
|
156 |
|
* Extensions/wms/test/test_parser.py |
157 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to |
158 |
|
reflect the corrected interpretation of the standard: i.e. a layer |
159 |
|
does not have to define a BoundingBox for all SRSes it supports. |
160 |
|
Hence the <SRS></SRS> specification is authoritative, not the list |
161 |
|
of BoundingBoxes. |
162 |
|
(TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test |
163 |
|
to ensure None is returned for a non-existing SRS. |
164 |
|
(TestWMSCapabilitiesParser.test_grok): Removed test_grok method |
165 |
|
since it is not applicable anymore. Listing more SRSes in <SRS> |
166 |
|
elements is valid according to the specs. |
167 |
|
|
168 |
|
2004-03-26 Bernhard Reiter <[email protected]> |
169 |
|
|
170 |
|
* README: Nicer formatting of text. Improved descriptions. |
171 |
|
Reflected wxWidgets name change. |
172 |
|
|
173 |
|
* Thuban/UI/about.py: Extended copyright to 2004 and added |
174 |
|
information about the thuban-devel mailinglist. |
175 |
|
|
176 |
|
2004-03-24 Martin Schulze <[email protected]> |
177 |
|
|
178 |
|
* Extensions/wms/capabilities.py: Renamed the class to contain |
179 |
|
'WMS', also added a linebreak where required |
180 |
|
|
181 |
|
* Extensions/wms/parser.py: Finally added the XML parser for the |
182 |
|
GetCapabilities response. |
183 |
|
|
184 |
|
* Extensions/wms/test/sample.xml: Adjusted the sample file so that |
185 |
|
<SRS> elements match the <BoundingBox> elements, except for the |
186 |
|
layer 'beschriftung'. |
187 |
|
|
188 |
|
* Extensions/wms/test/test_parser.py: Encode non-ascii strings |
189 |
|
since Python uses unicode strings internally, otherwise |
190 |
|
comparisons will fail. Removed tests for getLayerBBoxSRS() since |
191 |
|
the SRS will be calculated anyway and this method is obsoleted by |
192 |
|
getLayerSRS(). Denote SRS as strings and not as cardinal numbers. |
193 |
|
Move loading the sample file into the setUp method. Added a test |
194 |
|
for finding the integrity problem in the sample response. |
195 |
|
Improved formatting. |
196 |
|
|
197 |
|
* Extensions/wms/domutils.py: Added convenience routines for |
198 |
|
handling of Document Object Model (DOM) nodes. |
199 |
|
|
200 |
|
* Extensions/wms/test/test_domutils.py: Added a test for the |
201 |
|
domutils module |
202 |
|
|
203 |
|
2004-03-19 Martin Schulze <[email protected]> |
204 |
|
|
205 |
|
* Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser): |
206 |
|
Moved path detection and adding into a module of its own, |
207 |
|
adjustpath, which exports thubandir as main Thuban directory. |
208 |
|
|
209 |
|
* Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path |
210 |
|
detection and adding into a module of its own, adjustpath, which |
211 |
|
exports thubandir as main Thuban directory. Reorganised the |
212 |
|
module in order to support the SkipTest feature for Thuban test |
213 |
|
cases. |
214 |
|
|
215 |
|
* Extensions/wms/test/adjustpath.py: Moved path detection and |
216 |
|
adding into a module of its own. |
217 |
|
|
218 |
|
2004-03-18 Martin Schulze <[email protected]> |
219 |
|
|
220 |
|
* Extensions/wms/test/test_parser.py: Added another test for |
221 |
|
checking whether the WMS XML parser (to be implemented) returns |
222 |
|
the information we expect. This requires a sample WMS WML file |
223 |
|
(sample.xml) which has been extracted from the frida server and |
224 |
|
"improved" manually. |
225 |
|
|
226 |
|
* Extensions/wms/test/test_ogclib.py: Added legacy code to add the |
227 |
|
main Thuban directory to the path in order to be able to import |
228 |
|
random modules. Adjusted the PyOGCLib detection to reuse the |
229 |
|
information gathered. Also added a note about the PYTHONPATH |
230 |
|
environment variable. |
231 |
|
|
232 |
|
* Extensions/wms/test/test_ogclib.py: The format specification is |
233 |
|
a mime-type, not a graphic format, hence image/jpeg wou ld be the |
234 |
|
proper format and not JPEG. We'll also have to take care of the |
235 |
|
encoding of / as %2F. |
236 |
|
|
237 |
|
2004-03-16 Martin Schulze <[email protected]> |
238 |
|
|
239 |
|
* Extensions/wms/test/test_ogclib.py: Added a (hopefully) |
240 |
|
comprehensive test for the getMapURL method, built compare URLs |
241 |
|
according to the documentation in OGC 01-068r3 |
242 |
|
|
243 |
|
* Extensions/wms/capabilities.py (WMSCapabilities): Added the |
244 |
|
class WMSCapabilities to manage capabilites, will incorporate |
245 |
|
parsing the capabilities response and provide details for other |
246 |
|
classes. |
247 |
|
|
248 |
2004-03-12 Bernhard Herzog <[email protected]> |
2004-03-12 Bernhard Herzog <[email protected]> |
249 |
|
|
250 |
Support views in addition to normal tables in the postgis |
Support views in addition to normal tables in the postgis |
4656 |
Fix problem of hidden properties dialog under windows after double |
Fix problem of hidden properties dialog under windows after double |
4657 |
click on layer tree: |
click on layer tree: |
4658 |
The tree control always gets an Expanded / Collapsed event after |
The tree control always gets an Expanded / Collapsed event after |
4659 |
the ItemActivated on double click, which raises the main window again. We add a second ItemActivated event to the queue, which simply |
the ItemActivated on double click, which raises the main window again. |
4660 |
|
We add a second ItemActivated event to the queue, which simply |
4661 |
raises the already displayed window. |
raises the already displayed window. |
4662 |
|
|
4663 |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |