I'm using GeoMoose, it's a release candidate for version 2.6.  I use a
Legend section in the Map file to specify the legend parameters.

 

From: Lime, Steve D (DNR) [mailto:[email protected]] 
Sent: Friday, May 25, 2012 2:51 PM
To: Bistrais, Bob; [email protected]
Subject: RE: legend not visible with maxscaledenom set

 

How are you creating the legend? One work-around would be to fake a map
associated with a call to create a legend. That is, set EXTENT and SIZE
to values that would generate a computed scale below your MaxScaleDenom.
I've done that when using mode=legend where you set mapext and mapsize
as needed. Otherwise we'd really need to implement an override parameter
(perhaps a processing directive) to ignore scale when compiling the
legend.

 

Steve

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Bistrais,
Bob
Sent: Thursday, May 24, 2012 12:44 PM
To: [email protected]
Subject: [mapserver-users] legend not visible with maxscaledenom set

 

This appears to be an old problem, but I am still having trouble with it
in MapServer 6.0.2.   If I have a layer without a Maxscaledenom set, the
layer legend displays properly.  But if I set the Maxscaledenom, the
legend does not appear in my application.  This happens when
Maxscaledenom is set at the layer level or the class level.

 

I've looked though the archives and have seen this problem since version
5, but don't see a resolution for MS 6.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to