/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms/capabilities.py |
Parent Directory
|
Revision Log
Sticky Revision: |
made a copy
No need to use the concatenation operator here, and this version will also be understood by gettext which is important for translations later.
Added proper error handling when the GetCapabilities request failed, so that the surrounding program can act accordingly.
Export the used version of the GetCapabilities request, so we can use it for subsequent calls, i.e. for GetMap requests.
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.
Revert part of former changes, since the capabilities XML is used by more methods.
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
Removed a space before an opening parenthesis, added a few spaces after a comma in argument lists
Renamed the class to contain 'WMS', also added a linebreak where required
class WMSCapabilities to manage capabilites, will incorporate parsing the capabilities response and provide details for other classes
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |