[mapserver-users] Label a point in a legend arbitrarily.

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Apr 25 17:50:13 EDT 2012


Oh, I get what you're after. Offhand I'd say no. You'd need a way to treat the '99' as a symbol and not a label, that way the legend code will render it. Legends know nothing of labels. I suppose you could try creating a truetype symbol with a regular font (e.g. arial) and then set CHARACTER '99' in the symbol definition. Then you'd use two styles, one for the GPS symbol and one for the text symbol. That might work but you can't muck with a symbol's character value via URL.
Steve
From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us]
Sent: Wednesday, April 25, 2012 1:27 PM
To: mapserver-users at lists.osgeo.org; Lime, Steve D (DNR)
Subject: RE: [mapserver-users] Label a point in a legend arbitrarily.


Steve,


In the Mapfile would be fine.  But  via URL would be a plus as well.


I want to put a number, let's say "99" in each of these GPS symbols.


http://gis.ci.stpaul.mn.us/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/AVL/STREETS/plots_last_big_public.map?mapext=541700.2052631578%20136179.92631578946%20604177.1947368421%20174720.92631578946&mapsize=924%20570&mode=legend

Oh, man, version . . .  version . . . Umm, an old one . . .


bobb


>>> "Lime, Steve D (DNR)" <Steve.Lime at state.mn.us<mailto:Steve.Lime at state.mn.us>> wrote:
You mean via URL? What version of MapServer?
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Bob Basques
Sent: Wednesday, April 25, 2012 9:42 AM
To: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Label a point in a legend arbitrarily.


All,


I recall doing this with a symbol in the past, but is there a way (yet) to arbitrarily label a point (symbol) in a legend?


bobb



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120425/7ae19c51/attachment.html


More information about the mapserver-users mailing list