jan: thuban ChangeLog,1.768,1.769
cvs@intevation.de
cvs at intevation.de
Fri Jan 21 15:25:27 CET 2005
Author: jan
Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv21645
Modified Files:
ChangeLog
Log Message:
Various formatting issues resolved,
e.g. superflous spaces,
but also added class names to method names
since some methods have the same name in
different classes.
Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.768
retrieving revision 1.769
diff -u -d -r1.768 -r1.769
--- ChangeLog 21 Jan 2005 14:01:25 -0000 1.768
+++ ChangeLog 21 Jan 2005 14:25:25 -0000 1.769
@@ -1,52 +1,54 @@
2005-01-21 Jonathan Coles <jonathan at intevation.de>
-
- * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
- a projection and returns a formatted string representing the
- parameters to feed to gdalwarp. This function eliminates
- redundancy in draw_raster_layer().
- (render_map_incrementally): Removed the optimization which
- drew the top most raster layer first and then only those vector-
- based layers that are above it. With the support for transparency
- this optimization breaks correct behaviour.
- (draw_raster_layer): Reorganize code to support possible future
- enhancements to raster layer bounding box. The old behaviour has not
- changed. Also, change calling parameters to draw_raster_data()
- to specify new RAW data format and mask.
- (draw_raster_data): Change signature to include an optional
- parameter for mask information. Change documentation to mention
- support for new parameter and added option for RAW data format.
- The data argument is now a list of [width, height, data].
-
- * Thuban/UI/renderer.py (draw_raster_data): Add new optional
- mask parameter. Add new condition for RAW format, which
- significantly reduces rendering time. Add condition for
- mask parameter.
-
- * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
+
+ * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
+ a projection and returns a formatted string representing the
+ parameters to feed to gdalwarp. This function eliminates
+ redundancy in draw_raster_layer().
+ (BaseRenderer.render_map_incrementally): Removed the optimization which
+ drew the top most raster layer first and then only those vector-
+ based layers that are above it. With the support for transparency
+ this optimization breaks correct behaviour.
+ (BaseRenderer.draw_raster_layer): Reorganize code to support possible
+ future enhancements to raster layer bounding box. The old behaviour has
+ not changed. Also, change calling parameters to draw_raster_data()
+ to specify new RAW data format and mask.
+ (BaseRenderer.draw_raster_data): Change signature to include an optional
+ parameter for mask information. Change documentation to mention
+ support for new parameter and added option for RAW data format.
+ The data argument is now a list of [width, height, data].
+
+ * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
+ mask parameter. Add new condition for RAW format, which
+ significantly reduces rendering time. Add condition for
+ mask parameter.
+
+ * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
data array of RGB values from the projected image returned from
the gdal warping functions. In the case of palette based images, it
- converts the NO_DATA index to the mask color.
- (ProjectRasterFile): Removed all custom memory driver references
- and replaced it with the standard in-memory dataset provided
- by gdal. The return data is no longer a BMP file, but an array
- of RGB values, one set triple per pixel.
+ converts the NO_DATA index to the mask color.
+ (ProjectRasterFile): Removed all custom memory driver references
+ and replaced it with the standard in-memory dataset provided
+ by gdal. The return data is no longer a BMP file, but an array
+ of RGB values, one set triple per pixel.
* libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
* libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
* libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
-
- * setup.py (thuban_build_ext.finalize_options): Removed mention
- of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
- files. These are obsolete with the new version of gdalwarp.cpp
-
- * test/test_baserenderer.py (draw_raster_data): Updated signature.
- (test_raster_no_projection): Changed the test data to be data
- in the uncompressed RAW format returned from ProjectRasterFile.
+
+ * setup.py (thuban_build_ext.finalize_options): Removed mention
+ of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
+ files. These are obsolete with the new version of gdalwarp.cpp
+
+ * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
+ Updated signature.
+ (TestBaseRenderer.test_raster_no_projection): Changed the test
+ data to be data in the uncompressed RAW format returned from
+ ProjectRasterFile.
2005-01-21 Jan-Oliver Wagner <jan at intevation.de>
- * Thuban/UI/mainwindow.py (view_position_changed): Made string
- available for i18n.
+ * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
+ string available for i18n.
2005-01-20 Russell Nelson <nelson at crynwr.com>
@@ -59,32 +61,32 @@
2005-01-20 Bernhard Reiter <bernhard at intevation.de>
- * Thuban/UI/mainwindow.py(view_position_changed): Added docstring
- and comment that the warning code here is a hack.
+ * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
+ docstring and comment that the warning code here is a hack.
2005-01-20 Russell Nelson <nelson at crynwr.com>
- * Thuban/UI/mainwindow.py(view_position_changed): Warn user about
- misprojected layers when their lat/lon bounding
+ * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
+ user about misprojected layers when their lat/lon bounding
box exceeds rational lat/lon values.
2005-01-20 Bernhard Reiter <bernhard at intevation.de>
- * Thuban/UI/about.py (unicodeToLocale()): Improved:
+ * Thuban/UI/about.py (unicodeToLocale): Improved:
Use 'ascii' and then 'replace' for other characters
when getdefaultlocale returns None. Thanks to Bernhard H. .
-
+
2005-01-20 Bernhard Reiter <bernhard at intevation.de>
- * Thuban/UI/classgen.py (OnRetrieve()): Added a comment
+ * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
that OnRangeText might be called twice and using None as argument.
-
+
2005-01-20 Bernhard Reiter <bernhard at intevation.de>
- * Thuban/UI/classgen.py (OnRetrieve()): Add a OnRangeText(0)
- to work around a different in wx Behaviour noticed on MacOSX,
- thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
-
+ * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
+ OnRangeText(0) to work around a different in wx Behaviour noticed
+ on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
+
2005-01-20 Bernhard Reiter <bernhard at intevation.de>
* Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)