1 |
|
2005-01-21 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |
4 |
|
doc-string |
5 |
|
(find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a |
6 |
|
different name for the initialization SQL file. |
7 |
|
|
8 |
|
2005-01-21 Jonathan Coles <[email protected]> |
9 |
|
|
10 |
|
* Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes |
11 |
|
a projection and returns a formatted string representing the |
12 |
|
parameters to feed to gdalwarp. This function eliminates |
13 |
|
redundancy in draw_raster_layer(). |
14 |
|
(BaseRenderer.render_map_incrementally): Removed the optimization which |
15 |
|
drew the top most raster layer first and then only those vector- |
16 |
|
based layers that are above it. With the support for transparency |
17 |
|
this optimization breaks correct behaviour. |
18 |
|
(BaseRenderer.draw_raster_layer): Reorganize code to support possible |
19 |
|
future enhancements to raster layer bounding box. The old behaviour has |
20 |
|
not changed. Also, change calling parameters to draw_raster_data() |
21 |
|
to specify new RAW data format and mask. |
22 |
|
(BaseRenderer.draw_raster_data): Change signature to include an optional |
23 |
|
parameter for mask information. Change documentation to mention |
24 |
|
support for new parameter and added option for RAW data format. |
25 |
|
The data argument is now a list of [width, height, data]. |
26 |
|
|
27 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional |
28 |
|
mask parameter. Add new condition for RAW format, which |
29 |
|
significantly reduces rendering time. Add condition for |
30 |
|
mask parameter. |
31 |
|
|
32 |
|
* libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a |
33 |
|
data array of RGB values from the projected image returned from |
34 |
|
the gdal warping functions. In the case of palette based images, it |
35 |
|
converts the NO_DATA index to the mask color. |
36 |
|
(ProjectRasterFile): Removed all custom memory driver references |
37 |
|
and replaced it with the standard in-memory dataset provided |
38 |
|
by gdal. The return data is no longer a BMP file, but an array |
39 |
|
of RGB values, one set triple per pixel. |
40 |
|
|
41 |
|
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary. |
42 |
|
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary. |
43 |
|
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary. |
44 |
|
|
45 |
|
* setup.py (thuban_build_ext.finalize_options): Removed mention |
46 |
|
of cpl_mfile.cpp and bmpdataset.cpp files in the list of source |
47 |
|
files. These are obsolete with the new version of gdalwarp.cpp |
48 |
|
|
49 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
50 |
|
Updated signature. |
51 |
|
(TestBaseRenderer.test_raster_no_projection): Changed the test |
52 |
|
data to be data in the uncompressed RAW format returned from |
53 |
|
ProjectRasterFile. |
54 |
|
|
55 |
|
2005-01-21 Jan-Oliver Wagner <[email protected]> |
56 |
|
|
57 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made |
58 |
|
string available for i18n. |
59 |
|
|
60 |
|
2005-01-20 Russell Nelson <[email protected]> |
61 |
|
|
62 |
|
* Resources/Projections/defaults.proj: Ruin the speling of the |
63 |
|
Lambert-93 projection so it doesn't run into the wx UTF-8 bug. |
64 |
|
It's the wrong thing to do in the long run, but it's necessary for |
65 |
|
those users until that bug is fixed. Otherwise the projection |
66 |
|
dialog segfaults. Better to annoy some Lambert-93 users with a |
67 |
|
spelling mistake than every Fedora Core 3 user of Thuban-CVS. |
68 |
|
|
69 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
70 |
|
|
71 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added |
72 |
|
docstring and comment that the warning code here is a hack. |
73 |
|
|
74 |
|
2005-01-20 Russell Nelson <[email protected]> |
75 |
|
|
76 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn |
77 |
|
user about misprojected layers when their lat/lon bounding |
78 |
|
box exceeds rational lat/lon values. |
79 |
|
|
80 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/about.py (unicodeToLocale): Improved: |
83 |
|
Use 'ascii' and then 'replace' for other characters |
84 |
|
when getdefaultlocale returns None. Thanks to Bernhard H. . |
85 |
|
|
86 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
87 |
|
|
88 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment |
89 |
|
that OnRangeText might be called twice and using None as argument. |
90 |
|
|
91 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
92 |
|
|
93 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a |
94 |
|
OnRangeText(0) to work around a different in wx Behaviour noticed |
95 |
|
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix. |
96 |
|
|
97 |
|
2005-01-20 Bernhard Reiter <[email protected]> |
98 |
|
|
99 |
|
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns |
100 |
|
None. (Fixes rt#2910.) |
101 |
|
|
102 |
2005-01-18 Frank Koormann <[email protected]> |
2005-01-18 Frank Koormann <[email protected]> |
103 |
|
|
104 |
New Extension: mouseposition |
New Extension: mouseposition |