Log of /trunk/thuban/Extensions
Directory Listing
Revision
2164 -
Directory Listing
Modified
Tue Apr 13 13:15:22 2004 UTC
(20 years, 10 months ago)
by
joey
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
Adjusted the class documentation
Revision
2159 -
Directory Listing
Modified
Sun Apr 11 17:39:30 2004 UTC
(20 years, 10 months ago)
by
joey
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
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
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
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
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
unlink the DOM object
Revision
2152 -
Directory Listing
Modified
Thu Apr 1 15:34:25 2004 UTC
(20 years, 11 months ago)
by
joey
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
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
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
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
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
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
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
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
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
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
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
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
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
Break lines in time
Revision
2134 -
Directory Listing
Modified
Wed Mar 24 19:35:21 2004 UTC
(20 years, 11 months ago)
by
joey
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
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
Untypo
Revision
2131 -
Directory Listing
Modified
Wed Mar 24 17:56:37 2004 UTC
(20 years, 11 months ago)
by
joey
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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
2084 -
Directory Listing
Modified
Fri Feb 20 15:49:36 2004 UTC
(21 years ago)
by
bh
(TestVirtualDC.test_clippath): Remove a debug print
Revision
2082 -
Directory Listing
Modified
Fri Feb 20 14:33:22 2004 UTC
(21 years ago)
by
bh
Reorder the imports and
doc-string a bit. The doc-string must come first, otherwise it's
not a doc-string. The __future__ import must be the first thing
after the doc-string. Use only double quotes in doc-strings.
Single quotes trip up emacs syntax highlighting if the text
contains apostrophes.
Revision
2081 -
Directory Listing
Modified
Fri Feb 20 14:33:11 2004 UTC
(21 years ago)
by
bh
New. Turn
Extensions/svgexport into a package.
Revision
2078 -
Directory Listing
Modified
Fri Feb 20 14:29:02 2004 UTC
(21 years ago)
by
bh
New. Initial test
suite for svgexport
Revision
2074 -
Directory Listing
Modified
Thu Feb 19 13:38:27 2004 UTC
(21 years ago)
by
bh
Added again. This time in the
correct place.
Revision
2071 -
Directory Listing
Modified
Tue Feb 17 12:54:00 2004 UTC
(21 years ago)
by
bh
* test/test_svgmapwriter.py, Extensions/svgsaver.py,
Extensions/svgmapwriter.py, Extensions/maplegend.py,
extensions/svgexport/svgsaver.py,
extensions/svgexport/svgmapwriter.py,
extensions/svgexport/maplegend.py: Removed. These files were in
the wrong places or didn't work at all.
Revision
2056 -
Directory Listing
Modified
Sun Feb 8 00:23:21 2004 UTC
(21 years ago)
by
mrechtie
Initial revision.
Revision
1974 -
Directory Listing
Modified
Tue Nov 25 14:05:35 2003 UTC
(21 years, 3 months ago)
by
bh
Add very experimental (and possibly dangerous) extension to draw
polygons:
* Extensions/drawshape/README: New. Brief installation
instructions
* Extensions/drawshape/drawshape.py: New. Implementation of the
drawshape extensions
* Extensions/drawshape/patch.diff: Patch to apply before the
extension can be used.
Revision
1944 -
Directory Listing
Modified
Wed Nov 12 08:26:56 2003 UTC
(21 years, 3 months ago)
by
jan
Provide layers via OGC WMS.
Revision
1943 -
Directory Listing
Modified
Wed Nov 12 08:14:23 2003 UTC
(21 years, 3 months ago)
by
jan
New: Init to make this directory a package.
Revision
1915 -
Directory Listing
Modified
Mon Nov 3 14:19:40 2003 UTC
(21 years, 4 months ago)
by
bh
(popup_dialog_box): New config
variable to indicate whether the result should be shown in a
dialog box
(profile_screen_renderer, time_screen_renderer): Only show a
dialog box if popup_dialog_box is true.
(profile_screen_renderer): Flush stdout after the printing the
first part of the "profiling..." message
Revision
1901 -
Directory Listing
Modified
Fri Oct 31 16:05:29 2003 UTC
(21 years, 4 months ago)
by
jan
Moved menu entries to the Extensions menu. Applied _() for strings.
(profile_screen_renderer): Catch the detailed printout and present
it in a dialog.
(ime_screen_renderer): Raise a dialog to present the result instead
of printing it to stdout.
Revision
1900 -
Directory Listing
Modified
Fri Oct 31 16:02:52 2003 UTC
(21 years, 4 months ago)
by
jan
Init to make this directory a package.
Revision
1896 -
Directory Listing
Modified
Fri Oct 31 11:55:33 2003 UTC
(21 years, 4 months ago)
by
bh
New. Extension to measure Thuban performance
Revision
1884 -
Directory Listing
Modified
Thu Oct 30 09:16:46 2003 UTC
(21 years, 4 months ago)
by
jan
(APR_BLnSym, APR_BMkSym, APR_BShSym): Moved to apr.py.
(APR_View): Added object ref 'ITheme'.
Revision
1883 -
Directory Listing
Modified
Thu Oct 30 09:14:52 2003 UTC
(21 years, 4 months ago)
by
jan
(APR_BLnSym, APR_BMkSym, APR_BShSym): New.
Copied from importAPR and provided with documentation.
Revision
1882 -
Directory Listing
Modified
Thu Oct 30 09:12:47 2003 UTC
(21 years, 4 months ago)
by
jan
(ODBBaseObject.TreeInfo): Added the variable names for objects.
Revision
1734 -
Directory Listing
Modified
Mon Sep 22 12:25:35 2003 UTC
(21 years, 5 months ago)
by
jan
(import_apr_dialog): Unified range retrieval.
Revision
1733 -
Directory Listing
Modified
Mon Sep 22 12:23:43 2003 UTC
(21 years, 5 months ago)
by
jan
(APR_LClass.GetThubanRange): Now returns a string object if the range
is based on text.
Revision
1732 -
Directory Listing
Modified
Mon Sep 22 12:22:16 2003 UTC
(21 years, 5 months ago)
by
jan
Added tests for text-ranges.
Revision
1731 -
Directory Listing
Modified
Mon Sep 22 11:52:12 2003 UTC
(21 years, 5 months ago)
by
jan
renamed README to README
Revision
1729 -
Directory Listing
Modified
Mon Sep 22 10:55:01 2003 UTC
(21 years, 5 months ago)
by
jan
Howto load the samples.
Revision
1728 -
Directory Listing
Modified
Mon Sep 22 10:52:08 2003 UTC
(21 years, 5 months ago)
by
jan
Import a ArcView project file (.apr) and convert it to Thuban.
Revision
1727 -
Directory Listing
Modified
Mon Sep 22 10:45:57 2003 UTC
(21 years, 5 months ago)
by
jan
Init to make this directory a package.
Revision
1726 -
Directory Listing
Modified
Mon Sep 22 10:44:35 2003 UTC
(21 years, 5 months ago)
by
jan
Classes for generic ArcView ODB Objects as in '.apr', '.avl'
and other files.
Revision
1725 -
Directory Listing
Modified
Mon Sep 22 10:42:24 2003 UTC
(21 years, 5 months ago)
by
jan
Classes for ArcView Objects as in '.apr'-files.
Revision
1724 -
Directory Listing
Modified
Mon Sep 22 10:39:47 2003 UTC
(21 years, 5 months ago)
by
jan
Tests for APR classes.
Revision
1723 -
Directory Listing
Modified
Mon Sep 22 10:37:07 2003 UTC
(21 years, 5 months ago)
by
jan
Howto execute the tests.
Revision
1722 -
Directory Listing
Modified
Mon Sep 22 10:35:24 2003 UTC
(21 years, 5 months ago)
by
jan
A sample APR file which refers to the Thuban Iceland demo data.
Revision
1721 -
Directory Listing
Modified
Mon Sep 22 10:32:04 2003 UTC
(21 years, 5 months ago)
by
jan
The main module of gns2shp.
Revision
1713 -
Directory Listing
Modified
Thu Sep 4 15:35:51 2003 UTC
(21 years, 6 months ago)
by
jan
Test for correct creation of Shapefile from GNS text file format
Revision
1712 -
Directory Listing
Modified
Thu Sep 4 15:31:44 2003 UTC
(21 years, 6 months ago)
by
jan
test data set (Liechtenstein)
Revision
1711 -
Directory Listing
Modified
Thu Sep 4 15:28:38 2003 UTC
(21 years, 6 months ago)
by
jan
some info on this test directory
Revision
1710 -
Directory Listing
Added
Thu Sep 4 15:16:44 2003 UTC
(21 years, 6 months ago)
by
jan
init to make this dir a package