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