[Geomoose-users] Legend issue

Dan Little danlittle at yahoo.com
Wed Jul 29 14:38:06 EDT 2009


I marked this in trac as ticket #4.


----- Original Message ----
> From: CoFIS Web <coffee at uni-bonn.de>
> To: GeoMoose Mailing list <geomoose-users at lists.sourceforge.net>
> Sent: Wednesday, July 29, 2009 7:09:22 AM
> Subject: Re: [Geomoose-users] Legend issue
> 
> Dear all,
> thanks to suggestion on the mapserver list, I replaced the dashes in my layer 
> names (in the mapfile & mapbook) with underscores and now the problem is gone - 
> almost:
> 
> I can switch on and off the individual layers and they only appear at their 
> respective positions in the legend. However, if I switch one of the layers of 
> may mapfile on (from the legend) I can show the signature of the other layer in 
> the legend by using the drop-down button without this particular layer being 
> switched on (screenshot).
> 
> Can this be changed somehow? If you need to see my mapfile, I'd be happy to send 
> it.
> 
> Thanks,
> Nils
> 
> 
> 
> 
> CoFIS Web schrieb:
> > Dear Len,
> > yes, the layers are in the same mapfile. I tried setting the STATUS to ON and 
> OFF at layer level. But still it results in the same issue - signatures of both 
> layers appear in the legend.
> > 
> > Any hints? I'll search the Mapserver mailing list as well.
> > 
> > Thanks,
> > Nils
> > 
> > Len Kne schrieb:
> >> Are both layers in the same mapfile?  If yes, check the layer STATUS in your 
> mapfile.  If STATUS is set to DEFAULT, that layer is included whenever a request 
> for a legend is made.  Try setting STATUS to ON.
> >> 
> >> Len
> >>  ______________________________
> >> Len Kne
> >> lenkne at yahoo.com
> >> 
> >> 
> >> ------------------------------------------------------------------------
> >> *From:* CoFIS Web 
> >> *To:* GeoMoose Mailing list 
> >> *Sent:* Thursday, June 25, 2009 2:48:55 AM
> >> *Subject:* [Geomoose-users] Legend issue
> >> 
> >> Dear all,
> >> in GM2 I have a mapfile with two layers.
> >> 
> >> When turning the first of these layers on from the legend, the respective 
> signature will appear in the legend at its respective location (as expected) AND 
> the location of the second layer. When turning the second layer on, its 
> signature will appear on its respective location in the legend (as expected) AND 
> be added to the legend signature of the first layer (not wanted).
> >> 
> >> How can I change this? I added two screenshots for clarification. Mapbook 
> snippets are below.
> >> 
> >> Thanks,
> >> Nils
> >> 
> >> ****
> >> 
> >> 
> >>  ./conservation.map
> >>  
> >>  
> >> 
> >> 
> >> 
> >>  
> legend="true" status="off"/>
> >>  
> src="conservation/biores_ecff-yayu01" legend="true" status="on"/>
> >> 
> >> 
> >> -- Center for Development Research
> >> Department of Ecology and Resource Management
> >> 
> >> Walter-Flex-Strasse 3
> >> 53113 Bonn (Germany)
> >> 
> >> Tel.:  +49 (0) 228 - 73-1793
> >> FAX:    +49 (0) 228 - 73-1889
> >> 
> >> E-Mail: coffee at uni-bonn.de 
> >> 
> >> Web:    http://www.cofis.info/atlas
> >>         http://www.coffee.uni-bonn.de
> >> 
> > 
> 
> -- Center for Development Research
> Department of Ecology and Resource Management
> 
> Walter-Flex-Strasse 3
> 53113 Bonn (Germany)
> 
> Tel.:   +49 (0) 228 - 73-1793
> FAX:    +49 (0) 228 - 73-1889
> 
> E-Mail: coffee at uni-bonn.de
> 
> Web:    http://www.cofis.info/atlas
>         http://www.coffee.uni-bonn.de



      




More information about the Geomoose-users mailing list