[Mapserver-users] masking

Daniel Morissette morissette at dmsolutions.ca
Tue Apr 15 10:25:19 EDT 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