multiple rasters && mapview

Silke Reimer Silke.Reimer at intevation.de
Tue Jan 18 11:34:50 CET 2005


Hi Jonathan,

On Mon, Jan 17, 2005 at 06:33:58PM -0500, Jonathan Coles wrote:
> Am Freitag, den 14.01.2005, 15:22 -0500 schrieb Russell Nelson:
> > Jonathan Coles writes:
> >  > are you going to be looking into changing ProjectRasterFile to return a
> >  > wxImage?
> > 
> > I need more experience with wxWindows, so I'm going to work on the
> > Terra Raster Layer first.  It would be great if you could do it.
> 
> well, i spent the majority of saturday working on this, and i think i've
> got a nice solution. 
> 
> quick overview
> ==============
> 
> 	o Faster rendering:
> 	    - Changed the output format of ProjectRasterFile to an
> 	      array of RGB values, which eliminates the need for
> 	      wxImageFromStream. If the format is something else
> 	      then continue to use wxImageFromStream. 
>             - Instead of using the custom gdal driver, use the in-memory
> 	      driver already provided and do a quick data translation.
> 
> 	o NO_DATA support from gdal. parts of a projected image that
> 	  aren't "real" are colored in a fixed color which can
> 	  optionally be masked off when the image is draw.
> 
> 	o Smaller code size. the changes actually greatly simplified
> 	  the code, allowing me to remove several support files.
> 
> 	o Small memory leak in ProjectRasterFile found and fixed.

I didn't yet apply your patch to Thuban but it sounds very
promising. Thank you for spending the whole Saturday on this issue
:-)

> i did have to copy over the file memdataset.h from the gdal source since
> it is not available in the debian development package. i'm attaching the
> file, which needs to be put in libraries/thuban.

If it becomes necessary I could put memdataset.h into the
libgdal1-dev package since I am maintainer for gdal in debian. So if
your patch will be included into Thuban you can count on it.

Many greetings,

	Silke

-- 
Intevation GmbH

Georgstrasse 4                    49074 Osnabrück, Germany
http://intevation.de              http://intevation.de/~silke
FreeGIS.org                       http://freegis.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050118/95bf1a8c/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)