1 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
4 |
|
Add the ellipsoid to the projection since some Proj versions |
5 |
|
complain if it's missing. |
6 |
|
|
7 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
Corect some bounding box projection problems |
10 |
|
|
11 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
12 |
|
version of ForwardBBox |
13 |
|
(Projection._transform_bbox): New. common implementation of |
14 |
|
ForwardBBox and InverseBBox |
15 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
16 |
|
|
17 |
|
* test/test_proj.py (TestProjection.test): Add test for |
18 |
|
InverseBBox |
19 |
|
|
20 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
21 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
22 |
|
new InverseBBox method to determine the unprojected bounding box |
23 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
24 |
|
bbox. |
25 |
|
|
26 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
27 |
|
Removed. |
28 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
29 |
|
better able to test whether bounding boxes are projected correctly |
30 |
|
than test_point_layer_with_projection |
31 |
|
|
32 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
33 |
|
InverseBBox to unproject bboxes |
34 |
|
|
35 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
38 |
|
source code. |
39 |
|
|
40 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
43 |
|
there for backwards compatibility and all code relying on that |
44 |
|
should have been updated by now. |
45 |
|
|
46 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
47 |
|
|
48 |
|
* test/test_load.py (TestClassification.test): Add the missing |
49 |
|
round trip test. |
50 |
|
(TestClassification.file_contents): Update to the newest file |
51 |
|
format |
52 |
|
|
53 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
54 |
|
|
55 |
|
Add very experimental (and possibly dangerous) extension to draw |
56 |
|
polygons: |
57 |
|
|
58 |
|
* Extensions/drawshape/README: New. Brief installation |
59 |
|
instructions |
60 |
|
|
61 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
62 |
|
drawshape extensions |
63 |
|
|
64 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
65 |
|
extension can be used. |
66 |
|
|
67 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
|
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
70 |
|
(ShapefileStore.__init__): Factor opening the shapefile into a |
71 |
|
separate method (the new _open_shapefile). This makes the code a |
72 |
|
bit more readable but the real reason is that it makes some evil |
73 |
|
hacks easier. :-) |
74 |
|
|
75 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
76 |
|
|
77 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): If no |
78 |
|
converter is specified for an attribute assume it's a string |
79 |
|
containing only Latin1 characters. Update doc-string accordingly. |
80 |
|
This change should fix many places where unicode objects might |
81 |
|
accidentally enter Thuban. |
82 |
|
|
83 |
|
* test/test_load.py (TestNonAsciiColumnName): New test to check |
84 |
|
what happens with column names in DBF files that contain non-ascii |
85 |
|
characters |
86 |
|
|
87 |
|
2003-11-21 Bernhard Herzog <[email protected]> |
88 |
|
|
89 |
|
Enable the experimental attribute editing again and introduce a |
90 |
|
command line switch to actually activate it |
91 |
|
|
92 |
|
* Thuban/UI/main.py (options): New. Container for options set on |
93 |
|
the commmand line |
94 |
|
(main): Add the --enable-attribute-editing flag. |
95 |
|
|
96 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute |
97 |
|
editing is enabled use the grid ctrl which allows editing of the |
98 |
|
values |
99 |
|
|
100 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.write_record): |
101 |
|
New. Just delegate this to the underlying table. |
102 |
|
|
103 |
2003-11-20 Bernhard Herzog <[email protected]> |
2003-11-20 Bernhard Herzog <[email protected]> |
104 |
|
|
105 |
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |