raster image works on Linux, busted on Windows

Bernhard Reiter bernhard at intevation.de
Thu Jan 4 17:02:35 CET 2007


On Thursday 04 January 2007 16:31, Charles McCreary wrote:
> I've been working with/on thuban in Linux and all is well. When I built
> on Windows, I ran into a problem with raster images. 

You probably should include the details of your build as well.
In your other email you have said that you did use SVN trunk
(which is good).

> I previously posted 
>   three messages about the problem but I used a non-list-member email so
> they are awaiting moderator approval, please disregard.

I rejected them as you have requested. Note that you can do this by yourself
with the link in the hold notice you have been send.

> The raster image shows up masked, as it turns out. The default masktype
> is MASK_BIT (layer.py - RasterLayer.__init__). If I change the masktype
> to none or alpha, the raster is displayed properly.
>
> Why does MASK_BIT work differently on linux and windows?

I cannot say. It could be a wx problem.
The next step would probably be to write a small test application 
which only uses wx and see if the problem can be triggered this way as well.
If so, we should report the problem to wx or wxpython, where ever we can 
trigger it.

Looking into gdalwarp certainly is also worth trying as Jonathan had to 
build in a few workaround for different wx issues around the mask
and you could just see a side effect of his workarounds.

Bernhard

-- 
Managing Director - Owner, www.intevation.net       (Free Software Company)
Germany Coordinator, fsfeurope.org       (Non-Profit Org for Free Software)
www.kolab-konsortium.com   (Email/Groupware Solution, Professional Service)
-------------- 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/20070104/4c89d03d/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)