[Mapserver-users] masking

Aaron D. Hunt hunt at zedxinc.com
Mon Apr 14 15:26:46 EDT 2003


I have a national raster weather map. I want to make state maps( using a
state shape file) with the rest of the us blocked out. Is there a way to
tell mapserver to show data only on the one polygon and nothing else?

----- Original Message -----
From: "Norman Vine" <nhv at cape.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Monday, April 14, 2003 2:37 PM
Subject: RE: [Mapserver-users] masking


> Aaron D. Hunt  writes:
>
> > Is there anyway to make a mask in mapserver?
> > I need to block out anything outside of a polygon.
>
> Not really sure what you are asking but you can draw
> a *large" polygon in the desired background color as
> the topmost layer with a 'tranparent' polygon cutout for
> the area you want the map rendered in
>
> Or you can use mapscript to modify the image
>
> HTH
>
> Norman
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list