/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2115 by joey, Thu Mar 18 17:58:25 2004 UTC revision 2174 by joey, Tue Apr 13 19:28:47 2004 UTC
# Line 1  Line 1 
1    2004-04-13  Martin Schulze  <[email protected]>
2    
3            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
4            support for oldstyle (WMS 1.0 apparently) image format
5            specification.
6    
7            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
8            supported graphic formats back to JPEG and BMP, PNG and others are
9            too *cough* experimental...  Sorry, I meant to filter this out
10            before I committed this part.  This should make the WMS extension
11            run from CVS again.
12            (wms_dialog): Reset an empty URL to None so that the subsequent
13            program can depend on this, since the dialog will indeed return an
14            empty URL, causing another declaration of love by Python.
15    
16            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
17            Whenever a native BoundingBox request cannot be fulfilled, check
18            whether the requested SRS is EPSG:3426, in which case return the
19            LatLonBoundingBox values.
20    
21            * Extensions/wms/test/test_parser.py
22            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
23            ignoring AUTO:* SRS.
24            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
25            Added another test method to test whether the LatLonBoundingBox
26            values will be returned if BoundingBox values are requested with
27            SRS set to EPSG:3426.
28    
29            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
30            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
31            the moment by placing them into a variable which is currently
32            unused.  Also test whether the EPSG SRS is numerical as it should
33            be and add an error message if it is not.
34    
35            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
36            appear in the real world as well.  Since we cannot handle them yet
37            (OGCLib can't either), we will ignore them for the moment.
38    
39            * Extensions/wms/parser.py: Use a variable for denoting the sample
40            filename
41            (WMSCapabilitiesParser.peekLayers): Added support for error
42            messages during grok().  They will be aggregated in an array and
43            may be displayed later.  We may have to add a classification
44            "Warning" and "Error" to this.  That requires more experience,
45            though, since not every error may be lethal.
46    
47            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
48            ShowTable() dialog/frame when the user attempts to display it
49            while it has been opened before already and not closed again.
50    
51    2004-04-11  Martin Schulze  <[email protected]>
52    
53            * Extensions/wms/infodialog.py: Adjusted the class documentation
54    
55            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
56            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
57            wxWidgets variants.
58            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
59    
60            * Extensions/wms/infodialog.py: Added an information dialog that
61            will display various information about the WMS current resource,
62            so that additional information such as the title, the abstract,
63            fees and access constraints can be displayed for the user if they
64            are documented in the WMS XML.
65    
66    2004-04-10  Martin Schulze  <[email protected]>
67    
68            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
69            string handling.  It's "foo".lower() and not lower(foo) without
70            lower imported from strings or something.
71    
72            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
73            from capabilities.py and parser.py.  Implement priority list for
74            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
75            and GIF are supported here, but not yet by main Thuban.  Hence,
76            support for them may be removed later.  Special contribution to
77            usability: get wxWidgets to change the cursor when we're waiting
78            for data from the network so the user won't start to worry.  This
79            causes a redrawing error/warning, though.
80    
81            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
82            the DOM object.
83    
84    2004-04-01  Martin Schulze  <[email protected]>
85    
86            * Extensions/wms/capabilities.py: Adjusted documentation
87            (WMSCapabilities.__init__): Improved documentation, fixed syntax
88            (WMSCapabilities.saveCapabilities): Only catch IOError when
89            handling files
90            (WMSCapabilities.loadCapabilities): Only catch IOError when
91            handling files
92            __main__: corrected variable naming
93            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
94            class a specialisation of WMSCapabilitiesParser as well.  Also
95            execute grok() after loading or fetching capabilities, if that
96            went well, so that subsequent calls can already access the data.
97            (WMSCapabilities.getVersion): Export the used version of the
98            GetCapabilities request, so we can use it for subsequent calls,
99            i.e. for GetMap requests.
100            (WMSCapabilities.fetchCapabilities): Added proper error handling
101            when the GetCapabilities request failed, so that the surrounding
102            program can act accordingly.
103    
104    2004-03-30  Martin Schulze  <[email protected]>
105    
106            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
107            Adjusted the getLayerSRS method to return the list of SRSes
108            extracted from <SRS> elements instead of <BoundingBox> elements.
109            Added a bit of documentation as well.
110            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
111            since it was only implemented due to a misunderstanding.
112    
113            * Extensions/wms/test/test_parser.py
114            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
115            reflect the corrected interpretation of the standard: i.e. a layer
116            does not have to define a BoundingBox for all SRSes it supports.
117            Hence the <SRS></SRS> specification is authoritative, not the list
118            of BoundingBoxes.
119            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
120            to ensure None is returned for a non-existing SRS.
121            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
122            since it is not applicable anymore.  Listing more SRSes in <SRS>
123            elements is valid according to the specs.
124    
125    2004-03-26  Bernhard Reiter <[email protected]>
126    
127            * README: Nicer formatting of text. Improved descriptions.
128            Reflected wxWidgets name change.
129            
130            * Thuban/UI/about.py: Extended copyright to 2004 and added
131            information about the thuban-devel mailinglist.
132    
133    2004-03-24  Martin Schulze  <[email protected]>
134    
135            * Extensions/wms/capabilities.py: Renamed the class to contain
136            'WMS', also added a linebreak where required
137    
138            * Extensions/wms/parser.py: Finally added the XML parser for the
139            GetCapabilities response.
140    
141            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
142            <SRS> elements match the <BoundingBox> elements, except for the
143            layer 'beschriftung'.
144    
145            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
146            since Python uses unicode strings internally, otherwise
147            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
148            the SRS will be calculated anyway and this method is obsoleted by
149            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
150            Move loading the sample file into the setUp method.  Added a test
151            for finding the integrity problem in the sample response.
152            Improved formatting.
153    
154            * Extensions/wms/domutils.py: Added convenience routines for
155            handling of Document Object Model (DOM) nodes.
156    
157            * Extensions/wms/test/test_domutils.py: Added a test for the
158            domutils module
159    
160    2004-03-19  Martin Schulze  <[email protected]>
161    
162            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
163            Moved path detection and adding into a module of its own,
164            adjustpath, which exports thubandir as main Thuban directory.
165    
166            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
167            detection and adding into a module of its own, adjustpath, which
168            exports thubandir as main Thuban directory.  Reorganised the
169            module in order to support the SkipTest feature for Thuban test
170            cases.
171    
172            * Extensions/wms/test/adjustpath.py: Moved path detection and
173            adding into a module of its own.
174    
175  2004-03-18  Martin Schulze  <[email protected]>  2004-03-18  Martin Schulze  <[email protected]>
176    
177          * Extensions/wms/test/test_parser.py: Added another test for          * Extensions/wms/test/test_parser.py: Added another test for
# Line 4439  Line 4613 
4613          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
4614          click on layer tree:          click on layer tree:
4615          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
4616          the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply          the ItemActivated  on double click, which raises the main window again.
4617            We add a second ItemActivated event to the queue, which simply
4618          raises the already displayed window.          raises the already displayed window.
4619    
4620          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.2115  
changed lines
  Added in v.2174

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26