1 |
|
2004-04-13 Martin Schulze <[email protected]> |
2 |
|
|
3 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
4 |
|
support for oldstyle (WMS 1.0 apparently) image format |
5 |
|
specification. |
6 |
|
|
7 |
|
* Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of |
8 |
|
supported graphic formats back to JPEG and BMP, PNG and others are |
9 |
|
too *cough* experimental... Sorry, I meant to filter this out |
10 |
|
before I committed this part. This should make the WMS extension |
11 |
|
run from CVS again. |
12 |
|
(wms_dialog): Reset an empty URL to None so that the subsequent |
13 |
|
program can depend on this, since the dialog will indeed return an |
14 |
|
empty URL, causing another declaration of love by Python. |
15 |
|
|
16 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox): |
17 |
|
Whenever a native BoundingBox request cannot be fulfilled, check |
18 |
|
whether the requested SRS is EPSG:3426, in which case return the |
19 |
|
LatLonBoundingBox values. |
20 |
|
|
21 |
|
* Extensions/wms/test/test_parser.py |
22 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Added a test for |
23 |
|
ignoring AUTO:* SRS. |
24 |
|
(TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes): |
25 |
|
Added another test method to test whether the LatLonBoundingBox |
26 |
|
values will be returned if BoundingBox values are requested with |
27 |
|
SRS set to EPSG:3426. |
28 |
|
|
29 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers): |
30 |
|
Added rudimentary support for non-EPSG SRS, i.e. ignore them for |
31 |
|
the moment by placing them into a variable which is currently |
32 |
|
unused. Also test whether the EPSG SRS is numerical as it should |
33 |
|
be and add an error message if it is not. |
34 |
|
|
35 |
|
* Extensions/wms/test/sample.xml: Added AUTO:* SRS since they |
36 |
|
appear in the real world as well. Since we cannot handle them yet |
37 |
|
(OGCLib can't either), we will ignore them for the moment. |
38 |
|
|
39 |
|
* Extensions/wms/parser.py: Use a variable for denoting the sample |
40 |
|
filename |
41 |
|
(WMSCapabilitiesParser.peekLayers): Added support for error |
42 |
|
messages during grok(). They will be aggregated in an array and |
43 |
|
may be displayed later. We may have to add a classification |
44 |
|
"Warning" and "Error" to this. That requires more experience, |
45 |
|
though, since not every error may be lethal. |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the |
48 |
|
ShowTable() dialog/frame when the user attempts to display it |
49 |
|
while it has been opened before already and not closed again. |
50 |
|
|
51 |
2004-04-11 Martin Schulze <[email protected]> |
2004-04-11 Martin Schulze <[email protected]> |
52 |
|
|
53 |
* Extensions/wms/infodialog.py: Adjusted the class documentation |
* Extensions/wms/infodialog.py: Adjusted the class documentation |