/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms
ViewVC logotype

Log of /branches/WIP-pyshapelib-bramz/Extensions/wms

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 2835)

Revision 2734 - Directory Listing
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
made a copy

Revision 2603 - Directory Listing
Modified Tue Apr 26 15:04:22 2005 UTC (19 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Adjusted the render function to the modified render engine


Revision 2555 - Directory Listing
Modified Sun Feb 6 16:47:34 2005 UTC (20 years, 1 month ago) by joey
Original Path: trunk/thuban/Extensions/wms
Adjusted the arguments of the contstructor to fit the global scheme


Revision 2440 - Directory Listing
Modified Thu Dec 9 10:39:43 2004 UTC (20 years, 2 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Removed unused OpenWMSProperties() defun


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 2430 - Directory Listing
Modified Tue Nov 30 16:59:01 2004 UTC (20 years, 3 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Improved the test for the internal compare method


Revision 2405 - Directory Listing
Modified Sat Nov 20 21:26:35 2004 UTC (20 years, 3 months ago) by jan
Original Path: trunk/thuban/Extensions/wms
Removed registry entry (moved to __init__.py).


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 2382 - Directory Listing
Modified Mon Oct 4 17:03:29 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Adding more tests to verify the test routine fails with non-equal arguments


Revision 2381 - Directory Listing
Modified Mon Oct 4 16:44:05 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added missing self-test


Revision 2367 - Directory Listing
Modified Fri Oct 1 18:28:04 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Extended argument for general use through properties-dialog selector


Revision 2361 - Directory Listing
Modified Fri Oct 1 17:54:13 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Register the properties dialog class for the provided WMS layer


Revision 2357 - Directory Listing
Modified Tue Sep 28 19:54:50 2004 UTC (20 years, 5 months ago) by jan
Original Path: trunk/thuban/Extensions/wms
Added registration of the extension.


Revision 2336 - Directory Listing
Modified Fri Aug 13 16:18:46 2004 UTC (20 years, 6 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Adjusted a comment


Revision 2203 - Directory Listing
Modified Tue May 11 22:34:49 2004 UTC (20 years, 9 months ago) by jan
Original Path: trunk/thuban/Extensions/wms
Use FindOrInsertMenu() instead of finding menu on its own.


Revision 2181 - Directory Listing
Modified Thu Apr 15 17:28:04 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Need to recalculate the format for the internal render engine as well.


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 2178 - Directory Listing
Modified Thu Apr 15 08:52:47 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added more convenience methods for a clear data exchange


Revision 2177 - Directory Listing
Modified Thu Apr 15 07:40:32 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added more documentation


Revision 2176 - Directory Listing
Modified Thu Apr 15 07:14:25 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Moved the WMS layer into layer.py in order to establish a clean
structure.


Revision 2175 - Directory Listing
Modified Thu Apr 15 07:13:31 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Moved the WMS layer into a file on its own in order to establish a
clean structure.


Revision 2173 - Directory Listing
Modified Tue Apr 13 19:28:05 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added support for oldstyle (WMS 1.0 apparently) image format specification.


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 2168 - Directory Listing
Modified Tue Apr 13 17:16:20 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added a test for ignoring AUTO:* SRS


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 2164 - Directory Listing
Modified Tue Apr 13 13:15:22 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Use a variable for denoting the sample filename


Revision 2160 - Directory Listing
Modified Sun Apr 11 18:15:33 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Adjusted the class documentation


Revision 2159 - Directory Listing
Modified Sun Apr 11 17:39:30 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
The epsg_id variable is named top_srs now.


Revision 2158 - Directory Listing
Modified Sun Apr 11 17:38:10 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Switch to using Thuban{Begin,End}BusyCursor instead of the pure
wxWidgets variants.


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 2153 - Directory Listing
Modified Sat Apr 10 13:20:53 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
unlink the DOM object


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 2148 - Directory Listing
Modified Thu Apr 1 10:06:13 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Revert part of former changes, since the capabilities XML is used by
more methods.


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 2145 - Directory Listing
Modified Tue Mar 30 18:05:53 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Removed integrity test since it was only implemented due to a
misunderstanding.


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 2142 - Directory Listing
Modified Tue Mar 30 16:28:56 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added a new test to ensure None is returned for a non-existing SRS.


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 2136 - Directory Listing
Modified Wed Mar 24 20:05:33 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Renamed the class to contain 'WMS', also added a linebreak where required


Revision 2135 - Directory Listing
Modified Wed Mar 24 19:39:06 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Break lines in time


Revision 2134 - Directory Listing
Modified Wed Mar 24 19:35:21 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added a space after a comma in arguments


Revision 2133 - Directory Listing
Modified Wed Mar 24 19:31:54 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Finally added the XML parser for the GetCapabilities response.


Revision 2132 - Directory Listing
Modified Wed Mar 24 19:13:54 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Untypo


Revision 2131 - Directory Listing
Modified Wed Mar 24 17:56:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Too fast, use a method instead of directly accessing internal data


Revision 2130 - Directory Listing
Modified Wed Mar 24 17:10:41 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Remove spaces before opening parathesis


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 2128 - Directory Listing
Modified Wed Mar 24 17:00:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Added a test for finding the integrity problem in the sample response.


Revision 2127 - Directory Listing
Modified Wed Mar 24 16:59:02 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Move loading the sample file into the setUp method.


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 2123 - Directory Listing
Modified Wed Mar 24 11:48:50 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Convenience routines for handling of Document Object Model (DOM) nodes.


Revision 2122 - Directory Listing
Modified Wed Mar 24 11:47:31 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Test for the domutils module


Revision 2121 - Directory Listing
Modified Fri Mar 19 19:53:07 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Nah, don't need the thubandir here, stupid me


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 2118 - Directory Listing
Modified Fri Mar 19 17:02:11 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
Removed a space before an opening parenthesis


Revision 2117 - Directory Listing
Modified Fri Mar 19 17:00:17 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.


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 2108 - Directory Listing
Modified Tue Mar 16 14:25:34 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms
First set of tests for the WMS implementation


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.


Revision 1944 - Directory Listing
Modified Wed Nov 12 08:26:56 2003 UTC (21 years, 3 months ago) by jan
Original Path: trunk/thuban/Extensions/wms
Provide layers via OGC WMS.


Revision 1943 - Directory Listing
Added Wed Nov 12 08:14:23 2003 UTC (21 years, 3 months ago) by jan
Original Path: trunk/thuban/Extensions/wms
New: Init to make this directory a package.


[email protected]
ViewVC Help
Powered by ViewVC 1.1.26