limiting layer visibility by extent

Benjamin Wragg bwragg at TPG.COM.AU
Tue Nov 7 17:02:22 EST 2006


Thanks for the response, not quite what I mean't though. I need the layer to
turn only when your view extent is completely within the extent of the
layer. Its what a client whats for some raster tiles. E.g if your completely
within a tile turn it on but if your half over the extent of one tile and
half over the extent of another, turn them both off.

I know it sounds a little silly to do this (why not just display both
tiles!) but this what the client watns and I'm just trying to figure out if
its possible. :)

Cheers,

Benjamin

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Steve Lime
Sent: Wednesday, 8 November 2006 2:29 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] limiting layer visibility by extent

If I understand you correctly MapServer does this automatically if you set
STATUS DEFAULT. The layer is always on and is shown if it's extent overlaps
the view extent.

Steve

>>> Benjamin Wragg <bwragg at TPG.COM.AU> 11/07/06 6:15 AM >>>
Hi All,
 
I was wondering if anyone knows if it's possible to limit a layers
visibility by the current extent? E.g if the current extent is within the
layers extent, turn the layer on

I looked around and all I could find was this feature request
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=786 . It seems like Howard
Butler may have got something going but I can't see mention of it in the
mapfile reference on the site?

Cheers,

Benjamin

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.29/520 - Release Date:
6/11/2006
 


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.29/520 - Release Date: 6/11/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.29/520 - Release Date: 6/11/2006
 



More information about the mapserver-users mailing list