/[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 2140 by bernhard, Fri Mar 26 18:15:35 2004 UTC revision 2188 by jan, Sun Apr 18 20:40:30 2004 UTC
# Line 1  Line 1 
1    2004-04-18  Jan-Oliver Wagner <[email protected]>
2    
3            Changing popup menu of legend from direct building
4            to using the Menu construction as used for the mainwindow.
5    
6            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
7            layer_to_bottom, layer_visibility
8            (MainWindow.LayerToTop): New. Put current layer to the top.
9            (MainWindow.LayerToBottom): New. Put current layer to bottom.
10            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
11            Replace 1,0 by True, False.
12            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
13            current layer.
14            (MainWindow.LayerShowTable): Removed raising of dialog.
15            (_has_selected_layer_visible): New. Support function.
16    
17            * Thuban/UI/legend.py: ID_POP_xxx: removed.
18            (LegendPanel.__init__): Removed EVT_MENU bindings.
19            (LegendTree._OnRightClick): Replace direct creation of
20            menu via wx Classes by applying the menu definition
21            as of Menu class of menu.py.
22            
23    2004-04-16  Jan-Oliver Wagner <[email protected]>
24    
25            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
26        button string to stronger clearify that Thuban will be closed when hitting
27            the button.
28    
29            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
30            Now for layers without a ShapeStore a corresponding message is given
31            to the user, that this layer has no table to show.
32    
33    2004-04-15  Martin Schulze  <[email protected]>
34    
35            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
36            recalculate the format for the internal render engine as well.
37    
38            * Extensions/wms/properties.py (wmsProperties): First start for a
39            properties dialog.  It's functional for a first selection of
40            layers, but still has some weired wxWidgets/GTK problems but
41            beautification can be done later.
42    
43            * Extensions/wms/layer.py: Added more documentation
44            (WMSLayer.getFormats): New: Return list of supported image formats
45            by the WMS server
46            (WMSLayer.getLayers): New: Return the list of layer names
47            supported by the WMS server
48            (WMSLayer.getLayerTitle): New: Return the title of the named layer
49            (WMSLayer.getWMSFormat): New: Return the image format that is used
50            for WMS GetMap requests
51            (WMSLayer.setWMSFormat): New: Set the image format that is used
52            for WMS GetMap requests
53            (WMSLayer.__init__): Move away from using only one layer to using
54            a list of layers (unsorted at the moment, though).
55            (WMSLayer.getVisibleLayers): New: Return the list of names for all
56            visible layers
57            (WMSLayer.setVisibleLayers): New: Set the list of names for all
58            visible layers
59    
60            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
61            order to establish a clean structure.
62    
63            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
64            own in order to establish a clean structure.
65    
66    2004-04-13  Martin Schulze  <[email protected]>
67    
68            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
69            support for oldstyle (WMS 1.0 apparently) image format
70            specification.
71    
72            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
73            supported graphic formats back to JPEG and BMP, PNG and others are
74            too *cough* experimental...  Sorry, I meant to filter this out
75            before I committed this part.  This should make the WMS extension
76            run from CVS again.
77            (wms_dialog): Reset an empty URL to None so that the subsequent
78            program can depend on this, since the dialog will indeed return an
79            empty URL, causing another declaration of love by Python.
80    
81            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
82            Whenever a native BoundingBox request cannot be fulfilled, check
83            whether the requested SRS is EPSG:3426, in which case return the
84            LatLonBoundingBox values.
85    
86            * Extensions/wms/test/test_parser.py
87            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
88            ignoring AUTO:* SRS.
89            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
90            Added another test method to test whether the LatLonBoundingBox
91            values will be returned if BoundingBox values are requested with
92            SRS set to EPSG:3426.
93    
94            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
95            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
96            the moment by placing them into a variable which is currently
97            unused.  Also test whether the EPSG SRS is numerical as it should
98            be and add an error message if it is not.
99    
100            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
101            appear in the real world as well.  Since we cannot handle them yet
102            (OGCLib can't either), we will ignore them for the moment.
103    
104            * Extensions/wms/parser.py: Use a variable for denoting the sample
105            filename
106            (WMSCapabilitiesParser.peekLayers): Added support for error
107            messages during grok().  They will be aggregated in an array and
108            may be displayed later.  We may have to add a classification
109            "Warning" and "Error" to this.  That requires more experience,
110            though, since not every error may be lethal.
111    
112            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
113            ShowTable() dialog/frame when the user attempts to display it
114            while it has been opened before already and not closed again.
115    
116    2004-04-11  Martin Schulze  <[email protected]>
117    
118            * Extensions/wms/infodialog.py: Adjusted the class documentation
119    
120            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
121            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
122            wxWidgets variants.
123            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
124    
125            * Extensions/wms/infodialog.py: Added an information dialog that
126            will display various information about the WMS current resource,
127            so that additional information such as the title, the abstract,
128            fees and access constraints can be displayed for the user if they
129            are documented in the WMS XML.
130    
131    2004-04-10  Martin Schulze  <[email protected]>
132    
133            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
134            string handling.  It's "foo".lower() and not lower(foo) without
135            lower imported from strings or something.
136    
137            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
138            from capabilities.py and parser.py.  Implement priority list for
139            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
140            and GIF are supported here, but not yet by main Thuban.  Hence,
141            support for them may be removed later.  Special contribution to
142            usability: get wxWidgets to change the cursor when we're waiting
143            for data from the network so the user won't start to worry.  This
144            causes a redrawing error/warning, though.
145    
146            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
147            the DOM object.
148    
149    2004-04-01  Martin Schulze  <[email protected]>
150    
151            * Extensions/wms/capabilities.py: Adjusted documentation
152            (WMSCapabilities.__init__): Improved documentation, fixed syntax
153            (WMSCapabilities.saveCapabilities): Only catch IOError when
154            handling files
155            (WMSCapabilities.loadCapabilities): Only catch IOError when
156            handling files
157            __main__: corrected variable naming
158            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
159            class a specialisation of WMSCapabilitiesParser as well.  Also
160            execute grok() after loading or fetching capabilities, if that
161            went well, so that subsequent calls can already access the data.
162            (WMSCapabilities.getVersion): Export the used version of the
163            GetCapabilities request, so we can use it for subsequent calls,
164            i.e. for GetMap requests.
165            (WMSCapabilities.fetchCapabilities): Added proper error handling
166            when the GetCapabilities request failed, so that the surrounding
167            program can act accordingly.
168    
169    2004-03-30  Martin Schulze  <[email protected]>
170    
171            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
172            Adjusted the getLayerSRS method to return the list of SRSes
173            extracted from <SRS> elements instead of <BoundingBox> elements.
174            Added a bit of documentation as well.
175            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
176            since it was only implemented due to a misunderstanding.
177    
178            * Extensions/wms/test/test_parser.py
179            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
180            reflect the corrected interpretation of the standard: i.e. a layer
181            does not have to define a BoundingBox for all SRSes it supports.
182            Hence the <SRS></SRS> specification is authoritative, not the list
183            of BoundingBoxes.
184            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
185            to ensure None is returned for a non-existing SRS.
186            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
187            since it is not applicable anymore.  Listing more SRSes in <SRS>
188            elements is valid according to the specs.
189    
190  2004-03-26  Bernhard Reiter <[email protected]>  2004-03-26  Bernhard Reiter <[email protected]>
191    
192          * README: Nicer formatting of text. Improved descriptions.          * README: Nicer formatting of text. Improved descriptions.
193          Reflected wxWidgets name change.          Reflected wxWidgets name change.
194                    
# Line 4488  Line 4678 
4678          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
4679          click on layer tree:          click on layer tree:
4680          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
4681          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.
4682            We add a second ItemActivated event to the queue, which simply
4683          raises the already displayed window.          raises the already displayed window.
4684    
4685          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.2140  
changed lines
  Added in v.2188

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26