Fw: [Mapserver-users] symbol question

Mathieu Parent mathieuparent at infonie.fr
Mon Jul 12 11:32:19 PDT 2004


This is a multi-part message in MIME format.
--------------090006090605090308080000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

I'm sorry, i have no CHAR parameter.
I was just trying to use LABEL object, which have a dynamic angle.

If you have a column in your dbf with 'é' in it for each row, you can use
LAYER
     ...
    LABELITEM the_column
     LABELANGLEITEM arrow_angle
     LABEL
          TYPE TRUETYPE
          ...
          FONT windings
     END
END

that's the idea but
it's not really nice !!!



fx gamoy a écrit :

>  
> hello
> Thanks for your post
> but i can't find any parameter CHAR in the label object...
> and mapserver don't want it.
> Do you have special configuration? ( i am running a maperver 3.6.3 
> release on win2000)
> thanks
> fx
>
>     ----- Original Message -----
>     *From:* Mathieu Parent <mailto:mathieuparent at infonie.fr>
>     *To:* mapserver-users at lists.gis.umn.edu
>     <mailto:mapserver-users at lists.gis.umn.edu>
>     *Sent:* Saturday, July 10, 2004 1:28 PM
>     *Subject:* Re: [Mapserver-users] symbol question
>
>     fx gamoy a écrit :
>
>>     Hello world,
>>     i'd like to obtain lines with oriented triangle in order to show
>>     the direction of a track.
>>     I have made several test but nothing very interesting..
>>     thanks in advance..
>>     fx
>
>     Try to use a label and the "labelangleitem" attribute of the layer
>     object.
>     Use a font with an arrow as char (Windings for example).
>
>     LAYER
>          ...
>          LABELANGLEITEM arrow_angle
>          LABEL
>               TYPE TRUETYPE
>               ...
>               FONT windings
>               CHAR é
>          END
>     END
>


--------------090006090605090308080000
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm sorry, i have no CHAR parameter.<br>
I was just trying to use LABEL object, which have a dynamic angle.<br>
<br>
If you have a column in your dbf with 'é' in it for each row, you can
use<br>
LAYER<br>
     ...<br>
    LABELITEM the_column<br>
     LABELANGLEITEM arrow_angle<br>
     LABEL<br>
          TYPE TRUETYPE<br>
          ...<br>
          FONT windings<br>
     END<br>
END<br>
<br>
that's the idea but<br>
it's not really nice !!!<br>
<br>
<br>
<br>
fx gamoy a écrit :<br>
<blockquote cite="mid00d301c46834$6365f1b0$0102a8c0 at geomatika"
 type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <meta content="MSHTML 6.00.2600.0" name="GENERATOR">
  <div> </div>
  <div><font face="Arial" size="2">hello</font></div>
  <div><font face="Arial" size="2">Thanks for your post</font></div>
  <div><font face="Arial" size="2">but i can't find any parameter CHAR
in the label object...</font></div>
  <div><font face="Arial" size="2">and mapserver don't want it.</font></div>
  <div><font face="Arial" size="2">Do you have special configuration? (
i am running a maperver 3.6.3 release on win2000)</font></div>
  <div><font face="Arial" size="2">thanks</font></div>
  <div><font face="Arial" size="2">fx</font></div>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
    <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
    <a title="mathieuparent at infonie.fr"
 href="mailto:mathieuparent at infonie.fr">Mathieu Parent</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
    <a title="mapserver-users at lists.gis.umn.edu"
 href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</a>
    </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Saturday, July 10, 2004 1:28 PM</div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [Mapserver-users] symbol question</div>
    <div><br>
    </div>
fx gamoy a écrit :<br>
    <blockquote cite="mid017601c465cf$587fc260$0102a8c0 at geomatika"
 type="cite">
      <meta content="MSHTML 6.00.2600.0" name="GENERATOR">
      <style></style>
      <div><font face="Arial" size="2">Hello world,</font></div>
      <div><font face="Arial" size="2">i'd like to obtain lines with
oriented triangle in order to show the direction of a track.</font></div>
      <div><font face="Arial" size="2">I have made several test but
nothing very interesting..</font></div>
      <div><font face="Arial" size="2">thanks in advance..</font></div>
      <div><font face="Arial" size="2">fx</font></div>
    </blockquote>
Try to use a label and the "labelangleitem" attribute of the layer
object.<br>
Use a font with an arrow as char (Windings for example).<br>
    <br>
LAYER<br>
     ...<br>
     LABELANGLEITEM arrow_angle<br>
     LABEL<br>
          TYPE TRUETYPE<br>
          ...<br>
          FONT windings<br>
          CHAR é<br>
     END<br>
END<br>
  </blockquote>
</blockquote>
<br>
</body>
</html>

--------------090006090605090308080000--



More information about the MapServer-users mailing list