[Mapserver-users] Problems drawing JPEG Raster with Transparency

Ethan Alpert ealpert at digitalglobe.com
Mon May 3 15:21:18 EDT 2004

I'm somewhat new to mapserver but I use OFFSITE with tiff images. The
value OFFSITE takes is the color index not the RGB.

Since JPEG's don't use a color map like tiff images I'm not sure how you
can do this. You may have too convert the JPEGS to something that uses
indexed color. 


-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Richard
Sent: Monday, May 03, 2004 12:49 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Problems drawing JPEG Raster with

So I have this JPEG layer that I wish to draw on top of a couple other 
Shapefile layers, and I want it to be translucent. So in the mapfile I 
have set:
OFFSITE 255 255 255

And everything I want to be transparent is set to white (255, 255, 255).

However, when the layers are rendered and drawn, all the borders around 
the non-transparent parts of the raster are surrounded by a near-white 
(252, 252, 252) border.

You can see what I mean at:
The grey layers are shapefiles, the greenish-white layer is my JPEG

Does anyone have any idea how to solve this problem?


Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu

More information about the mapserver-users mailing list