[OpenLayers-Users] Clip WMS layers

Christopher Schmidt crschmidt at metacarta.com
Fri Feb 12 08:58:13 EST 2010


On Fri, Feb 12, 2010 at 11:03:47AM +0100, Polet Guillaume wrote:
> Hi,
>  
> I wondered if it was possible to have a Basic WMS layer (displaying for
> example the whole world) and on top of that have a non-basic layer
> clipped to a specific extent. The purpose of this is to display the
> results of a catalogue of images clipped to the selected area of
> interest selected by a user.

I believe this is possible, so long as the overlaid datasource
is not a tiled datasource with extents that are different than the
data extent.

> I tried to use two WMS layers with different extents but this does not
> work (but maybe I have miscoded something).

If you tried something and it didn't work, providing that code will always
help actually understand the problem.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list