[mapserver-users] RE: legend not visible with maxscaledenom set
Bistrais, Bob
Bob.Bistrais at maine.gov
Fri May 25 12:11:34 PDT 2012
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:Steve.Lime at state.mn.us]
Sent: Friday, May 25, 2012 2:51 PM
To: Bistrais, Bob; mapserver-users at lists.osgeo.org
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: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Thursday, May 24, 2012 12:44 PM
To: mapserver-users at lists.osgeo.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120525/95e03cf9/attachment.htm>
More information about the MapServer-users
mailing list