Image transparency via SWIG API

Frank Warmerdam fwarmerdam at GMAIL.COM
Mon May 16 09:43:58 PDT 2005


On 5/16/05, Rick Innis <rick at innis.ca> wrote:
> I'm writing an application which loads a point layer from a Postgis
> table and displays little flag icons at the relevant points.
> 
> I haven't been able to work out how to get MapServer to respect the
> transparency of the images. The flags appear surrounded by a white
> square.
> 
> If I load the same layer via a mapfile, everything works fine - the
> images are displayed without the white square.
> 
> Would appreciate any insight anyone has on what might be going on.
> 
> FWIW, I'm working with MapServer 4.4.1, Postgres 8.0.1, PostGIS RC6,
> and the Java API bindings.

Rick,

I *think* Sean made some improvements with regard to 
transparency and raster symbols in 4.4.2.  You might want to 
upgrade and try again.  If the flags are actually raster layers then
that would bounce the issue into my court. 

Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list