<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff size=2>It
isn't exactly clear to me what you are trying to accomplish Nelson. I see
two possibilities:</FONT></SPAN></DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2>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. </FONT></SPAN></DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2>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 </FONT></SPAN></DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=849051017-31102008><FONT face=Arial color=#0000ff
size=2>David. </FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Daniel
Degasperi<BR><B>Sent:</B> Friday, October 31, 2008 11:07 AM<BR><B>To:</B>
Nelson Soto<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B>
Re: [mapserver-users] Labelling<BR><BR></FONT></DIV>Hi,<BR><BR>you can't give
some coordinates to your label. I solved the problem by creating a point
layer.<BR><BR><BR><BR>Nelson Soto schrieb:
<BLOCKQUOTE
cite=mid:7BA6F57E003ADF4EA12DAA3043BB13D43B13D8@geoexchange.DesLauriers.local
type="cite">
<META content="Microsoft Word 11 (filtered medium)" name=Generator>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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?<O:P></O:P></SPAN></FONT></P></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mapserver-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">--
Daniel Degasperi
Software Developer
<A class=moz-txt-link-abbreviated href="mailto:daniel.degasperi@r3-gis.com">daniel.degasperi@r3-gis.com</A>
---------------------------
R3 GIS Srl
Via Johann Kravogl 2
I-39010 Merano - Sinigo (BZ)
Tel. +39 0473 494949
Fax. +39 0473 069902
Web <A class=moz-txt-link-freetext href="http://www.r3-gis.com">http://www.r3-gis.com</A>
-----------------------------
</PRE></BLOCKQUOTE></BODY></HTML>