1 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Handle postgis tables with more than one geometry column. |
4 |
|
|
5 |
|
* Thuban/Model/postgisdb.py |
6 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
7 |
|
column objects to a different method so that we can extend that in |
8 |
|
derived classes |
9 |
|
(PostGISTable._create_col_from_description): New. Column object |
10 |
|
creation part of _fetch_table_information |
11 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
12 |
|
inherited method to handle geometry columns |
13 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
14 |
|
specify which geometry column to use. Optional but mandatory for |
15 |
|
tables with more than one geometry column |
16 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
17 |
|
the geometry column when looking for the srid |
18 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
19 |
|
column when looking for the shape type |
20 |
|
|
21 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
22 |
|
NonConnectionStore to changes in the PostGISShapeStore |
23 |
|
|
24 |
|
* test/test_postgis_db.py |
25 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
26 |
|
PostGISShapeStore with tables having two geometry columns. |
27 |
|
|
28 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
Fix some postgis problems. What remains to be done is real |
31 |
|
handling of SRIDs as they affect how reprojection is done |
32 |
|
|
33 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
34 |
|
doc-string |
35 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
36 |
|
inherited method to retrieve srid |
37 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
38 |
|
extent yields NULL for those |
39 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
40 |
|
|
41 |
|
* test/test_postgis_db.py |
42 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
43 |
|
for the special case of a table without any data |
44 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
45 |
|
that uses srids |
46 |
|
(PolygonTests): Fix a doc-string typo |
47 |
|
|
48 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
49 |
|
reference_systems with a specification of spacial reference |
50 |
|
systems to create in the new db. |
51 |
|
(PostgreSQLServer.new_postgis_db) |
52 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
53 |
|
reference_systems to be passed through ultimately to |
54 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
55 |
|
db already has the right srids |
56 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
57 |
|
table that uses srids |
58 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
59 |
|
systems |
60 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
61 |
|
check for those too |
62 |
|
(upload_shapefile): New parameter srid to create tables with a |
63 |
|
specific srid |
64 |
|
|
65 |
|
2004-02-06 Frank Koormann <[email protected]> |
66 |
|
|
67 |
|
* po/pt_BR.po: Fixed charset |
68 |
|
|
69 |
|
2004-02-05 Frank Koormann <[email protected]> |
70 |
|
|
71 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
72 |
|
added (Thuban/UI/application.py:273) |
73 |
|
|
74 |
|
2004-02-03 Frank Koormann <[email protected]> |
75 |
|
|
76 |
|
First version of Portuguese (Brazilian) translation |
77 |
|
|
78 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
79 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
80 |
|
|
81 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
82 |
|
translators. |
83 |
|
|
84 |
|
|
85 |
|
2004-01-22 Frank Koormann <[email protected]> |
86 |
|
|
87 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
88 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
89 |
|
section. Some minor source formattings. |
90 |
|
|
91 |
|
2004-01-21 Frank Koormann <[email protected]> |
92 |
|
|
93 |
|
Make Thuban remember path selections (at least for one application run). |
94 |
|
|
95 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
96 |
|
attribute of application object. Path is a dictionary of |
97 |
|
strings, currently with the items "data" and "projection". |
98 |
|
(Application.SetPath): New, stores path for the specified item. |
99 |
|
(Application.Path): New, return path for the specified item. |
100 |
|
|
101 |
|
* Thuban/UI/mainwindow.py |
102 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
103 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
104 |
|
MainWindow.TableOpen): Access "data" path information of the |
105 |
|
application. |
106 |
|
|
107 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
108 |
|
Access "projection" path information of the application. |
109 |
|
|
110 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
111 |
|
|
112 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
113 |
|
|
114 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
115 |
|
|
116 |
|
* po/Makefile, po/README: Move the description of how to generate |
117 |
|
the translation statistics to the README. |
118 |
|
|
119 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
120 |
|
|
121 |
|
* NEWS: Update for 1.0.0 |
122 |
|
|
123 |
|
* po/it.po: Another update from Maurizio Napolitano |
124 |
|
|
125 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
128 |
|
|
129 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
130 |
|
|
131 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
132 |
|
for translation |
133 |
|
|
134 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
135 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
136 |
|
strings for translation |
137 |
|
|
138 |
|
* po/de.po: Update with the newly marked strings. |
139 |
|
|
140 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
141 |
|
|
142 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
143 |
|
updated |
144 |
|
|
145 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
146 |
|
|
147 |
|
* setup.py (setup call): 1.0.0, yeah! |
148 |
|
|
149 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
150 |
|
|
151 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
152 |
|
1.0.0 namespace too |
153 |
|
|
154 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
155 |
|
1.0.0 namespace |
156 |
|
|
157 |
|
* test/test_load.py (LoadSessionTest.dtd) |
158 |
|
(TestSingleLayer.file_contents) |
159 |
|
(TestNonAsciiColumnName.file_contents) |
160 |
|
(TestLayerVisibility.file_contents) |
161 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
162 |
|
(TestLayerProjection.file_contents) |
163 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
164 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
165 |
|
(TestPostGISLayerPassword.file_contents) |
166 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
167 |
|
1.0.0 namespace |
168 |
|
|
169 |
|
* test/test_save.py (SaveSessionTest.dtd) |
170 |
|
(SaveSessionTest.testEmptySession) |
171 |
|
(SaveSessionTest.testSingleLayer) |
172 |
|
(SaveSessionTest.testLayerProjection) |
173 |
|
(SaveSessionTest.testRasterLayer) |
174 |
|
(SaveSessionTest.testClassifiedLayer) |
175 |
|
(SaveSessionTest.test_dbf_table) |
176 |
|
(SaveSessionTest.test_joined_table) |
177 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
178 |
|
|
179 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
180 |
|
|
181 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
182 |
|
alignment flags are byte strings not unicode and that they have |
183 |
|
valid values |
184 |
|
|
185 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
186 |
|
indirectly saving) of maps with labels. |
187 |
|
|
188 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
189 |
|
|
190 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
191 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
192 |
|
unsubscribe all subscribers. |
193 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
194 |
|
self.grid since it may already have been destroyed. |
195 |
|
Fixes RT #2256 |
196 |
|
|
197 |
|
2003-12-19 Bernhard Herzog <[email protected]> |
198 |
|
|
199 |
|
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
200 |
|
|
201 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
202 |
|
|
203 |
|
* debian/bitmappath.patch, debian/setup.py.patch: |
204 |
|
added to ensure compliance with FHS for debian |
205 |
|
* debian/rules, debian/changelog: |
206 |
|
added patches in rules to ensure compliance with FHS for debian |
207 |
|
|
208 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
209 |
|
|
210 |
|
* po/Makefile (mo): Make the output a bit nicer so that it prints |
211 |
|
statistics about the translations. Add a comment how produce even |
212 |
|
nicer statistics with sed. |
213 |
|
|
214 |
|
2003-12-09 Frank Koormann <[email protected]> |
215 |
|
|
216 |
|
* Resources/Projections/defaults.proj: |
217 |
|
French projection sample with correct accents (UNICODE). |
218 |
|
|
219 |
|
2003-12-05 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* MANIFEST.in: Add the devtools directory |
222 |
|
|
223 |
|
* setup.py (setup call): Use license instead of licence. This |
224 |
|
silences a deprecation warning on Python 2.3 |
225 |
|
|
226 |
|
2003-12-05 Frank Koormann <[email protected]> |
227 |
|
|
228 |
|
Documentation synced with 1.0rc1 |
229 |
|
|
230 |
|
* Doc/manual/thuban-manual.xml: |
231 |
|
Minor formatting changes and references to database layers . |
232 |
|
Introduction.Internationalization: New section on i18n. |
233 |
|
MapManagement.AddingandRemovingLayers: Added item on database layers. |
234 |
|
MapManagement.TheLegend: Added section and screenshot on popup menu. |
235 |
|
ProjectionManagement: Updated screenshot and sentence on EPSG. |
236 |
|
Appendix.SupportedDataSources: Added PostGIS. |
237 |
|
Appendix.WorkingwithPostGIS: New section. |
238 |
|
|
239 |
|
* Doc/manual/images/6_projection.png: Updated screenshot including |
240 |
|
EPSG checkboxes. |
241 |
|
|
242 |
|
* Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot. |
243 |
|
|
244 |
|
* Doc/manual/images/app_postgis_add_layer.png, |
245 |
|
Doc/manual/images/app_postgis_db_add.png, |
246 |
|
Doc/manual/images/app_postgis_db_management.png: |
247 |
|
New screenshots focussing on database layers |
248 |
|
|
249 |
|
2003-12-05 Frank Koormann <[email protected]> |
250 |
|
|
251 |
|
* Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing |
252 |
|
write warning to stderr instead of rising a warning dialog |
253 |
|
|
254 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
255 |
|
|
256 |
|
Fix for RT #2243 |
257 |
|
|
258 |
|
* Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer): |
259 |
|
New. Like has_selected_layer but for shape layers only |
260 |
|
(_has_selected_shape_layer): New. Like _has_selected_layer but for |
261 |
|
shape layers only |
262 |
|
(layer_show_table command, layer_jointable command): Use these |
263 |
|
commands should only be available for shape layers |
264 |
|
|
265 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
266 |
|
|
267 |
|
* Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with |
268 |
|
publishers that are wx objects and may have been destroyed by wx |
269 |
|
already. Fixes RT #2242. |
270 |
|
|
271 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
272 |
|
|
273 |
|
* po/ru.po: Updates from Alex Shevlakov |
274 |
|
|
275 |
|
2003-12-03 Silke Reimer <silkeintevation.de> |
276 |
|
|
277 |
|
* debian/control, debian/changelog: Added gdal-support to |
278 |
|
debian package, updated to new thuban version |
279 |
|
|
280 |
|
|
281 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
282 |
|
|
283 |
|
* Thuban/Lib/version.py: New. Module for version number |
284 |
|
manipulations. The version of make_tuple here also deals better |
285 |
|
with more unusual version number strings, such as e.g. |
286 |
|
"1.2+cvs20031111" |
287 |
|
|
288 |
|
* Thuban/version.py (make_tuple): Removed. It's now in |
289 |
|
Thuban.Lib.version. Use that implementation instead. |
290 |
|
|
291 |
|
* test/test_lib_version.py: New. Tests for Thuban/Lib/version.py |
292 |
|
|
293 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
294 |
|
|
295 |
|
* MANIFEST.in: Add debian files |
296 |
|
|
297 |
|
* setup.py (setup call): Add packages for the Extensions so that |
298 |
|
they're installed too |
299 |
|
(data_files): Add READMEs and sample data from some Extensions |
300 |
|
|
301 |
|
* NEWS: Add note about the extensions in binary packages |
302 |
|
|
303 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
304 |
|
|
305 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save files |
306 |
|
with the thuban-1.0rc1 |
307 |
|
|
308 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Recognize the |
309 |
|
thuban-1.0rc1 namespace too |
310 |
|
|
311 |
|
* test/test_save.py (SaveSessionTest.dtd) |
312 |
|
(SaveSessionTest.testEmptySession) |
313 |
|
(SaveSessionTest.testSingleLayer) |
314 |
|
(SaveSessionTest.testLayerProjection) |
315 |
|
(SaveSessionTest.testRasterLayer) |
316 |
|
(SaveSessionTest.testClassifiedLayer) |
317 |
|
(SaveSessionTest.test_dbf_table) |
318 |
|
(SaveSessionTest.test_joined_table) |
319 |
|
(SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1 |
320 |
|
namespace |
321 |
|
|
322 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1 |
323 |
|
namespace |
324 |
|
(TestSingleLayer.file_contents) |
325 |
|
(TestNonAsciiColumnName.file_contents) |
326 |
|
(TestLayerVisibility.file_contents) |
327 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
328 |
|
(TestLayerProjection.file_contents) |
329 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
330 |
|
(TestPostGISLayer.file_contents) |
331 |
|
(TestPostGISLayerPassword.file_contents) |
332 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to |
333 |
|
thuban-1.0rc1 namespace |
334 |
|
|
335 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
336 |
|
|
337 |
|
* setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for |
338 |
|
nt to better match Intevation's current w32 setup |
339 |
|
|
340 |
|
* HOWTO-Release: Add note about updating MANIFEST.in |
341 |
|
|
342 |
|
* MANIFEST.in: Add the Extensions |
343 |
|
|
344 |
|
* NEWS: Update for 1.0rc1 |
345 |
|
|
346 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
347 |
|
|
348 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
349 |
|
cards for the dialog so that shapefiles ending in all uppercase |
350 |
|
SHP are listed too |
351 |
|
|
352 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
353 |
|
|
354 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
355 |
|
|
356 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
357 |
|
[email protected] email address as author email instead of my |
358 |
|
personal one. |
359 |
|
|
360 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
361 |
|
|
362 |
|
* po/de.po: Update german translation. |
363 |
|
|
364 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
365 |
|
|
366 |
|
Unify the filenames stored in .thuban files so that the .thuban |
367 |
|
files are more platform independend |
368 |
|
|
369 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
370 |
|
that they can be used on both windows and unix |
371 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
372 |
|
transformations for filenames stored in the thuban file |
373 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
374 |
|
Use prepare_filename |
375 |
|
|
376 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
377 |
|
(SaveSessionTest.testLayerProjection) |
378 |
|
(SaveSessionTest.testRasterLayer) |
379 |
|
(SaveSessionTest.testClassifiedLayer) |
380 |
|
(SaveSessionTest.test_dbf_table) |
381 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
382 |
|
with slashes on all currently supported platforms so adapt all |
383 |
|
tests to this |
384 |
|
|
385 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
386 |
|
filename scheme the filenames in the tests should be |
387 |
|
understandable on all currently supported platforms so we turn |
388 |
|
this into an empty list because we don't have to normalize them |
389 |
|
anymore |
390 |
|
|
391 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
392 |
|
|
393 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
394 |
|
Add the ellipsoid to the projection since some Proj versions |
395 |
|
complain if it's missing. |
396 |
|
|
397 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
398 |
|
|
399 |
|
Corect some bounding box projection problems |
400 |
|
|
401 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
402 |
|
version of ForwardBBox |
403 |
|
(Projection._transform_bbox): New. common implementation of |
404 |
|
ForwardBBox and InverseBBox |
405 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
406 |
|
|
407 |
|
* test/test_proj.py (TestProjection.test): Add test for |
408 |
|
InverseBBox |
409 |
|
|
410 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
411 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
412 |
|
new InverseBBox method to determine the unprojected bounding box |
413 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
414 |
|
bbox. |
415 |
|
|
416 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
417 |
|
Removed. |
418 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
419 |
|
better able to test whether bounding boxes are projected correctly |
420 |
|
than test_point_layer_with_projection |
421 |
|
|
422 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
423 |
|
InverseBBox to unproject bboxes |
424 |
|
|
425 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
426 |
|
|
427 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
428 |
|
source code. |
429 |
|
|
430 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
431 |
|
|
432 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
433 |
|
there for backwards compatibility and all code relying on that |
434 |
|
should have been updated by now. |
435 |
|
|
436 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
437 |
|
|
438 |
|
* test/test_load.py (TestClassification.test): Add the missing |
439 |
|
round trip test. |
440 |
|
(TestClassification.file_contents): Update to the newest file |
441 |
|
format |
442 |
|
|
443 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
444 |
|
|
445 |
|
Add very experimental (and possibly dangerous) extension to draw |
446 |
|
polygons: |
447 |
|
|
448 |
|
* Extensions/drawshape/README: New. Brief installation |
449 |
|
instructions |
450 |
|
|
451 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
452 |
|
drawshape extensions |
453 |
|
|
454 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
455 |
|
extension can be used. |
456 |
|
|
457 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
458 |
|
|
459 |
|
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
460 |
|
(ShapefileStore.__init__): Factor opening the shapefile into a |
461 |
|
separate method (the new _open_shapefile). This makes the code a |
462 |
|
bit more readable but the real reason is that it makes some evil |
463 |
|
hacks easier. :-) |
464 |
|
|
465 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
466 |
|
|
467 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): If no |
468 |
|
converter is specified for an attribute assume it's a string |
469 |
|
containing only Latin1 characters. Update doc-string accordingly. |
470 |
|
This change should fix many places where unicode objects might |
471 |
|
accidentally enter Thuban. |
472 |
|
|
473 |
|
* test/test_load.py (TestNonAsciiColumnName): New test to check |
474 |
|
what happens with column names in DBF files that contain non-ascii |
475 |
|
characters |
476 |
|
|
477 |
|
2003-11-21 Bernhard Herzog <[email protected]> |
478 |
|
|
479 |
|
Enable the experimental attribute editing again and introduce a |
480 |
|
command line switch to actually activate it |
481 |
|
|
482 |
|
* Thuban/UI/main.py (options): New. Container for options set on |
483 |
|
the commmand line |
484 |
|
(main): Add the --enable-attribute-editing flag. |
485 |
|
|
486 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute |
487 |
|
editing is enabled use the grid ctrl which allows editing of the |
488 |
|
values |
489 |
|
|
490 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.write_record): |
491 |
|
New. Just delegate this to the underlying table. |
492 |
|
|
493 |
|
2003-11-20 Bernhard Herzog <[email protected]> |
494 |
|
|
495 |
|
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |
496 |
|
Skip this test if run under non-posix systems since it only works |
497 |
|
there |
498 |
|
|
499 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
500 |
|
|
501 |
|
* Thuban/Model/resource.py: Rework the way gdal support is |
502 |
|
determined so that we can give a reason in the about why gdal is |
503 |
|
not supported. |
504 |
|
(gdal_support_status): New. Variable holding a string with the |
505 |
|
reason for no gdal support |
506 |
|
|
507 |
|
* Thuban/UI/about.py (About.__init__): Add the reason why gdal is |
508 |
|
not supported to the message |
509 |
|
|
510 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
511 |
|
|
512 |
|
Remove the old table interface and its test cases |
513 |
|
|
514 |
|
* Thuban/Model/table.py (OldTableInterfaceMixin): Removed. |
515 |
|
(DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin |
516 |
|
anymore |
517 |
|
|
518 |
|
* Thuban/Model/transientdb.py (TransientTableBase) |
519 |
|
(AutoTransientTable): Do not derive from OldTableInterfaceMixin |
520 |
|
anymore |
521 |
|
|
522 |
|
* test/test_table.py: Removed since the old interface it tests is |
523 |
|
gone. |
524 |
|
|
525 |
|
* test/runtests.py (main): The old table interface is gone and |
526 |
|
with it the deprecation warnings so remove the code that turns |
527 |
|
these warnings into errors |
528 |
|
|
529 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
530 |
|
|
531 |
|
* test/test_table.py: Revert to revision 1.5 again. Changing the |
532 |
|
tests to use the new table interface is completely wrong since the |
533 |
|
whole purpose of the tests in this module is to test the old |
534 |
|
interface. |
535 |
|
|
536 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
537 |
|
|
538 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters): |
539 |
|
New. Test whether the connection matches a set of connection |
540 |
|
parameters |
541 |
|
|
542 |
|
* Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string |
543 |
|
(DBFrame.OnAdd): Use the new MatchesParameters method when looking |
544 |
|
for existing connections with the same parameters and break out of |
545 |
|
the loop correctly. |
546 |
|
|
547 |
|
* test/test_postgis_db.py (TestBriefDescription) |
548 |
|
(TestPostGISSimple.test_brief_description): Rename |
549 |
|
TestBriefDescription to TestPostGISSimple and the test method to |
550 |
|
test_brief_description so that we can add more test methods. |
551 |
|
(TestPostGISSimple.test_matches_parameters): New. Test the new |
552 |
|
MatchesParameters method |
553 |
|
|
554 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
555 |
|
|
556 |
|
* Thuban/Lib/connector.py (Publisher): Introduce a new flag, |
557 |
|
_was_destroyed, to indicate whether an publisher instance has |
558 |
|
already been destroyed. |
559 |
|
(Publisher.Unsubscribe): Only disconnect if the publisher has not |
560 |
|
been destroyed yet. |
561 |
|
(Publisher.Destroy): Set the _was_destroyed flag to true. |
562 |
|
|
563 |
|
* test/test_connector.py |
564 |
|
(TestPublisher.test_unsubscribe_after_destroy): New. Test that |
565 |
|
calling Unsubscribe after Destroy doesn't raise an exception |
566 |
|
|
567 |
|
2003-11-14 Bernhard Herzog <[email protected]> |
568 |
|
|
569 |
|
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |
570 |
|
typo in doc-string |
571 |
|
|
572 |
|
2003-11-13 Bernhard Herzog <[email protected]> |
573 |
|
|
574 |
|
Quote table and column names properly for postgis. |
575 |
|
|
576 |
|
* Thuban/Model/postgisdb.py (quote_identifier): New. Function to |
577 |
|
quote an identifier for use in an sql statement |
578 |
|
(PostGISColumn.__init__): Add the quoted_name attribute |
579 |
|
(PostGISTable.__init__): New instance variable quoted_tablename |
580 |
|
(PostGISTable._fetch_table_information): Use the quoted table |
581 |
|
name. New isntance variable quoted_geo_col with a quoted version |
582 |
|
of geometry_column |
583 |
|
(PostGISTable.NumRows, PostGISTable.RowIdToOrdinal) |
584 |
|
(PostGISTable.RowOrdinalToId): Use the quoted table name |
585 |
|
(PostGISTable.ReadValue, PostGISTable.ValueRange) |
586 |
|
(PostGISTable.UniqueValues, PostGISTable.SimpleQuery) |
587 |
|
(PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape) |
588 |
|
(PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion): |
589 |
|
Use quoted table and column names |
590 |
|
|
591 |
|
* test/test_postgis_db.py (TestPostGISSpecialCases) |
592 |
|
(TestPostGISIgnoredColumns): Rename the class to |
593 |
|
TestPostGISSpecialCases because that better describes the new |
594 |
|
cases |
595 |
|
(TestPostGISSpecialCases.test_unsupported_types) |
596 |
|
(TestPostGISSpecialCases.test): Rename the method to |
597 |
|
test_unsupported_types because we need a more descriptive name now |
598 |
|
that there are more methods |
599 |
|
(TestPostGISSpecialCases.test_table_name_quoting) |
600 |
|
(TestPostGISSpecialCases.test_column_name_quoting) |
601 |
|
(TestPostGISSpecialCases.test_shapestore_name_quoting): New test |
602 |
|
cases to test quoting of table and column names in PostGISTable |
603 |
|
and PostGISShapeStore |
604 |
|
|
605 |
|
* test/postgissupport.py |
606 |
|
(skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if |
607 |
|
AddGeometryColumn desn't support table or column names with sapces |
608 |
|
or double quotes |
609 |
|
|
610 |
|
2003-11-12 Jan-Oliver Wagner <[email protected]> |
611 |
|
|
612 |
|
* Extensions/wms/__init__.py: New: Init to make this |
613 |
|
directory a package. |
614 |
|
|
615 |
|
* Extensions/wms/wms.py: New: Provide layers via OGC WMS. |
616 |
|
|
617 |
|
2003-11-11 Bernhard Herzog <[email protected]> |
618 |
|
|
619 |
|
* Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New. |
620 |
|
Constant for the file woth deprecated epsg projections |
621 |
|
(get_system_proj_file): Update doc-string |
622 |
|
|
623 |
|
* Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space |
624 |
|
above the EPS widgets, introduce a check box for the deprecated |
625 |
|
eps projections and a label for the epsg widgets |
626 |
|
(ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections |
627 |
|
too |
628 |
|
|
629 |
2003-11-11 Bernhard Herzog <[email protected]> |
2003-11-11 Bernhard Herzog <[email protected]> |
630 |
|
|
631 |
Avoid warnings when run under Python 2.3 |
Avoid warnings when run under Python 2.3 |