1 |
|
2005-01-26 Nina H�ffmeyer <[email protected]> |
2 |
|
|
3 |
|
* Extensions/ogr/ogrshapes.py: Added two dictionaries to ShapeStore |
4 |
|
which maps the ids and the ordinals. Fixed RowIdToOrdinal(), |
5 |
|
RowOrdinalToId() and ReadRowAsDict(). |
6 |
|
|
7 |
|
* Extensions/ogr/ogrstart.py: Added menu item which opens database |
8 |
|
layers for existing database connections. |
9 |
|
|
10 |
|
* Extensions/ogr/test/test_OGRShapestore.py: Fixed a message string. |
11 |
|
|
12 |
|
|
13 |
|
2005-01-26 Jan-Oliver Wagner <[email protected]> |
14 |
|
|
15 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
16 |
|
|
17 |
|
2005-01-24 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
Rework the status bar updates a bit to make sure the message about |
20 |
|
the projections is produced at the right times. |
21 |
|
|
22 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages): |
23 |
|
New class variable with messages that may require a status bar |
24 |
|
update. |
25 |
|
(MainWindow.view_position_changed) |
26 |
|
(MainWindow.update_status_bar): Rename from view_position_changed |
27 |
|
to update_status_bar. It's meaning has changed now that it may |
28 |
|
also generate messages about problems with projection settings. |
29 |
|
(MainWindow.__init__): Use the new update_status_bar_messages |
30 |
|
class variable to subscribe update_status_bar |
31 |
|
(MainWindow.set_position_text): Update doc-string. This method |
32 |
|
has to be renamed at some point. See doc-string and comments. |
33 |
|
(MainWindow.OnClose): Unsubscribe update_status_bar from all |
34 |
|
messages in update_status_bar_messages |
35 |
|
|
36 |
|
* Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New |
37 |
|
class attribute. map messages to be forwarded by the viewport. |
38 |
|
(ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe |
39 |
|
the messages in forwarded_map_messages |
40 |
|
|
41 |
|
2005-01-21 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |
44 |
|
doc-string |
45 |
|
(find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a |
46 |
|
different name for the initialization SQL file. |
47 |
|
|
48 |
|
2005-01-21 Jonathan Coles <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
51 |
|
a projection and returns a formatted string representing the |
52 |
|
parameters to feed to gdalwarp. This function eliminates |
53 |
|
redundancy in draw_raster_layer(). |
54 |
|
(BaseRenderer.render_map_incrementally): Removed the optimization which |
55 |
|
drew the top most raster layer first and then only those vector- |
56 |
|
based layers that are above it. With the support for transparency |
57 |
|
this optimization breaks correct behaviour. |
58 |
|
(BaseRenderer.draw_raster_layer): Reorganize code to support possible |
59 |
|
future enhancements to raster layer bounding box. The old behaviour has |
60 |
|
not changed. Also, change calling parameters to draw_raster_data() |
61 |
|
to specify new RAW data format and mask. |
62 |
|
(BaseRenderer.draw_raster_data): Change signature to include an optional |
63 |
|
parameter for mask information. Change documentation to mention |
64 |
|
support for new parameter and added option for RAW data format. |
65 |
|
The data argument is now a list of [width, height, data]. |
66 |
|
|
67 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional |
68 |
|
mask parameter. Add new condition for RAW format, which |
69 |
|
significantly reduces rendering time. Add condition for |
70 |
|
mask parameter. |
71 |
|
|
72 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
73 |
|
data array of RGB values from the projected image returned from |
74 |
|
the gdal warping functions. In the case of palette based images, it |
75 |
|
converts the NO_DATA index to the mask color. |
76 |
|
(ProjectRasterFile): Removed all custom memory driver references |
77 |
|
and replaced it with the standard in-memory dataset provided |
78 |
|
by gdal. The return data is no longer a BMP file, but an array |
79 |
|
of RGB values, one set triple per pixel. |
80 |
|
|
81 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
82 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
83 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
84 |
|
|
85 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
86 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
87 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
88 |
|
|
89 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
90 |
|
Updated signature. |
91 |
|
(TestBaseRenderer.test_raster_no_projection): Changed the test |
92 |
|
data to be data in the uncompressed RAW format returned from |
93 |
|
ProjectRasterFile. |
94 |
|
|
95 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
96 |
|
|
97 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made |
98 |
|
string available for i18n. |
99 |
|
|
100 |
|
2005-01-20 Russell Nelson <[email protected]> |
101 |
|
|
102 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
103 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
104 |
|
It's the wrong thing to do in the long run, but it's necessary for |
105 |
|
those users until that bug is fixed. Otherwise the projection |
106 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
107 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
108 |
|
|
109 |
2005-01-20 Bernhard Reiter <[email protected]> |
2005-01-20 Bernhard Reiter <[email protected]> |
110 |
|
|
111 |
* Thuban/UI/mainwindow.py(view_position_changed): Added docstring |
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added |
112 |
and comment that the warning code here is a hack. |
docstring and comment that the warning code here is a hack. |
113 |
|
|
114 |
2005-01-20 Russell Nelson <[email protected]> |
2005-01-20 Russell Nelson <[email protected]> |
115 |
|
|
116 |
* Thuban/UI/mainwindow.py(view_position_changed): Warn user about |
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn |
117 |
misprojected layers when their lat/lon bounding |
user about misprojected layers when their lat/lon bounding |
118 |
box exceeds rational lat/lon values. |
box exceeds rational lat/lon values. |
119 |
|
|
120 |
2005-01-20 Bernhard Reiter <[email protected]> |
2005-01-20 Bernhard Reiter <[email protected]> |
121 |
|
|
122 |
* Thuban/UI/about.py (unicodeToLocale()): Improved: |
* Thuban/UI/about.py (unicodeToLocale): Improved: |
123 |
Use 'ascii' and then 'replace' for other characters |
Use 'ascii' and then 'replace' for other characters |
124 |
when getdefaultlocale returns None. Thanks to Bernhard H. . |
when getdefaultlocale returns None. Thanks to Bernhard H. . |
125 |
|
|
126 |
2005-01-20 Bernhard Reiter <[email protected]> |
2005-01-20 Bernhard Reiter <[email protected]> |
127 |
|
|
128 |
* Thuban/UI/classgen.py (OnRetrieve()): Added a comment |
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment |
129 |
that OnRangeText might be called twice and using None as argument. |
that OnRangeText might be called twice and using None as argument. |
130 |
|
|
131 |
2005-01-20 Bernhard Reiter <[email protected]> |
2005-01-20 Bernhard Reiter <[email protected]> |
132 |
|
|
133 |
* Thuban/UI/classgen.py (OnRetrieve()): Add a OnRangeText(0) |
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a |
134 |
to work around a different in wx Behaviour noticed on MacOSX, |
OnRangeText(0) to work around a different in wx Behaviour noticed |
135 |
thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
136 |
|
|
137 |
2005-01-20 Bernhard Reiter <[email protected]> |
2005-01-20 Bernhard Reiter <[email protected]> |
138 |
|
|
139 |
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |