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]> |
2003-11-27 Bernhard Herzog <[email protected]> |
398 |
|
|
399 |
Corect some bounding box projection problems |
Corect some bounding box projection problems |