[Mapserver-users] RE: Display/hide a RASTER layer when scale is over 1/1000
Ed McNierney
ed at topozone.com
Fri Mar 21 08:30:25 PST 2003
Well, if you always end up requesting maps of a scale less than 1:500,000, that's exactly what should happen.
Are you sure you're requesting the scale you think you are?
- Ed
-----Original Message-----
From: contact at netency.com [mailto:contact at netency.com]
Sent: Friday, March 21, 2003 11:23 AM
To: Ed McNierney
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: Display/hide a RASTER layer when scale is over 1/1000
Sure I tried before 8) ! Here is an extract of my MAP file :
LAYER
NAME "bounds"
DATA "bounds.tif"
TYPE RASTER
MINSCALE 500000
STATUS ON
END
LAYER
NAME "bounds100"
DATA "bounds100.tif"
TYPE RASTER
MAXSCALE 500000
STATUS ON
END
the 1st layer called "bounds" is always displayed, and the 2nd one never !
For information, I use MapServer 3.6.3 throw its WMS connector. Here is a
typical URL I send :
http://localhost/cgi-bin/wmsfr.exe?LAYERS=bounds,bounds100&SERVICE=WMS&REQUE
ST=GetMap&...
More information about the MapServer-users
mailing list