<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854">
<STYLE></STYLE>
</HEAD>
<BODY 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/~ochriste/line_with_style.png">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>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/~ochriste/line_feature_extremities.png">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/~ochriste/line_feature_extremity_zoomed.png">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>
<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 'end' only work for line features
consisting of only 2 points ?</FONT></DIV></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=thomas.bonfort@gmail.com
href="mailto:thomas.bonfort@gmail.com">thomas bonfort</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 19, 2010 2:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mapserver-users] symbol at
start and end of polyline ?</DIV>
<DIV><BR></DIV>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
style="BORDER-LEFT: rgb(204,204,204) 1px solid; 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: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV class=im>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228); 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: 10pt arial; 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: 10pt arial; 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: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, January 19, 2010 10:50 AM</DIV>
<DIV
style="FONT: 10pt arial; 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: rgb(204,204,204) 1px solid; 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: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228); 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: 10pt arial; 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: 10pt arial; 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: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, January 19, 2010 10:30 AM</DIV>
<DIV
style="FONT: 10pt arial; 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: rgb(204,204,204) 1px solid; 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></BLOCKQUOTE></BODY></HTML>