I have done this with static mask images.  It wouldn't be hard to pass the ID 
of the feature that you want to be the 'hole' in the URL and then use that url 
variable in an expression for that layer/class .

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Friday, February 18, 2011 6:02 AM
To: Gabe Codina; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Clip Raster with a Polygon

Hi,

I have been thinking sometimes that there could be a huge polygon that is 
always drawn on top of the raster layer.  'Area of interest' polygons should be 
converted into holes in the mask polygon.  I have never tried it in practice, 
though.

-Jukka Rahkonen-

________________________________
Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Gabe Codina
Lähetetty: 18. helmikuuta 2011 7:05
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Clip Raster with a Polygon
Hi

I would like to serve a raster layer that is spatially filtered - ie the raster 
should show through where it overlaps with 1 or more polygons.

Is mapserver capable of doing this ?

Gabe Codina

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to