1 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* NEWS: Update for 1.0rc1 |
4 |
|
|
5 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
6 |
|
|
7 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
8 |
|
cards for the dialog so that shapefiles ending in all uppercase |
9 |
|
SHP are listed too |
10 |
|
|
11 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
12 |
|
|
13 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
14 |
|
|
15 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
16 |
|
[email protected] email address as author email instead of my |
17 |
|
personal one. |
18 |
|
|
19 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* po/de.po: Update german translation. |
22 |
|
|
23 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
Unify the filenames stored in .thuban files so that the .thuban |
26 |
|
files are more platform independend |
27 |
|
|
28 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
29 |
|
that they can be used on both windows and unix |
30 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
31 |
|
transformations for filenames stored in the thuban file |
32 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
33 |
|
Use prepare_filename |
34 |
|
|
35 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
36 |
|
(SaveSessionTest.testLayerProjection) |
37 |
|
(SaveSessionTest.testRasterLayer) |
38 |
|
(SaveSessionTest.testClassifiedLayer) |
39 |
|
(SaveSessionTest.test_dbf_table) |
40 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
41 |
|
with slashes on all currently supported platforms so adapt all |
42 |
|
tests to this |
43 |
|
|
44 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
45 |
|
filename scheme the filenames in the tests should be |
46 |
|
understandable on all currently supported platforms so we turn |
47 |
|
this into an empty list because we don't have to normalize them |
48 |
|
anymore |
49 |
|
|
50 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
53 |
|
Add the ellipsoid to the projection since some Proj versions |
54 |
|
complain if it's missing. |
55 |
|
|
56 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
57 |
|
|
58 |
|
Corect some bounding box projection problems |
59 |
|
|
60 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
61 |
|
version of ForwardBBox |
62 |
|
(Projection._transform_bbox): New. common implementation of |
63 |
|
ForwardBBox and InverseBBox |
64 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
65 |
|
|
66 |
|
* test/test_proj.py (TestProjection.test): Add test for |
67 |
|
InverseBBox |
68 |
|
|
69 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
70 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
71 |
|
new InverseBBox method to determine the unprojected bounding box |
72 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
73 |
|
bbox. |
74 |
|
|
75 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
76 |
|
Removed. |
77 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
78 |
|
better able to test whether bounding boxes are projected correctly |
79 |
|
than test_point_layer_with_projection |
80 |
|
|
81 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
82 |
|
InverseBBox to unproject bboxes |
83 |
|
|
84 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
87 |
|
source code. |
88 |
|
|
89 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
90 |
|
|
91 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
92 |
|
there for backwards compatibility and all code relying on that |
93 |
|
should have been updated by now. |
94 |
|
|
95 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
96 |
|
|
97 |
|
* test/test_load.py (TestClassification.test): Add the missing |
98 |
|
round trip test. |
99 |
|
(TestClassification.file_contents): Update to the newest file |
100 |
|
format |
101 |
|
|
102 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
Add very experimental (and possibly dangerous) extension to draw |
105 |
|
polygons: |
106 |
|
|
107 |
|
* Extensions/drawshape/README: New. Brief installation |
108 |
|
instructions |
109 |
|
|
110 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
111 |
|
drawshape extensions |
112 |
|
|
113 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
114 |
|
extension can be used. |
115 |
|
|
116 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
117 |
|
|
118 |
|
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
119 |
|
(ShapefileStore.__init__): Factor opening the shapefile into a |
120 |
|
separate method (the new _open_shapefile). This makes the code a |
121 |
|
bit more readable but the real reason is that it makes some evil |
122 |
|
hacks easier. :-) |
123 |
|
|
124 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
125 |
|
|
126 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): If no |
127 |
|
converter is specified for an attribute assume it's a string |
128 |
|
containing only Latin1 characters. Update doc-string accordingly. |
129 |
|
This change should fix many places where unicode objects might |
130 |
|
accidentally enter Thuban. |
131 |
|
|
132 |
|
* test/test_load.py (TestNonAsciiColumnName): New test to check |
133 |
|
what happens with column names in DBF files that contain non-ascii |
134 |
|
characters |
135 |
|
|
136 |
|
2003-11-21 Bernhard Herzog <[email protected]> |
137 |
|
|
138 |
|
Enable the experimental attribute editing again and introduce a |
139 |
|
command line switch to actually activate it |
140 |
|
|
141 |
|
* Thuban/UI/main.py (options): New. Container for options set on |
142 |
|
the commmand line |
143 |
|
(main): Add the --enable-attribute-editing flag. |
144 |
|
|
145 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute |
146 |
|
editing is enabled use the grid ctrl which allows editing of the |
147 |
|
values |
148 |
|
|
149 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.write_record): |
150 |
|
New. Just delegate this to the underlying table. |
151 |
|
|
152 |
|
2003-11-20 Bernhard Herzog <[email protected]> |
153 |
|
|
154 |
|
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |
155 |
|
Skip this test if run under non-posix systems since it only works |
156 |
|
there |
157 |
|
|
158 |
2003-11-19 Bernhard Herzog <[email protected]> |
2003-11-19 Bernhard Herzog <[email protected]> |
159 |
|
|
160 |
* Thuban/Model/resource.py: Rework the way gdal support is |
* Thuban/Model/resource.py: Rework the way gdal support is |