1 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Update to newest shapelib and get rid of Thuban specific |
4 |
|
extensions, i.e. use the new DBFUpdateHeader instead of our |
5 |
|
DBFCommit kludge |
6 |
|
|
7 |
|
* libraries/shapelib/shpopen.c: Update to version from current |
8 |
|
shapelib CVS. |
9 |
|
|
10 |
|
* libraries/shapelib/shapefil.h: Update to version from current |
11 |
|
shapelib CVS. |
12 |
|
|
13 |
|
* libraries/shapelib/dbfopen.c: Update to version from current |
14 |
|
shapelib CVS. |
15 |
|
(DBFCommit): Effectively removed since shapelib itself has |
16 |
|
DBFUpdateHeader now which is better for what DBFCommit wanted to |
17 |
|
achieve. |
18 |
|
We're now using an unmodified version of dbfopen. |
19 |
|
|
20 |
|
* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with |
21 |
|
value '1' to the Lib.dbflibc extension. This simply reflects the |
22 |
|
shapelib and pyshapelib updates |
23 |
|
|
24 |
|
2004-05-16 Jan-Oliver Wagner <[email protected]> |
25 |
|
|
26 |
|
Finished introduction of Menu.FindOrInsertMenu. |
27 |
|
|
28 |
|
* Extensions/drawshape/drawshape.py: Add the command |
29 |
|
to the experimental menu additionally to the toolbar. |
30 |
|
|
31 |
|
* Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of |
32 |
|
finding menu on its own. |
33 |
|
|
34 |
|
* Doc/manual/thuban-manual.xml: updated sample file |
35 |
|
to use FindOrInsertMenu(). |
36 |
|
|
37 |
|
* Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu() |
38 |
|
instead of finding menu on its own. |
39 |
|
|
40 |
|
2004-05-11 Jan-Oliver Wagner <[email protected]> |
41 |
|
|
42 |
|
* test/test_menu.py (MenuTest.test): Added testing |
43 |
|
of method Menu.FindOrInsertMenu. |
44 |
|
|
45 |
|
2004-05-10 Jan-Oliver Wagner <[email protected]> |
46 |
|
|
47 |
|
Introduce and use Menu.FindOrInsertMenu. |
48 |
|
|
49 |
|
* Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a |
50 |
|
given menu or, if not found, insert it. |
51 |
|
|
52 |
|
* Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py, |
53 |
|
/Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py, |
54 |
|
/Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding |
55 |
|
menu on its own. |
56 |
|
|
57 |
|
2004-05-06 Jan-Oliver Wagner <[email protected]> |
58 |
|
|
59 |
|
Introduce a abstract ColorDialog class and remove |
60 |
|
and outdated file. |
61 |
|
|
62 |
|
* Thuban/UI/proj4dialog.py: Removed. It is has been |
63 |
|
replaced by projdialog for quite a while and is not used |
64 |
|
anymore. |
65 |
|
|
66 |
|
* Thuban/UI/colordialog.py: New. Abstraction for color selection |
67 |
|
dialog(s). |
68 |
|
|
69 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor): |
70 |
|
Now calls the abstract ColorDialog instead of wxColourDialog. |
71 |
|
This also removed the dependency to Color class conversion |
72 |
|
from this function. |
73 |
|
|
74 |
|
2004-05-04 Frank Koormann <[email protected]> |
75 |
|
|
76 |
|
* Extensions/bboxdump/__init__.py: Fixed string left over from |
77 |
|
copying. |
78 |
|
|
79 |
|
* Extensions/bboxdump/bboxdump.py (bboxdump): |
80 |
|
Use layer.ShapeStore().AllShapes() to loop over shapes instead of |
81 |
|
xrange(layer.NumShapes()). Compile the bboxmessage from a list |
82 |
|
of formatted outputs (string.join) instead of appending to the |
83 |
|
message. Two progress bar dialogs to report progress on the sometimes |
84 |
|
lenghty processing. |
85 |
|
|
86 |
|
2004-04-22 Frank Koormann <[email protected]> |
87 |
|
|
88 |
|
New Extension to dump bounding boxes of all shapes of the selected |
89 |
|
layer. An optional column can be specified to group the objects, |
90 |
|
in this case the bounding box is a union of the separate boxes. |
91 |
|
Dump can be displayed in a ScrolledMessageDialog or written to file. |
92 |
|
The Extension is simply a combination of available and well tested |
93 |
|
Thuban functionality. |
94 |
|
|
95 |
|
* Extensions/bboxdump/__init__.py: New: Init to make this |
96 |
|
directory a package. |
97 |
|
|
98 |
|
* Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of |
99 |
|
all shapes of the selected layer. |
100 |
|
|
101 |
|
2004-04-22 Jan-Oliver Wagner <[email protected]> |
102 |
|
|
103 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two |
104 |
|
strings to be i18n now. |
105 |
|
|
106 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
107 |
|
|
108 |
|
Changing popup menu of legend from direct building |
109 |
|
to using the Menu construction as used for the mainwindow. |
110 |
|
|
111 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
112 |
|
layer_to_bottom, layer_visibility |
113 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
114 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
115 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
116 |
|
Replace 1,0 by True, False. |
117 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
118 |
|
current layer. |
119 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
120 |
|
(_has_selected_layer_visible): New. Support function. |
121 |
|
|
122 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
123 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
124 |
|
(LegendTree._OnRightClick): Replace direct creation of |
125 |
|
menu via wx Classes by applying the menu definition |
126 |
|
as of Menu class of menu.py. |
127 |
|
|
128 |
|
2004-04-16 Jan-Oliver Wagner <[email protected]> |
129 |
|
|
130 |
|
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
131 |
|
button string to stronger clearify that Thuban will be closed when hitting |
132 |
|
the button. |
133 |
|
|
134 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring. |
135 |
|
Now for layers without a ShapeStore a corresponding message is given |
136 |
|
to the user, that this layer has no table to show. |
137 |
|
|
138 |
|
2004-04-15 Martin Schulze <[email protected]> |
139 |
|
|
140 |
|
* Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to |
141 |
|
recalculate the format for the internal render engine as well. |
142 |
|
|
143 |
|
* Extensions/wms/properties.py (wmsProperties): First start for a |
144 |
|
properties dialog. It's functional for a first selection of |
145 |
|
layers, but still has some weired wxWidgets/GTK problems but |
146 |
|
beautification can be done later. |
147 |
|
|
148 |
|
* Extensions/wms/layer.py: Added more documentation |
149 |
|
(WMSLayer.getFormats): New: Return list of supported image formats |
150 |
|
by the WMS server |
151 |
|
(WMSLayer.getLayers): New: Return the list of layer names |
152 |
|
supported by the WMS server |
153 |
|
(WMSLayer.getLayerTitle): New: Return the title of the named layer |
154 |
|
(WMSLayer.getWMSFormat): New: Return the image format that is used |
155 |
|
for WMS GetMap requests |
156 |
|
(WMSLayer.setWMSFormat): New: Set the image format that is used |
157 |
|
for WMS GetMap requests |
158 |
|
(WMSLayer.__init__): Move away from using only one layer to using |
159 |
|
a list of layers (unsorted at the moment, though). |
160 |
|
(WMSLayer.getVisibleLayers): New: Return the list of names for all |
161 |
|
visible layers |
162 |
|
(WMSLayer.setVisibleLayers): New: Set the list of names for all |
163 |
|
visible layers |
164 |
|
|
165 |
|
* Extensions/wms/wms.py: Moved the WMS layer into layer.py in |
166 |
|
order to establish a clean structure. |
167 |
|
|
168 |
|
* Extensions/wms/layer.py: Moved the WMS layer into a file on its |
169 |
|
own in order to establish a clean structure. |
170 |
|
|
171 |
2004-04-13 Martin Schulze <[email protected]> |
2004-04-13 Martin Schulze <[email protected]> |
172 |
|
|
173 |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |
* Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added |