[Mapserver-dev] STATUS for LABELS

Franck Martin franck at sopac.org
Fri Sep 17 21:56:35 EDT 2004


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3E0F1FB4FE713443D37B1199
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Stephen,

Yes it should be inside the LABEL ... END block. You could use STATUS 
ON/OFF/DEFAULT the same way as a layer but for labels... Note that the 
capability exists inside mapscript but not inside a standard mapfile.

If you look on http://tikwiki.org/tiki-map.phtml you see that I emulate 
that with mapscript. Unfortunately I cannot call a default mapfile with 
some labels in layers turned on while some labels in other layers are 
turned off. I could use a METADATA keyword for that but it would be 
better implemented inside the LABEL block.

My guess is that this functionality is not too much to add (as mapscript 
has got it).

Cheers

Stephen Woodbridge wrote:

> Franck,
>
> This is an interesting idea. Can you provide more information on how 
> you want this feature to work. For example, is this a global switch 
> that just disables all labels. This would be somewhat problematic 
> since that would turn off things like copyright labels and such.
>
> Do you envision this as an attribute that is specified in the LABEL 
> ... END block. How do you plan to use this feature?
>
> -Steve W.
>
> Franck Martin wrote:
>
>> A LAYER has STATUS ON/OFF but a LABEL does not have the same capability.
>>
>> I make therefore a Request for Feature Enhancement (RFE)
>>
>> Cheers
>>

-- 
Franck Martin
ICT Specialist
franck at sopac.org
SOPAC, Fiji
GPG Key fingerprint = 44A4 8AE4 392A 3B92 FDF9  D9C6 BE79 9E60 81D9 1320
"Toute connaissance est une reponse a une question" G.Bachelard


--------------enig3E0F1FB4FE713443D37B1199
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBS5XYvnmeYIHZEyARAgkCAJ46F7FulexJjoA591e1Knhtk5EnsACeP8hL
eWewAj4zKi48fHu4WjnjkV4=
=UDz/
-----END PGP SIGNATURE-----

--------------enig3E0F1FB4FE713443D37B1199--



More information about the mapserver-dev mailing list