Log of /branches/WIP-pyshapelib-bramz/Extensions/wms/test
Directory Listing
Revision
2734 -
Directory Listing
Modified
Thu Mar 1 12:42:59 2007 UTC
(18 years ago)
by
bramz
made a copy
Revision
2169 -
Directory Listing
Modified
Tue Apr 13 17:17:40 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Looks like I misinterpreted the specs.
First of all, a <BoundingBox> element does not have to be specified.
This could cause the program to fail if later a bbox will be requested
which wasn't defined in the Capabilities XML.
Secondly, since EPSG:3426 is the implicit spatial reference system for
<LatLonBoundingBox> its values should be returned if the client
requests a bounding box for SRS EPSG:3426, even if no <BoundingBox>
was defined for EPSG:3426.
Therefore added another test method to ensure the LatLonBoundingBox
values will be returned if the request SRS is EPSG:3426.
Revision
2166 -
Directory Listing
Modified
Tue Apr 13 16:50:14 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Added AUTO:* SRS since they appear in the real world as well. Since
we cannot handle them yet (OGCLib can't either), we will ignore them
for the moment.
Revision
2143 -
Directory Listing
Modified
Tue Mar 30 16:30:12 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Removed test_grok method since it is not applicable anymore. Listing
more SRSes in <SRS> elements is valid according to the specs.
Revision
2141 -
Directory Listing
Modified
Tue Mar 30 16:25:02 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Adjust the tests to reflect the corrected interpretation of the
standard: i.e. a layer does not have to define a BoundingBox for all
SRSes it supports. Hence the <SRS></SRS> specification is
authoritative, not the list of BoundingBoxes.
Revision
2129 -
Directory Listing
Modified
Wed Mar 24 17:07:08 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Adjusted the sample file so that <SRS> elements match the
<BoundingBox> elements, except for the layer 'beschriftung'
Revision
2126 -
Directory Listing
Modified
Wed Mar 24 16:42:45 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
SRS are stored in strings and Python has strong typechecking, so a
number is either a cardinal number or a string, but the string has to
be enclosed in quotes, different to how Perl works, my fault.
Revision
2125 -
Directory Listing
Modified
Wed Mar 24 16:38:21 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
We don't need getLayerBBoxSRS() anymore since the SRS is calculated
from the BoundingBoxes anyway in order to provide correct information,
hence this routine is obsoleted by getLayerSRS().
Revision
2124 -
Directory Listing
Modified
Wed Mar 24 16:34:13 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Need to encode non-ascii strings since Python works with unicode
strings internally, otherwise comparisons will fail.
Revision
2119 -
Directory Listing
Modified
Fri Mar 19 19:43:40 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Moved path detection and adding into a module of its own, adjustpath,
which exports thubandir as main Thuban directory.
Revision
2116 -
Directory Listing
Modified
Fri Mar 19 16:57:31 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Several improvements:
. Moved path detection and adding into a module of its own,
adjustpath, which exports thubandir as main Thuban directory.
. Reorganised the module in order to support the SkipTest feature for
Thuban test cases.
- Adjusted the error handling for importing the ogclib from the
PyOGCLib package.
- The test class is no longer a specialisation of WMSClient, but
contains an instance of this particular class and uses its
methods instead.
- The special setUp() method will check whether importing PyOGCLib
worked by calling the external function skip_if_no_ogclib() and
also create the WMSClient instance.
- Call support.run_tests() instead of unittest.main().
Revision
2114 -
Directory Listing
Modified
Thu Mar 18 17:18:53 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Added another test for checking whether the WMS XML parser (to be
implemented) returns the information we expect. This requires a
sample WMS WML file (sample.xml) which has been extracted from the
frida <http://frida.intevation.org/> server and "improved" manually.
Revision
2113 -
Directory Listing
Modified
Thu Mar 18 17:13:28 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Added legacy code to add the main Thuban directory to the path in
order to be able to import random modules. Adjusted the PyOGCLib
detection to reuse the information gathered. Also added a note about
the PYTHONPATH environment variable. This should ensure that the test
program can now be run from outside the test directory as well.
Revision
2112 -
Directory Listing
Modified
Thu Mar 18 08:15:54 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
The format specification is a mime-type, not a graphic format, hence
image/jpeg wou ld be the proper format and not JPEG. We'll also have
to take care of the encoding of / as %2F.
Revision
2109 -
Directory Listing
Modified
Tue Mar 16 17:28:26 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms/test
Added a (hopefully) comprehensive test for the getMapURL method, built
compare URLs according to the documentation in OGC 01-068r3