1 |
|
2005-03-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_connector.py (DeletionTestMixin.check_deletions) |
4 |
|
(DeletionTestMixin.check_deletetions): renamed to check_deletions. |
5 |
|
update the callers. |
6 |
|
|
7 |
|
2005-03-14 Jan-Oliver Wagner <[email protected]> |
8 |
|
|
9 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
10 |
|
|
11 |
|
2005-03-10 Jan-Oliver Wagner <[email protected]> |
12 |
|
|
13 |
|
Introducing initialization callbacks for extensions. |
14 |
|
|
15 |
|
* Thuban/UI/extensionregistry.py (ExtensionDesc.__init__): Added |
16 |
|
optional parameter init_callback. |
17 |
|
(ExtensionDesc.init_ext): New. Executes the callback and sets |
18 |
|
a status. |
19 |
|
|
20 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Add the |
21 |
|
initialization of the extensions. |
22 |
|
(ThubanApplication.init_extensions): Init all extensions. |
23 |
|
|
24 |
|
* Thuban/UI/about.py (About.__init__): Added status of the extensions |
25 |
|
to the about text. |
26 |
|
|
27 |
|
* Extensions/gns2shp/__init__.py: Added init method for Extension |
28 |
|
description. |
29 |
|
(init): New. Contains the initialization of the module. |
30 |
|
|
31 |
|
2005-03-04 Nina H�ffmeyer <[email protected]> |
32 |
|
|
33 |
|
* Extensions/ogr/ogrdialog.py: Added a dialog, which asks for |
34 |
|
OGRConnection to open a datasource. Removed dialog to display all |
35 |
|
available drivers. Added some doc strings. |
36 |
|
|
37 |
|
* Extensions/ogr/ogrstart.py: Added menu entry for opening an |
38 |
|
OGRDatasource with a string. Added two opening methods which return an |
39 |
|
OGRDatasource (either data from file or from DB). |
40 |
|
|
41 |
|
* Extensions/ogr/ogrshapes.py: Added class OGRGeometry, which |
42 |
|
represents a geometry reference of an OGRFeature. OGRShape now has a |
43 |
|
list of referenced geometry objects (important for geometry |
44 |
|
collections). |
45 |
|
For OGRShapeStores loaded from a DB an ID column can be specified now. |
46 |
|
|
47 |
|
2005-02-22 Jan-Oliver Wagner <[email protected]> |
48 |
|
|
49 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): |
50 |
|
Added label layer for comparison. |
51 |
|
|
52 |
|
2005-02-18 Jonathan Coles <[email protected]> |
53 |
|
|
54 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): Optimize the loop |
55 |
|
which builds a mask. Handle the majority of an image in a loop, |
56 |
|
creating 8 bits at a time. Later, handle the edge case where less |
57 |
|
than 8 bits are packed. |
58 |
|
|
59 |
|
2005-02-18 Bernhard Herzog <[email protected]> |
60 |
|
|
61 |
|
* test/test_baserenderer.py (TestBaseRenderer.setUp): Fix |
62 |
|
doc-string |
63 |
|
|
64 |
|
2005-02-18 Jonathan Coles <[email protected]> |
65 |
|
|
66 |
|
* setup.py: Remove wx_cs_params from gdal compile options. |
67 |
|
|
68 |
|
2005-02-18 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
Refactored baserenderer.py and renderer.py to remove baserenderer.py's |
71 |
|
dependencies on wxPython. Added a new method projected_raster_layer() |
72 |
|
that returns a raster layer image in projected space. This must be |
73 |
|
implemented in classes derived from BaseRenderer. This also eliminates |
74 |
|
the dependency on gdal in baserenderer.py. |
75 |
|
|
76 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Call |
77 |
|
new projected_raster_layer() to get projected raster image instead |
78 |
|
of directly calling ProjectRasterFile(). |
79 |
|
(BaseRenderer.projected_raster_layer): New. This must be implemented |
80 |
|
by derived classes. It takes almost the same arguments as ProjectRasterFile |
81 |
|
did and returns a projected image with mask and alpha data (if requested). |
82 |
|
(BaseRenderer.render_map_incrementally): Remove the check for gdal since |
83 |
|
that check will be done in MapRenderer.projected_raster_layer(). This |
84 |
|
also allows other implementations to use different projection code. |
85 |
|
|
86 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
87 |
|
Implementation of BaseRenderer.projected_raster_layer. Checks for |
88 |
|
gdal support and wxPython version. Also handles exceptions from |
89 |
|
ProjectRasterFile. |
90 |
|
|
91 |
|
* libraries/thuban/gdalwarp.cpp: Removed checks for wxPython versions |
92 |
|
and added a variable which can be set through the options argument |
93 |
|
of ProjectRasterFile. |
94 |
|
|
95 |
|
* test/test_baserenderer.py (SimpleRenderer.projected_raster_layer): New. |
96 |
|
Calls ProjectRasterFile and returns the result. |
97 |
|
(TestBaseRenderer.test_projected_raster_layer): New. Tests the results |
98 |
|
of calling projected_raster_layer() with different options. |
99 |
|
(TestBaseRenderer.test_raster_no_projection): Removed tests based on |
100 |
|
wxPython version and all tests of masks and alpha channels. These are |
101 |
|
now in test_projected_raster_layer(). |
102 |
|
|
103 |
|
2005-02-17 Jan-Oliver Wagner <[email protected]> |
104 |
|
|
105 |
|
* Thuban/Model/map.py, Thuban/Model/label.py: Fixed |
106 |
|
doc-strings to comply with coding_guidelines. |
107 |
|
|
108 |
|
2005-02-17 Jan-Oliver Wagner <[email protected]> |
109 |
|
|
110 |
|
Docstring improvements and minor fixes for labellayer. |
111 |
|
|
112 |
|
* Thuban/Model/map.py: |
113 |
|
(Map, Map.Destroy, Map.RemoveLayer, Map.ClearLayers, |
114 |
|
Map.Layers, Map.HasLayers, Map.MoveLayerToTop, |
115 |
|
Map.RaiseLayer, Map.LowerLayer, Map.MoveLayerToBottom, |
116 |
|
Map.ProjectedBoundingBox, Map.GetProjection): Improved/added |
117 |
|
doc string. |
118 |
|
(Map.BoundingBox): Removed superfluous test for label_layer |
119 |
|
and improved doc string. |
120 |
|
(Map.TreeInfo): Added label_layer and improved sdo string. |
121 |
|
|
122 |
|
* Thuban/Model/label.py: Added import of _. |
123 |
|
(Label, Label.__init__): Improved/added doc string. |
124 |
|
(LabelLayer, LabelLayer.__init__, LabelLayer.Labels, |
125 |
|
LabelLayer.RemoveLabel, LabelLayer.ClearLabels): |
126 |
|
Improved/added doc string. |
127 |
|
(LabelLayer.AddLabel): Use already defined names for |
128 |
|
align strings and improved doc string. |
129 |
|
(LabelLayer.TreeInfo): New. Return the object data for |
130 |
|
the tree view. |
131 |
|
|
132 |
2005-02-16 Jonathan Coles <[email protected]> |
2005-02-16 Jonathan Coles <[email protected]> |
133 |
|
|
134 |
Further wxPython 2.5 changes using patches from Daniel Calvelo Aros |
Further wxPython 2.5 changes using patches from Daniel Calvelo Aros |