<br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 15:12, Oliver Christen <span dir="ltr">&lt;<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font size="2">
<div><font size="2">At first I thought I had some oddity with the data I used 
for my testing</font></div>
<div><font size="2">( see <a href="http://dev.camptocamp.com/%7Eochriste/line_with_style.png" target="_blank">http://dev.camptocamp.com/~ochriste/line_with_style.png</a> with 
the star symbol on every vertex of one line feature)</font></div>
<div><font size="2"></font> </div>
<div><font size="2">but after trying with some other set of data, I only have the 
star symbol on start and end of the whole line feature ( and, 
strangely, also on cross-section if the line separate in two at some point 
) </font></div></font></div></div></blockquote><div>where the stars are put depends on the structure of your geometry, as stored in your database or shapefiles<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><div><font size="2">
<div><font size="2"><a href="http://dev.camptocamp.com/%7Eochriste/line_feature_extremities.png" target="_blank">http://dev.camptocamp.com/~ochriste/line_feature_extremities.png</a></font></div>
<div><font size="2">so I thought the problem was solved, but upon zooming on 
the extrmities of the line feature, im again having strange 
behavior:</font></div>
<div><font size="2"><a href="http://dev.camptocamp.com/%7Eochriste/line_feature_extremity_zoomed.png" target="_blank">http://dev.camptocamp.com/~ochriste/line_feature_extremity_zoomed.png</a></font></div>
<div><font size="2">with multiple star symbols.</font></div>
<div><font size="2">the red star in these two image are from the 
same line feature.</font></div></font></div></div></blockquote><div>are you sure your class expression matches only one geometry ?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><div><font size="2">
<div><font size="2"></font> </div>
<div><font size="2">why is there more than 2 stars ?</font></div>
<div><font size="2">does the geomtransform &#39;end&#39; only work for line features 
consisting of only 2 points ?</font></div></font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div class="im">
  <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% 0%; 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; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">
<b>From:</b> 
  <a title="thomas.bonfort@gmail.com" href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas bonfort</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="oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com" target="_blank">Oliver Christen</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>Cc:</b> <a title="mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a> 
  </div>
  </div><div><div></div><div class="h5"><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> Tuesday, January 19, 2010 2:10 
  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 at 
  start and end of polyline ?</div>
  <div><br></div>if you&#39;re using postgis, you can use a unique key from your 
  table (i.e. gid)<br>if you have a shapefile, you&#39;ll have to find an or a 
  combination of attributes in the dbf that&#39;s unique to identify that particular 
  feature.<br><br>--<br>thomas<br><br>
  <div class="gmail_quote">On Tue, Jan 19, 2010 at 11:59, Oliver Christen <span dir="ltr">&lt;<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>&gt;</span> 
  wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
    <div bgcolor="#ffffff">
    <div><font size="2">it makes sens, but how do I do that ?</font></div>
    <div><font size="2">do line segment get automaticaly an id ?</font></div>
    <div><font size="2">or how to get (or set) the id of the line 
    segment?</font></div>
    <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
      <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;">----- 
      Original Message ----- </div>
      <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
      <a title="thomas.bonfort@gmail.com" href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas bonfort</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="oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com" target="_blank">Oliver 
      Christen</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>Cc:</b> 
      <a title="mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a> </div></div>
      <div>
      <div></div>
      <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> 
      Tuesday, January 19, 2010 10:50 AM</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 at start and end of polyline ?</div>
      <div><br></div>well, if you want only one line segment to have start 
      markers, you must  tell mapserver which segment that is.<br><br>
      <div class="gmail_quote">On Tue, Jan 19, 2010 at 10:48, Oliver Christen 
      <span dir="ltr">&lt;<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>&gt;</span> wrote:<br>
      <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
        <div bgcolor="#ffffff">
        <div><font size="2">thx Thomas, but im not sure I understand what you 
        are telling me here.</font></div>
        <div><font size="2">do line segments have id ?</font></div>
        <div>
        <div></div>
        <div>
        <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; 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% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
          <a title="thomas.bonfort@gmail.com" href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas 
          bonfort</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="oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com" target="_blank">Oliver 
          Christen</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>Cc:</b> 
          <a title="mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</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> 
          Tuesday, January 19, 2010 10:30 AM</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 at start and end of polyline ?</div>
          <div><br></div>hi,<br><br>class<br>  expression 
          ([id]=321)<br>  style<br>    geomtransform 
          end<br>    ...<br>  end<br>end<br>class<br>  
          style<br>    ... #all the others<br>  
          end<br>end<br><br>
          <div class="gmail_quote">On Tue, Jan 19, 2010 at 10:14, Oliver Christen 
          <span dir="ltr">&lt;<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>&gt;</span> wrote:<br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">hello<br><br>I would like to add a symbol at the 
            start and end of a polyline.<br><br>I tried using GEOMTRANSFORM with 
            &quot;start&quot; and &quot;end&quot; in a style block in the layer but sadely this will 
            add a symbol to all start and end of every vertex of the polyline, 
            which is not the result wanted :/<br><br>is there any way to do 
            that, beside creating a new point layer ?<br><br>thanks in 
            advance<br>Oliver 
            <br>_______________________________________________<br>mapserver-users 
            mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></blockquote></div></div></div></blockquote></div><br></div></div></blockquote></div></blockquote></div><br></div></div></blockquote></div>
</blockquote></div><br>