[mapserver-users] Labelling
Fawcett, David
David.Fawcett at state.mn.us
Fri Oct 31 10:17:57 PDT 2008
It isn't exactly clear to me what you are trying to accomplish Nelson.
I see two possibilities:
a. If you want to create a label that is independent from the features
in your data set, you can create a class with an inline feature, setting
the x and y coords, and using 'text' to specify what the label text
should be. You could even create this labeled feature on the fly by
passing this info in as a URL configuration. If you just want to show
the label, you could do this in an annotation layer instead of a
point/poly/line layer.
b. If you want to specify label points for your a point/poly/line
layer, you could create a point dataset of your label points and then
use that as the basis of an annotation layer
With either of these methods, you could either specify the label
position to a fixed location, like the center, or upper left position,
or you could use auto and let MapServer find the best position for it.
David.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Daniel
Degasperi
Sent: Friday, October 31, 2008 11:07 AM
To: Nelson Soto
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Labelling
Hi,
you can't give some coordinates to your label. I solved the
problem by creating a point layer.
Nelson Soto schrieb:
Is it possible to create a label and position it with
given coordinates? If I do not like the positioning of the labels, can I
in any way specify my own?
________________________________
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Daniel Degasperi
Software Developer
daniel.degasperi at r3-gis.com
---------------------------
R3 GIS Srl
Via Johann Kravogl 2
I-39010 Merano - Sinigo (BZ)
Tel. +39 0473 494949
Fax. +39 0473 069902
Web http://www.r3-gis.com
-----------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081031/bf49f083/attachment.htm>
More information about the MapServer-users
mailing list