if you're using postgis, you can use a unique key from your table (i.e. gid)<br>if you have a shapefile, you'll have to find an or a combination of attributes in the dbf that'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"><<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>></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">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 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 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"><<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>></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"><<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>></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 "start"
and "end" 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>