1 |
|
2004-05-06 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Introduce a abstract ColorDialog class and remove |
4 |
|
and outdated file. |
5 |
|
|
6 |
|
* Thuban/UI/proj4dialog.py: Removed. It is has been |
7 |
|
replaced by projdialog for quite a while and is not used |
8 |
|
anymore. |
9 |
|
|
10 |
|
* Thuban/UI/colordialog.py: New. Abstraction for color selection |
11 |
|
dialog(s). |
12 |
|
|
13 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor): |
14 |
|
Now calls the abstract ColorDialog instead of wxColourDialog. |
15 |
|
This also removed the dependency to Color class conversion |
16 |
|
from this function. |
17 |
|
|
18 |
|
2004-05-04 Frank Koormann <[email protected]> |
19 |
|
|
20 |
|
* Extensions/bboxdump/__init__.py: Fixed string left over from |
21 |
|
copying. |
22 |
|
|
23 |
|
* Extensions/bboxdump/bboxdump.py (bboxdump): |
24 |
|
Use layer.ShapeStore().AllShapes() to loop over shapes instead of |
25 |
|
xrange(layer.NumShapes()). Compile the bboxmessage from a list |
26 |
|
of formatted outputs (string.join) instead of appending to the |
27 |
|
message. Two progress bar dialogs to report progress on the sometimes |
28 |
|
lenghty processing. |
29 |
|
|
30 |
|
2004-04-22 Frank Koormann <[email protected]> |
31 |
|
|
32 |
|
New Extension to dump bounding boxes of all shapes of the selected |
33 |
|
layer. An optional column can be specified to group the objects, |
34 |
|
in this case the bounding box is a union of the separate boxes. |
35 |
|
Dump can be displayed in a ScrolledMessageDialog or written to file. |
36 |
|
The Extension is simply a combination of available and well tested |
37 |
|
Thuban functionality. |
38 |
|
|
39 |
|
* Extensions/bboxdump/__init__.py: New: Init to make this |
40 |
|
directory a package. |
41 |
|
|
42 |
|
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of |
43 |
|
all shapes of the selected layer. |
44 |
|
|
45 |
|
2004-04-22 Jan-Oliver Wagner <[email protected]> |
46 |
|
|
47 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two |
48 |
|
strings to be i18n now. |
49 |
|
|
50 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
51 |
|
|
52 |
|
Changing popup menu of legend from direct building |
53 |
|
to using the Menu construction as used for the mainwindow. |
54 |
|
|
55 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
56 |
|
layer_to_bottom, layer_visibility |
57 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
58 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
59 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
60 |
|
Replace 1,0 by True, False. |
61 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
62 |
|
current layer. |
63 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
64 |
|
(_has_selected_layer_visible): New. Support function. |
65 |
|
|
66 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
67 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
68 |
|
(LegendTree._OnRightClick): Replace direct creation of |
69 |
|
menu via wx Classes by applying the menu definition |
70 |
|
as of Menu class of menu.py. |
71 |
|
|
72 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
73 |
|
|
74 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
75 |
|
button string to stronger clearify that Thuban will be closed when hitting |
76 |
|
the button. |
77 |
|
|
78 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
79 |
|
Now for layers without a ShapeStore a corresponding message is given |
80 |
|
to the user, that this layer has no table to show. |
81 |
|
|
82 |
|
2004-04-15 Martin Schulze <[email protected]> |
83 |
|
|
84 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
85 |
|
recalculate the format for the internal render engine as well. |
86 |
|
|
87 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
88 |
|
properties dialog. It's functional for a first selection of |
89 |
|
layers, but still has some weired wxWidgets/GTK problems but |
90 |
|
beautification can be done later. |
91 |
|
|
92 |
|
* Extensions/wms/layer.py: Added more documentation |
93 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
94 |
|
by the WMS server |
95 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
96 |
|
supported by the WMS server |
97 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
98 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
99 |
|
for WMS GetMap requests |
100 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
101 |
|
for WMS GetMap requests |
102 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
103 |
|
a list of layers (unsorted at the moment, though). |
104 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
105 |
|
visible layers |
106 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
107 |
|
visible layers |
108 |
|
|
109 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
110 |
|
order to establish a clean structure. |
111 |
|
|
112 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
113 |
|
own in order to establish a clean structure. |
114 |
|
|
115 |
|
2004-04-13 Martin Schulze <[email protected]> |
116 |
|
|
117 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
118 |
|
support for oldstyle (WMS 1.0 apparently) image format |
119 |
|
specification. |
120 |
|
|
121 |
|
* Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of |
122 |
|
supported graphic formats back to JPEG and BMP, PNG and others are |
123 |
|
too *cough* experimental... Sorry, I meant to filter this out |
124 |
|
before I committed this part. This should make the WMS extension |
125 |
|
run from CVS again. |
126 |
|
(wms_dialog): Reset an empty URL to None so that the subsequent |
127 |
|
program can depend on this, since the dialog will indeed return an |
128 |
|
empty URL, causing another declaration of love by Python. |
129 |
|
|
130 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox): |
131 |
|
Whenever a native BoundingBox request cannot be fulfilled, check |
132 |
|
whether the requested SRS is EPSG:3426, in which case return the |
133 |
|
LatLonBoundingBox values. |
134 |
|
|
135 |
|
* Extensions/wms/test/test_parser.py |
136 |
|
(TestWMSCapabilitiesParser.test_LayerSRS): Added a test for |
137 |
|
ignoring AUTO:* SRS. |
138 |
|
(TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes): |
139 |
|
Added another test method to test whether the LatLonBoundingBox |
140 |
|
values will be returned if BoundingBox values are requested with |
141 |
|
SRS set to EPSG:3426. |
142 |
|
|
143 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers): |
144 |
|
Added rudimentary support for non-EPSG SRS, i.e. ignore them for |
145 |
|
the moment by placing them into a variable which is currently |
146 |
|
unused. Also test whether the EPSG SRS is numerical as it should |
147 |
|
be and add an error message if it is not. |
148 |
|
|
149 |
|
* Extensions/wms/test/sample.xml: Added AUTO:* SRS since they |
150 |
|
appear in the real world as well. Since we cannot handle them yet |
151 |
|
(OGCLib can't either), we will ignore them for the moment. |
152 |
|
|
153 |
|
* Extensions/wms/parser.py: Use a variable for denoting the sample |
154 |
|
filename |
155 |
|
(WMSCapabilitiesParser.peekLayers): Added support for error |
156 |
|
messages during grok(). They will be aggregated in an array and |
157 |
|
may be displayed later. We may have to add a classification |
158 |
|
"Warning" and "Error" to this. That requires more experience, |
159 |
|
though, since not every error may be lethal. |
160 |
|
|
161 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the |
162 |
|
ShowTable() dialog/frame when the user attempts to display it |
163 |
|
while it has been opened before already and not closed again. |
164 |
|
|
165 |
|
2004-04-11 Martin Schulze <[email protected]> |
166 |
|
|
167 |
|
* Extensions/wms/infodialog.py: Adjusted the class documentation |
168 |
|
|
169 |
|
* Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg): |
170 |
|
Switch to using Thuban{Begin,End}BusyCursor instead of the pure |
171 |
|
wxWidgets variants. |
172 |
|
(WMSLayer.__init__): The epsg_id variable is named top_srs now. |
173 |
|
|
174 |
|
* Extensions/wms/infodialog.py: Added an information dialog that |
175 |
|
will display various information about the WMS current resource, |
176 |
|
so that additional information such as the title, the abstract, |
177 |
|
fees and access constraints can be displayed for the user if they |
178 |
|
are documented in the WMS XML. |
179 |
|
|
180 |
2004-04-10 Martin Schulze <[email protected]> |
2004-04-10 Martin Schulze <[email protected]> |
181 |
|
|
182 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted |
195 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink |
196 |
the DOM object. |
the DOM object. |
197 |
|
|
|
|
|
198 |
2004-04-01 Martin Schulze <[email protected]> |
2004-04-01 Martin Schulze <[email protected]> |
199 |
|
|
200 |
* Extensions/wms/capabilities.py: Adjusted documentation |
* Extensions/wms/capabilities.py: Adjusted documentation |
4727 |
Fix problem of hidden properties dialog under windows after double |
Fix problem of hidden properties dialog under windows after double |
4728 |
click on layer tree: |
click on layer tree: |
4729 |
The tree control always gets an Expanded / Collapsed event after |
The tree control always gets an Expanded / Collapsed event after |
4730 |
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. |
4731 |
|
We add a second ItemActivated event to the queue, which simply |
4732 |
raises the already displayed window. |
raises the already displayed window. |
4733 |
|
|
4734 |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |
* Thuban/UI/legend.py (LegendTree.__init__): Instance variable |