Tileindex-raster opacity

Mark Wright sparkymeister at GMAIL.COM
Wed Dec 14 17:28:05 PST 2005


I had this issue using USGS maps downloaded from Casil (gis.ca.gov)

I fixed it by putting this into the drg layer:

CLASS
EXPRESSION ([pixel] != 1)
COLOR 0 0 0
END

This worked for 1:100,000 and 1:250,000 scale maps. Had to switch the
expression to != 0 for 1:24,000 scale maps.


Mark

On 12/14/05, Frank Warmerdam <warmerdam at pobox.com> wrote:
> On 12/14/05, Pēteris Brūns <peteris.bruns at gmail.com> wrote:
> > Hi Everyone,
> >
> >  I have small proble with my tileindex raster files. Everything works fine
> > but i have raster files with white borders. Raster pictures marching wery
> > good but this white borders overlay alongside raster. How to remove or
> > create transparent this borders?!
>
> Pēteris,


--
Have fun or die trying - but try not to actually die.
http://www.AboveCalifornia.com
Got Mac OS X? Get the AboveCalifornia Sherlock Channel:
sherlock://www.AboveCalifornia.com/sherlock/SherlockChannel.xml?action=add


More information about the MapServer-users mailing list