[Mapserver-users] masking

Daniel Morissette morissette at dmsolutions.ca
Tue Apr 15 07:25:19 PDT 2003


> "Aaron D. Hunt" wrote:
> 
> Is there anyway to make a mask in mapserver? I need to block out
> anything outside of a polygon.
> 

Masks are not directly supported, but this can be achieved using the
pasteImage() method in PHP MapScript.  Search the archives for "mask"
and for "pasteImage" and you should find a few posts with examples.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list