Re: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Rahkonen Jukka
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


RE: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Fawcett, David (MPCA)
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


Re: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Bob Basques

I've done some interesting things by setting a background color, and
then removing features (NOT these) by coloring them WHITE, which is then
converted to transparent, which then works like a mask. 

bobb 



 Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote:


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