Legend problem

Dave Stone D.Stone at ED.AC.UK
Mon May 1 10:57:45 EDT 2006


The old brain cells are a bit sluggish today, I'm afraid. Just noticed 
the layer has 2 classes, one named, the other not. I was invariably 
displaying the unnamed class ( MAXSCALE=...); when I tried the named 
class ( MINSCALE=...) and it showed in the legend, the penny finally 
dropped.

Thanks for your help!

Dave

Fawcett, David wrote:
> Dave, 
> 
> Does the class in your 'dot' layer have a name?  
> 
> If you don't specify a name for the class, it won't show up in the
> legend.  
> 
> David.
> 
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> Behalf Of DjwStone
> Sent: Monday, May 01, 2006 4:54 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] Legend problem
> 
> 
> I've noticed the legend on my inline map is behaving oddly.
> 
> If I call up MapServer with 2 layers (boundaries + annotation) I get the
> legend for their classes, as expected.
> 
> If I select a third layer which puts dots on the map generated from a
> PostGIS table (as well as the original 2), the dot layer legend doesn't
> appear.
> 
> Any ideas what might be going on?
> 
> The boundary (polygon) layer has STATUS ON in the map file, the
> annotation and 'dot' layers have STATUS OFF.
> 
> Dave
> --
> View this message in context:
> http://www.nabble.com/Legend-problem-t1535639.html#a4172218
> Sent from the Mapserver - User forum at Nabble.com.
> 



More information about the mapserver-users mailing list