[Geomoose-users] Need label opacity independent of vector layer

Bob Basques Bob.Basques at ci.stpaul.mn.us
Tue Jul 13 14:48:33 EDT 2010


Just remove or comment out, the NAME value from the mapfile for those layers you do not want to see in the legend. 

bobb 



>>> "Jim Dahl" <jim.dahl at mail.co.douglas.mn.us> wrote:

>From the responses, I see that it cannot be done without hacking or GM2.
Brent, your suggestion with the two opacities still will show two layers
in the TOC.

-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Tuesday, July 13, 2010 1:13 PM
To: Jim Dahl
Cc: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Need label opacity independent of vector
layer


Jim,

   You could use mapserver's OPACITY setting in the map file.  Have two
layers
in the map file (with the same name, or set STATUS DEFAULT so they're
both
always on), one for the geometry (OPACITY 20) and one for the labels
(OPACITY
100).  Of course GM's fade/unfade controls would have no knowledge of
this, so
that may be confusing to the end users...

Brent

Dan Little wrote:
> This is/was a limitation in GeoMOOSE 1.X that we addressed in 2.X.
>  There is nothing in the standard code base that supports what you'd
> like to do.  Brian/Len/Brent may have a hack they did to make it work.
>
>
>     *From:* Jim Dahl <jim.dahl at mail.co.douglas.mn.us>
>     *To:* geomoose-users at lists.sourceforge.net
>     *Sent:* Tue, July 13, 2010 10:47:56 AM
>     *Subject:* [Geomoose-users] Need label opacity independent of
vector
>     layer
>
>     I have a polygon layer in GM 1.x that has opacity of 20 but I want
>     opacity of labels 100.  I can create this effect with separating
>     into two layers but I do not want to see the anno layer in the
>     layers tab.  Can anyone guide me as to the solution.  If anno is
>     separate layer, can the mapbook code be  - visibility="false" ?
>     
>
>     Jim Dahl, GISP
>     GIS Coordinator
>     Douglas County Public Works
>     526 Willow Dr
>     PO Box 398
>     Alexandria MN 56308
>
>     V 320-762-2933
>        320-762-2999
>     F 320-762-2998
>
>     
>
>
>
> ----------------------------------------------------------------------
> --
>
> ----------------------------------------------------------------------
> --------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Geomoose-users mailing list Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100713/36294c6a/attachment.html


More information about the Geomoose-users mailing list