1 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
4 |
|
|
5 |
|
2004-02-15 Markus Rechtien <[email protected]> |
6 |
|
|
7 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
8 |
|
to write a session to a file in SVG format. |
9 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
10 |
|
to write a SVG map of a session. |
11 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
12 |
|
in SVG format for the current session. |
13 |
|
|
14 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
15 |
|
|
16 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
17 |
|
can't be created, return immediately after displaying the error |
18 |
|
message. |
19 |
|
|
20 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
21 |
|
|
22 |
|
Handle postgis tables with more than one geometry column. |
23 |
|
|
24 |
|
* Thuban/Model/postgisdb.py |
25 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
26 |
|
column objects to a different method so that we can extend that in |
27 |
|
derived classes |
28 |
|
(PostGISTable._create_col_from_description): New. Column object |
29 |
|
creation part of _fetch_table_information |
30 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
31 |
|
inherited method to handle geometry columns |
32 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
33 |
|
specify which geometry column to use. Optional but mandatory for |
34 |
|
tables with more than one geometry column |
35 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
36 |
|
the geometry column when looking for the srid |
37 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
38 |
|
column when looking for the shape type |
39 |
|
|
40 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
41 |
|
NonConnectionStore to changes in the PostGISShapeStore |
42 |
|
|
43 |
|
* test/test_postgis_db.py |
44 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
45 |
|
PostGISShapeStore with tables having two geometry columns. |
46 |
|
|
47 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
Fix some postgis problems. What remains to be done is real |
50 |
|
handling of SRIDs as they affect how reprojection is done |
51 |
|
|
52 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
53 |
|
doc-string |
54 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
55 |
|
inherited method to retrieve srid |
56 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
57 |
|
extent yields NULL for those |
58 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
59 |
|
|
60 |
|
* test/test_postgis_db.py |
61 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
62 |
|
for the special case of a table without any data |
63 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
64 |
|
that uses srids |
65 |
|
(PolygonTests): Fix a doc-string typo |
66 |
|
|
67 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
68 |
|
reference_systems with a specification of spacial reference |
69 |
|
systems to create in the new db. |
70 |
|
(PostgreSQLServer.new_postgis_db) |
71 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
72 |
|
reference_systems to be passed through ultimately to |
73 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
74 |
|
db already has the right srids |
75 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
76 |
|
table that uses srids |
77 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
78 |
|
systems |
79 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
80 |
|
check for those too |
81 |
|
(upload_shapefile): New parameter srid to create tables with a |
82 |
|
specific srid |
83 |
|
|
84 |
|
2004-02-06 Frank Koormann <[email protected]> |
85 |
|
|
86 |
|
* po/pt_BR.po: Fixed charset |
87 |
|
|
88 |
|
2004-02-05 Frank Koormann <[email protected]> |
89 |
|
|
90 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
91 |
|
added (Thuban/UI/application.py:273) |
92 |
|
|
93 |
|
2004-02-03 Frank Koormann <[email protected]> |
94 |
|
|
95 |
|
First version of Portuguese (Brazilian) translation |
96 |
|
|
97 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
98 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
99 |
|
|
100 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
101 |
|
translators. |
102 |
|
|
103 |
|
|
104 |
|
2004-01-22 Frank Koormann <[email protected]> |
105 |
|
|
106 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
107 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
108 |
|
section. Some minor source formattings. |
109 |
|
|
110 |
|
2004-01-21 Frank Koormann <[email protected]> |
111 |
|
|
112 |
|
Make Thuban remember path selections (at least for one application run). |
113 |
|
|
114 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
115 |
|
attribute of application object. Path is a dictionary of |
116 |
|
strings, currently with the items "data" and "projection". |
117 |
|
(Application.SetPath): New, stores path for the specified item. |
118 |
|
(Application.Path): New, return path for the specified item. |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py |
121 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
122 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
123 |
|
MainWindow.TableOpen): Access "data" path information of the |
124 |
|
application. |
125 |
|
|
126 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
127 |
|
Access "projection" path information of the application. |
128 |
|
|
129 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
130 |
|
|
131 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
132 |
|
|
133 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
134 |
|
|
135 |
|
* po/Makefile, po/README: Move the description of how to generate |
136 |
|
the translation statistics to the README. |
137 |
|
|
138 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
139 |
|
|
140 |
|
* NEWS: Update for 1.0.0 |
141 |
|
|
142 |
|
* po/it.po: Another update from Maurizio Napolitano |
143 |
|
|
144 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
145 |
|
|
146 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
147 |
|
|
148 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
149 |
|
|
150 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
151 |
|
for translation |
152 |
|
|
153 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
154 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
155 |
|
strings for translation |
156 |
|
|
157 |
|
* po/de.po: Update with the newly marked strings. |
158 |
|
|
159 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
160 |
|
|
161 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
162 |
|
updated |
163 |
|
|
164 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
165 |
|
|
166 |
|
* setup.py (setup call): 1.0.0, yeah! |
167 |
|
|
168 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
169 |
|
|
170 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
171 |
|
1.0.0 namespace too |
172 |
|
|
173 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
174 |
|
1.0.0 namespace |
175 |
|
|
176 |
|
* test/test_load.py (LoadSessionTest.dtd) |
177 |
|
(TestSingleLayer.file_contents) |
178 |
|
(TestNonAsciiColumnName.file_contents) |
179 |
|
(TestLayerVisibility.file_contents) |
180 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
181 |
|
(TestLayerProjection.file_contents) |
182 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
183 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
184 |
|
(TestPostGISLayerPassword.file_contents) |
185 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
186 |
|
1.0.0 namespace |
187 |
|
|
188 |
|
* test/test_save.py (SaveSessionTest.dtd) |
189 |
|
(SaveSessionTest.testEmptySession) |
190 |
|
(SaveSessionTest.testSingleLayer) |
191 |
|
(SaveSessionTest.testLayerProjection) |
192 |
|
(SaveSessionTest.testRasterLayer) |
193 |
|
(SaveSessionTest.testClassifiedLayer) |
194 |
|
(SaveSessionTest.test_dbf_table) |
195 |
|
(SaveSessionTest.test_joined_table) |
196 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
197 |
|
|
198 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
199 |
|
|
200 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
201 |
|
alignment flags are byte strings not unicode and that they have |
202 |
|
valid values |
203 |
|
|
204 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
205 |
|
indirectly saving) of maps with labels. |
206 |
|
|
207 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
208 |
|
|
209 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
210 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
211 |
|
unsubscribe all subscribers. |
212 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
213 |
|
self.grid since it may already have been destroyed. |
214 |
|
Fixes RT #2256 |
215 |
|
|
216 |
|
2003-12-19 Bernhard Herzog <[email protected]> |
217 |
|
|
218 |
|
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
219 |
|
|
220 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
221 |
|
|
222 |
|
* debian/bitmappath.patch, debian/setup.py.patch: |
223 |
|
added to ensure compliance with FHS for debian |
224 |
|
* debian/rules, debian/changelog: |
225 |
|
added patches in rules to ensure compliance with FHS for debian |
226 |
|
|
227 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
228 |
|
|
229 |
|
* po/Makefile (mo): Make the output a bit nicer so that it prints |
230 |
|
statistics about the translations. Add a comment how produce even |
231 |
|
nicer statistics with sed. |
232 |
|
|
233 |
|
2003-12-09 Frank Koormann <[email protected]> |
234 |
|
|
235 |
|
* Resources/Projections/defaults.proj: |
236 |
|
French projection sample with correct accents (UNICODE). |
237 |
|
|
238 |
|
2003-12-05 Bernhard Herzog <[email protected]> |
239 |
|
|
240 |
|
* MANIFEST.in: Add the devtools directory |
241 |
|
|
242 |
|
* setup.py (setup call): Use license instead of licence. This |
243 |
|
silences a deprecation warning on Python 2.3 |
244 |
|
|
245 |
|
2003-12-05 Frank Koormann <[email protected]> |
246 |
|
|
247 |
|
Documentation synced with 1.0rc1 |
248 |
|
|
249 |
|
* Doc/manual/thuban-manual.xml: |
250 |
|
Minor formatting changes and references to database layers . |
251 |
|
Introduction.Internationalization: New section on i18n. |
252 |
|
MapManagement.AddingandRemovingLayers: Added item on database layers. |
253 |
|
MapManagement.TheLegend: Added section and screenshot on popup menu. |
254 |
|
ProjectionManagement: Updated screenshot and sentence on EPSG. |
255 |
|
Appendix.SupportedDataSources: Added PostGIS. |
256 |
|
Appendix.WorkingwithPostGIS: New section. |
257 |
|
|
258 |
|
* Doc/manual/images/6_projection.png: Updated screenshot including |
259 |
|
EPSG checkboxes. |
260 |
|
|
261 |
|
* Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot. |
262 |
|
|
263 |
|
* Doc/manual/images/app_postgis_add_layer.png, |
264 |
|
Doc/manual/images/app_postgis_db_add.png, |
265 |
|
Doc/manual/images/app_postgis_db_management.png: |
266 |
|
New screenshots focussing on database layers |
267 |
|
|
268 |
|
2003-12-05 Frank Koormann <[email protected]> |
269 |
|
|
270 |
|
* Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing |
271 |
|
write warning to stderr instead of rising a warning dialog |
272 |
|
|
273 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
274 |
|
|
275 |
|
Fix for RT #2243 |
276 |
|
|
277 |
|
* Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer): |
278 |
|
New. Like has_selected_layer but for shape layers only |
279 |
|
(_has_selected_shape_layer): New. Like _has_selected_layer but for |
280 |
|
shape layers only |
281 |
|
(layer_show_table command, layer_jointable command): Use these |
282 |
|
commands should only be available for shape layers |
283 |
|
|
284 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
285 |
|
|
286 |
|
* Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with |
287 |
|
publishers that are wx objects and may have been destroyed by wx |
288 |
|
already. Fixes RT #2242. |
289 |
|
|
290 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
291 |
|
|
292 |
|
* po/ru.po: Updates from Alex Shevlakov |
293 |
|
|
294 |
|
2003-12-03 Silke Reimer <silkeintevation.de> |
295 |
|
|
296 |
|
* debian/control, debian/changelog: Added gdal-support to |
297 |
|
debian package, updated to new thuban version |
298 |
|
|
299 |
|
|
300 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
301 |
|
|
302 |
|
* Thuban/Lib/version.py: New. Module for version number |
303 |
|
manipulations. The version of make_tuple here also deals better |
304 |
|
with more unusual version number strings, such as e.g. |
305 |
|
"1.2+cvs20031111" |
306 |
|
|
307 |
|
* Thuban/version.py (make_tuple): Removed. It's now in |
308 |
|
Thuban.Lib.version. Use that implementation instead. |
309 |
|
|
310 |
|
* test/test_lib_version.py: New. Tests for Thuban/Lib/version.py |
311 |
|
|
312 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
313 |
|
|
314 |
|
* MANIFEST.in: Add debian files |
315 |
|
|
316 |
|
* setup.py (setup call): Add packages for the Extensions so that |
317 |
|
they're installed too |
318 |
|
(data_files): Add READMEs and sample data from some Extensions |
319 |
|
|
320 |
|
* NEWS: Add note about the extensions in binary packages |
321 |
|
|
322 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
323 |
|
|
324 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save files |
325 |
|
with the thuban-1.0rc1 |
326 |
|
|
327 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Recognize the |
328 |
|
thuban-1.0rc1 namespace too |
329 |
|
|
330 |
|
* test/test_save.py (SaveSessionTest.dtd) |
331 |
|
(SaveSessionTest.testEmptySession) |
332 |
|
(SaveSessionTest.testSingleLayer) |
333 |
|
(SaveSessionTest.testLayerProjection) |
334 |
|
(SaveSessionTest.testRasterLayer) |
335 |
|
(SaveSessionTest.testClassifiedLayer) |
336 |
|
(SaveSessionTest.test_dbf_table) |
337 |
|
(SaveSessionTest.test_joined_table) |
338 |
|
(SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1 |
339 |
|
namespace |
340 |
|
|
341 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1 |
342 |
|
namespace |
343 |
|
(TestSingleLayer.file_contents) |
344 |
|
(TestNonAsciiColumnName.file_contents) |
345 |
|
(TestLayerVisibility.file_contents) |
346 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
347 |
|
(TestLayerProjection.file_contents) |
348 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
349 |
|
(TestPostGISLayer.file_contents) |
350 |
|
(TestPostGISLayerPassword.file_contents) |
351 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to |
352 |
|
thuban-1.0rc1 namespace |
353 |
|
|
354 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
355 |
|
|
356 |
|
* setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for |
357 |
|
nt to better match Intevation's current w32 setup |
358 |
|
|
359 |
|
* HOWTO-Release: Add note about updating MANIFEST.in |
360 |
|
|
361 |
|
* MANIFEST.in: Add the Extensions |
362 |
|
|
363 |
|
* NEWS: Update for 1.0rc1 |
364 |
|
|
365 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
366 |
|
|
367 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
368 |
|
cards for the dialog so that shapefiles ending in all uppercase |
369 |
|
SHP are listed too |
370 |
|
|
371 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
372 |
|
|
373 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
374 |
|
|
375 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
376 |
|
[email protected] email address as author email instead of my |
377 |
|
personal one. |
378 |
|
|
379 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
380 |
|
|
381 |
|
* po/de.po: Update german translation. |
382 |
|
|
383 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
384 |
|
|
385 |
|
Unify the filenames stored in .thuban files so that the .thuban |
386 |
|
files are more platform independend |
387 |
|
|
388 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
389 |
|
that they can be used on both windows and unix |
390 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
391 |
|
transformations for filenames stored in the thuban file |
392 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
393 |
|
Use prepare_filename |
394 |
|
|
395 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
396 |
|
(SaveSessionTest.testLayerProjection) |
397 |
|
(SaveSessionTest.testRasterLayer) |
398 |
|
(SaveSessionTest.testClassifiedLayer) |
399 |
|
(SaveSessionTest.test_dbf_table) |
400 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
401 |
|
with slashes on all currently supported platforms so adapt all |
402 |
|
tests to this |
403 |
|
|
404 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
405 |
|
filename scheme the filenames in the tests should be |
406 |
|
understandable on all currently supported platforms so we turn |
407 |
|
this into an empty list because we don't have to normalize them |
408 |
|
anymore |
409 |
|
|
410 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
411 |
|
|
412 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
413 |
|
Add the ellipsoid to the projection since some Proj versions |
414 |
|
complain if it's missing. |
415 |
|
|
416 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
417 |
|
|
418 |
|
Corect some bounding box projection problems |
419 |
|
|
420 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
421 |
|
version of ForwardBBox |
422 |
|
(Projection._transform_bbox): New. common implementation of |
423 |
|
ForwardBBox and InverseBBox |
424 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
425 |
|
|
426 |
|
* test/test_proj.py (TestProjection.test): Add test for |
427 |
|
InverseBBox |
428 |
|
|
429 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
430 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
431 |
|
new InverseBBox method to determine the unprojected bounding box |
432 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
433 |
|
bbox. |
434 |
|
|
435 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
436 |
|
Removed. |
437 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
438 |
|
better able to test whether bounding boxes are projected correctly |
439 |
|
than test_point_layer_with_projection |
440 |
|
|
441 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
442 |
|
InverseBBox to unproject bboxes |
443 |
|
|
444 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
445 |
|
|
446 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
447 |
|
source code. |
448 |
|
|
449 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
450 |
|
|
451 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
452 |
|
there for backwards compatibility and all code relying on that |
453 |
|
should have been updated by now. |
454 |
|
|
455 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
456 |
|
|
457 |
|
* test/test_load.py (TestClassification.test): Add the missing |
458 |
|
round trip test. |
459 |
|
(TestClassification.file_contents): Update to the newest file |
460 |
|
format |
461 |
|
|
462 |
2003-11-25 Bernhard Herzog <[email protected]> |
2003-11-25 Bernhard Herzog <[email protected]> |
463 |
|
|
464 |
Add very experimental (and possibly dangerous) extension to draw |
Add very experimental (and possibly dangerous) extension to draw |