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]> |
2004-04-10 Martin Schulze <[email protected]> |
132 |
|
|
133 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
146 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
147 |
the DOM object. |
the DOM object. |
148 |
|
|
|
|
|
149 |
2004-04-01 Martin Schulze <[email protected]> |
2004-04-01 Martin Schulze <[email protected]> |
150 |
|
|
151 |
* Extensions/wms/capabilities.py: Adjusted documentation |
* Extensions/wms/capabilities.py: Adjusted documentation |
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 |