[Mapserver-users] masking

Randy James rjames57 at yahoo.com
Mon Apr 14 15:51:30 EDT 2003


Hi

If you have your querymap setup you can query the polygon
and have the query as selected.

  # 2 querymap selected
  querymap
    color 255 255 168
    size 740 740
    status on
    style selected
  end

Cheers
--- "Aaron D. Hunt" <hunt at zedxinc.com> wrote:
> 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
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



More information about the mapserver-users mailing list