1 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Extensions/wms/wms.py (epsg_code_to_projection): Use |
4 |
|
get_system_proj_file to read the epsg projections. The old way |
5 |
|
depended on the current directory being the top Thuban directory. |
6 |
|
|
7 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
10 |
|
(TestVirtualDC.test_clippath): Remove a debug print |
11 |
|
|
12 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Extensions/svgexport/__init__.py: New. Turn |
15 |
|
Extensions/svgexport into a package. |
16 |
|
|
17 |
|
* Extensions/svgexport/svgmapwriter.py: Reorder the imports and |
18 |
|
doc-string a bit. The doc-string must come first, otherwise it's |
19 |
|
not a doc-string. The __future__ import must be the first thing |
20 |
|
after the doc-string. Use only double quotes in doc-strings. |
21 |
|
Single quotes trip up emacs syntax highlighting if the text |
22 |
|
contains apostrophes. |
23 |
|
|
24 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* Extensions/svgexport/test/__init__.py, |
27 |
|
Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test |
28 |
|
suite for svgexport |
29 |
|
|
30 |
|
* test/runtests.py (find_test_modules): New. Function with the |
31 |
|
module finding code from main. |
32 |
|
(main): Use find_test_modules to figure out the default test |
33 |
|
modules and take modules from Extensions.svgexport.test too. |
34 |
|
|
35 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Make sure |
38 |
|
the mainwindow has a reference to the map of the initial session. |
39 |
|
This fixes a bug introduced with the fix for RT#2245 |
40 |
|
|
41 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
* Extensions/svgexport/svgsaver.py, |
44 |
|
Extensions/svgexport/svgmapwriter.py, |
45 |
|
Extensions/svgexport/maplegend.py: Added again. This time in the |
46 |
|
correct place. |
47 |
|
|
48 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
Fix for RT#2245 |
51 |
|
|
52 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
53 |
|
instance variables before trying to create any windows. Creating |
54 |
|
windows can start an event loop if e.g. message boxes are popped |
55 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
56 |
|
may want to access things from the application. |
57 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
58 |
|
created yet, so check whether it has been created before calling |
59 |
|
its methods |
60 |
|
|
61 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
62 |
|
have a map |
63 |
|
|
64 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
67 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
68 |
|
extensions/svgexport/svgsaver.py, |
69 |
|
extensions/svgexport/svgmapwriter.py, |
70 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
71 |
|
the wrong places or didn't work at all. |
72 |
|
|
73 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
74 |
|
|
75 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
76 |
|
line |
77 |
|
|
78 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
79 |
|
|
80 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
81 |
|
|
82 |
|
2004-02-15 Markus Rechtien <[email protected]> |
83 |
|
|
84 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
85 |
|
to write a session to a file in SVG format. |
86 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
87 |
|
to write a SVG map of a session. |
88 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
89 |
|
in SVG format for the current session. |
90 |
|
|
91 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
92 |
|
|
93 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
94 |
|
can't be created, return immediately after displaying the error |
95 |
|
message. |
96 |
|
|
97 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
98 |
|
|
99 |
|
Handle postgis tables with more than one geometry column. |
100 |
|
|
101 |
|
* Thuban/Model/postgisdb.py |
102 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
103 |
|
column objects to a different method so that we can extend that in |
104 |
|
derived classes |
105 |
|
(PostGISTable._create_col_from_description): New. Column object |
106 |
|
creation part of _fetch_table_information |
107 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
108 |
|
inherited method to handle geometry columns |
109 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
110 |
|
specify which geometry column to use. Optional but mandatory for |
111 |
|
tables with more than one geometry column |
112 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
113 |
|
the geometry column when looking for the srid |
114 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
115 |
|
column when looking for the shape type |
116 |
|
|
117 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
118 |
|
NonConnectionStore to changes in the PostGISShapeStore |
119 |
|
|
120 |
|
* test/test_postgis_db.py |
121 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
122 |
|
PostGISShapeStore with tables having two geometry columns. |
123 |
|
|
124 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
125 |
|
|
126 |
|
Fix some postgis problems. What remains to be done is real |
127 |
|
handling of SRIDs as they affect how reprojection is done |
128 |
|
|
129 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
130 |
|
doc-string |
131 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
132 |
|
inherited method to retrieve srid |
133 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
134 |
|
extent yields NULL for those |
135 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
136 |
|
|
137 |
|
* test/test_postgis_db.py |
138 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
139 |
|
for the special case of a table without any data |
140 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
141 |
|
that uses srids |
142 |
|
(PolygonTests): Fix a doc-string typo |
143 |
|
|
144 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
145 |
|
reference_systems with a specification of spacial reference |
146 |
|
systems to create in the new db. |
147 |
|
(PostgreSQLServer.new_postgis_db) |
148 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
149 |
|
reference_systems to be passed through ultimately to |
150 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
151 |
|
db already has the right srids |
152 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
153 |
|
table that uses srids |
154 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
155 |
|
systems |
156 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
157 |
|
check for those too |
158 |
|
(upload_shapefile): New parameter srid to create tables with a |
159 |
|
specific srid |
160 |
|
|
161 |
|
2004-02-06 Frank Koormann <[email protected]> |
162 |
|
|
163 |
|
* po/pt_BR.po: Fixed charset |
164 |
|
|
165 |
|
2004-02-05 Frank Koormann <[email protected]> |
166 |
|
|
167 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
168 |
|
added (Thuban/UI/application.py:273) |
169 |
|
|
170 |
|
2004-02-03 Frank Koormann <[email protected]> |
171 |
|
|
172 |
|
First version of Portuguese (Brazilian) translation |
173 |
|
|
174 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
175 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
176 |
|
|
177 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
178 |
|
translators. |
179 |
|
|
180 |
|
|
181 |
|
2004-01-22 Frank Koormann <[email protected]> |
182 |
|
|
183 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
184 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
185 |
|
section. Some minor source formattings. |
186 |
|
|
187 |
|
2004-01-21 Frank Koormann <[email protected]> |
188 |
|
|
189 |
|
Make Thuban remember path selections (at least for one application run). |
190 |
|
|
191 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
192 |
|
attribute of application object. Path is a dictionary of |
193 |
|
strings, currently with the items "data" and "projection". |
194 |
|
(Application.SetPath): New, stores path for the specified item. |
195 |
|
(Application.Path): New, return path for the specified item. |
196 |
|
|
197 |
|
* Thuban/UI/mainwindow.py |
198 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
199 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
200 |
|
MainWindow.TableOpen): Access "data" path information of the |
201 |
|
application. |
202 |
|
|
203 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
204 |
|
Access "projection" path information of the application. |
205 |
|
|
206 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
207 |
|
|
208 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
209 |
|
|
210 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
211 |
|
|
212 |
|
* po/Makefile, po/README: Move the description of how to generate |
213 |
|
the translation statistics to the README. |
214 |
|
|
215 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
216 |
|
|
217 |
|
* NEWS: Update for 1.0.0 |
218 |
|
|
219 |
|
* po/it.po: Another update from Maurizio Napolitano |
220 |
|
|
221 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
222 |
|
|
223 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
224 |
|
|
225 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
226 |
|
|
227 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
228 |
|
for translation |
229 |
|
|
230 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
231 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
232 |
|
strings for translation |
233 |
|
|
234 |
|
* po/de.po: Update with the newly marked strings. |
235 |
|
|
236 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
237 |
|
|
238 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
239 |
|
updated |
240 |
|
|
241 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
242 |
|
|
243 |
|
* setup.py (setup call): 1.0.0, yeah! |
244 |
|
|
245 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
246 |
|
|
247 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
248 |
|
1.0.0 namespace too |
249 |
|
|
250 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
251 |
|
1.0.0 namespace |
252 |
|
|
253 |
|
* test/test_load.py (LoadSessionTest.dtd) |
254 |
|
(TestSingleLayer.file_contents) |
255 |
|
(TestNonAsciiColumnName.file_contents) |
256 |
|
(TestLayerVisibility.file_contents) |
257 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
258 |
|
(TestLayerProjection.file_contents) |
259 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
260 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
261 |
|
(TestPostGISLayerPassword.file_contents) |
262 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
263 |
|
1.0.0 namespace |
264 |
|
|
265 |
|
* test/test_save.py (SaveSessionTest.dtd) |
266 |
|
(SaveSessionTest.testEmptySession) |
267 |
|
(SaveSessionTest.testSingleLayer) |
268 |
|
(SaveSessionTest.testLayerProjection) |
269 |
|
(SaveSessionTest.testRasterLayer) |
270 |
|
(SaveSessionTest.testClassifiedLayer) |
271 |
|
(SaveSessionTest.test_dbf_table) |
272 |
|
(SaveSessionTest.test_joined_table) |
273 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
274 |
|
|
275 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
276 |
|
|
277 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
278 |
|
alignment flags are byte strings not unicode and that they have |
279 |
|
valid values |
280 |
|
|
281 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
282 |
|
indirectly saving) of maps with labels. |
283 |
|
|
284 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
285 |
|
|
286 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
287 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
288 |
|
unsubscribe all subscribers. |
289 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
290 |
|
self.grid since it may already have been destroyed. |
291 |
|
Fixes RT #2256 |
292 |
|
|
293 |
|
2003-12-19 Bernhard Herzog <[email protected]> |
294 |
|
|
295 |
|
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
296 |
|
|
297 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
298 |
|
|
299 |
|
* debian/bitmappath.patch, debian/setup.py.patch: |
300 |
|
added to ensure compliance with FHS for debian |
301 |
|
* debian/rules, debian/changelog: |
302 |
|
added patches in rules to ensure compliance with FHS for debian |
303 |
|
|
304 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
305 |
|
|
306 |
|
* po/Makefile (mo): Make the output a bit nicer so that it prints |
307 |
|
statistics about the translations. Add a comment how produce even |
308 |
|
nicer statistics with sed. |
309 |
|
|
310 |
2003-12-09 Frank Koormann <[email protected]> |
2003-12-09 Frank Koormann <[email protected]> |
311 |
|
|
312 |
* Resources/Projections/defaults.proj: |
* Resources/Projections/defaults.proj: |