Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-09 Thread Bill Thoen
sunny74 wrote: I am now loading the layers in groups instead of individually. First I am loading the base layer followed by 4 groups of layers, first group contains 2 while others contain 3 each. But the problem now is that at PageLoad for the first time the layers of group1 are not visible beca

Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-06 Thread sunny74
Hi Bill, Thanks for your reply. I am now loading the layers in groups instead of individually. First I am loading the base layer followed by 4 groups of layers, first group contains 2 while others contain 3 each. But the problem now is that at PageLoad for the first time the layers of group1 ar

Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-02 Thread Bill Thoen
sunny74 wrote: Hi, Thanks for ur reply. 1)What is the syntax for send request against a Group? 2)If I just write the name of the group within layer then will it be placed against the group? 3) What is the syntax for checking the zoom level of a map so that once a zoom level is reached I can cal

Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-02 Thread sunny74
>> 2) Is there a way by which the layers will load at certain >> zoom level bec' >> in case of MAXSCALEDENOM /MINSCALEDENOM the layers are >> loading at PageLoad while only visible at that zoom level. >> >> 3)If I use TileCache layer instead

Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-02 Thread Rahkonen Jukka
täjä: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta > Rahkonen Jukka > Lähetetty: 2. syyskuuta 2009 15:48 > Vastaanottaja: sunny74; mapserver-users@lists.osgeo.org > Aihe: Re: [mapserver-users] turning on layers at a particular > zoom level &

Re: [mapserver-users] turning on layers at a particular zoom level

2009-09-02 Thread Rahkonen Jukka
> Regards. > > Fawcett, David wrote: > > > > 1. You can use MINSCALEDENOM and MAXSCALEDENOM at either > the layer or > > class level (on a current version of MapServer). So, it looks like > > they are in an appropriate place. The real test is to use >

RE: [mapserver-users] turning on layers at a particular zoom level

2009-09-02 Thread sunny74
ked here: http://www.mapserver.org/mapfile/class.html#class > > 3. MapServer has nothing to do with when things load. This all happens > on your client. It sounds like you modified your client to request each > layer individually. If you just want to sandwich them all together, why &

RE: [mapserver-users] turning on layers at a particular zoom level

2009-08-31 Thread Fawcett, David
. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of sunny74 Sent: Saturday, August 29, 2009 2:01 AM To: mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] turning on layers at a particular zoom

RE: [mapserver-users] turning on layers at a particular zoom level

2009-08-29 Thread sunny74
:20, you would set: both MINSCALEDENOM 10 and MAXSCALEDENOM > 20 > > These values go in either a LAYER or CLASS of LAYER in your MapServer map > file. > > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists

RE: [mapserver-users] turning on layers at a particular zoom level

2009-08-28 Thread Fawcett, David
-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of sunny74 Sent: Friday, August 28, 2009 8:45 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] turning on layers at a particular zoom level Hi, Thanks for your reply. I went thru the lin

Re: [mapserver-users] turning on layers at a particular zoom level

2009-08-28 Thread sunny74
Hi, Thanks for your reply. I went thru the link and read about MAXSCALEDENOM/MINSCALEDENOM. So MINSCALEDENOM is the minimum scale level at which a layer will become visible. But I am a bit confused.When the map loads for the first time it has a zoom level of 7 as given in the code below. map.set

Re: [mapserver-users] turning on layers at a particular zoom level

2009-08-28 Thread Rahkonen Jukka
Hi, Mapserver is somehow documented, about adjusting visibility according to scale, try to find MAXSCALEDENOM/MINSCALEDENOM from http://www.mapserver.org/mapfile/layer.html#index-21 Mapserver does not do caching but you can use for examply TileCache or GeoWebCache between your clients and Maps