Log of /branches/WIP-pyshapelib-bramz/Extensions/wms
Directory Listing
Revision
2734 -
Directory Listing
Modified
Thu Mar 1 12:42:59 2007 UTC
(18 years ago)
by
bramz
made a copy
Revision
2439 -
Directory Listing
Modified
Thu Dec 9 10:37:44 2004 UTC
(20 years, 2 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Dropped support for get_srs_discrepancies() since there are no
discrepancies anymore (was a thinko)
Revision
2438 -
Directory Listing
Modified
Thu Dec 9 10:34:03 2004 UTC
(20 years, 2 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Improved graphic format priority now that more formats are supported
globally by the render engine.
Revision
2404 -
Directory Listing
Modified
Sat Nov 20 21:26:06 2004 UTC
(20 years, 3 months ago)
by
jan
Original Path:
trunk/thuban/Extensions/wms
Added registry entry and the importing
of the actual wms module. Included a test for the required PyOGCLib.
Revision
2180 -
Directory Listing
Modified
Thu Apr 15 16:14:51 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
First start for a properties dialog. I'm not too happy with it at the
moment but it's functional for a first selection of layers. It also
has some wxWidgets/GTK problems but beautification can be done later
as well.
Revision
2179 -
Directory Listing
Modified
Thu Apr 15 16:06:24 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Move away from using only one layer to using a list of layers
(unsorted at the moment, though). Added two convenience methods for
retrieving and setting the list of visible layers (get/setVisibleLayers)
Revision
2172 -
Directory Listing
Modified
Tue Apr 13 17:38:26 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Reset an empty URL to None so that the subsequent program can depend
on this, since the dialog will indeed return an empty URL, causing
another declaration of love by Python.
Revision
2171 -
Directory Listing
Modified
Tue Apr 13 17:31:01 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Reduce the list of supported graphic formats back to JPEG and BMP, PNG
and others are too *cough* experimental... Sorry, Imeant to filter
this out before I committed this part.
Revision
2170 -
Directory Listing
Modified
Tue Apr 13 17:21:19 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
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 whenever a native BoundingBox request cannot be fulfilled,
check whether the requested SRS is EPSG:3426, in which case return the
LatLonBoundingBox values.
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
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
2167 -
Directory Listing
Modified
Tue Apr 13 17:05:56 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Added rudimentary support for non-EPSG SRS, i.e. ignore them for the
moment by placing them into a variable which is currently unused.
Also test whether the EPSG SRS is numerical as it should be and add an
error message if it is not.
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
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
2165 -
Directory Listing
Modified
Tue Apr 13 16:42:48 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Added support for error messages during grok(). They will be
aggregated in an array and may be displayed later. We may have to add
a classification "Warning" and "Error" to this. That requires more
experience, though, since not every error may be lethal.
Revision
2157 -
Directory Listing
Modified
Sun Apr 11 16:19:34 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Added an information dialog that will display various information
about the WMS current resource, so that additional information such as
the title, the abstract, fees and access constraints can be displayed
for the user if they are documented in the WMS XML.
Revision
2155 -
Directory Listing
Modified
Sat Apr 10 19:12:41 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Whoops, it's "foo".lower() and not lower(foo) without lower imported
from strings or something.
Revision
2154 -
Directory Listing
Modified
Sat Apr 10 19:07:59 2004 UTC
(20 years, 10 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Incorporate WMSCapabilities from capabilities.py and parser.py.
Implement priority list for supported graphics formats, take care of
wbmp != bmp. PNG, TIFF and GIF are supported here, but not yet by
main Thuban. Hence, support for them may be removed later.
Special contribution to usability: get wxWidgets to change the cursor
when we're waiting for data from the network so the user won't
start to worry. This causes a redrawing error/warning, though.
Revision
2152 -
Directory Listing
Modified
Thu Apr 1 15:34:25 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
No need to use the concatenation operator here, and this version will
also be understood by gettext which is important for translations
later.
Revision
2151 -
Directory Listing
Modified
Thu Apr 1 14:41:35 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Added proper error handling when the GetCapabilities request failed,
so that the surrounding program can act accordingly.
Revision
2150 -
Directory Listing
Modified
Thu Apr 1 14:39:39 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Export the used version of the GetCapabilities request, so we can use
it for subsequent calls, i.e. for GetMap requests.
Revision
2149 -
Directory Listing
Modified
Thu Apr 1 10:17:00 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Make this class a specialisation of WMSCapabilitiesParser as well.
Also execute grok() after loading or fetching capabilities, if that
went well, so that subsequent calls can already access the data.
Revision
2147 -
Directory Listing
Modified
Thu Apr 1 09:58:30 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Misc corrections:
. superflous asterisk
. Documentation for __init__
. Syntax correction
. fetchCapabilities: Initialise variable, use local one
. loadCapabilities: Use local variable
. Fix try...except to only cat IOError when handling files
. Corrected __main__ code
Revision
2144 -
Directory Listing
Modified
Tue Mar 30 17:25:20 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Adjusted the getLayerSRS method to return the list of SRSes extracted
from <SRS> elements instead of <BoundingBox> elements. Added a bit of
documentation as well.
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
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
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
2137 -
Directory Listing
Modified
Wed Mar 24 20:07:34 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
Removed a space before an opening parenthesis, added a few spaces
after a comma in argument lists
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
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
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
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
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
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
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
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
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
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
2110 -
Directory Listing
Modified
Tue Mar 16 19:14:56 2004 UTC
(20 years, 11 months ago)
by
joey
Original Path:
trunk/thuban/Extensions/wms
class WMSCapabilities to manage capabilites, will incorporate parsing
the capabilities response and provide details for other classes
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
Added a (hopefully) comprehensive test for the getMapURL method, built
compare URLs according to the documentation in OGC 01-068r3
Revision
2086 -
Directory Listing
Modified
Fri Feb 20 20:09:25 2004 UTC
(21 years ago)
by
bh
Original Path:
trunk/thuban/Extensions/wms
(epsg_code_to_projection): Use
get_system_proj_file to read the epsg projections. The old way
depended on the current directory being the top Thuban directory.