<div dir="ltr">Do you mean &quot;given&quot; as in &quot;submitted via a web page&quot;?&nbsp; In that case I think I would use Python mapscript to add a LAYER similar to the one I sent below, but using the form variables submitted from the web page as the POINTS values.&nbsp; Take a look at the chapter on Python Mapscript in the O&#39;Reilley Web Mapping Illustrated book.&nbsp; It explains it more clearly than I&#39;m probably able to.<br>
<br>Perhaps someone else on the list has another idea.<br>--<br><br><br><div class="gmail_quote">On Wed, Oct 15, 2008 at 9:40 PM, ramya srinivasan <span dir="ltr">&lt;<a href="mailto:hellomps@gmail.com">hellomps@gmail.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 dir="ltr"><div>Hi,</div>
<div>&nbsp;Thanks for yor reply.Can u please tell me how to draw a line between two points given by the user?<br><br></div><div><div></div><div class="Wj3C7c">
<div class="gmail_quote">On Wed, Oct 15, 2008 at 10:23 PM, Roger André <span dir="ltr">&lt;<a href="mailto:randre@gmail.com" target="_blank">randre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div dir="ltr">You can add a new LAYER with a FEATURE that has the 2 points specified in it, like this:<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &#39;line&#39;<br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT<br>&nbsp;&nbsp;&nbsp; TYPE LINE<br>&nbsp;&nbsp;&nbsp; FEATURE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINTS&nbsp; -67.0000012 -16.9999952<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; -67.0000012 -17.4999950<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WIDTH 2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END # class<br>&nbsp; END # layer<br><br>##############<br><br>

<br>
<div class="gmail_quote">
<div>On Wed, Oct 15, 2008 at 3:42 AM, ramya srinivasan <span dir="ltr">&lt;<a href="mailto:hellomps@gmail.com" target="_blank">hellomps@gmail.com</a>&gt;</span> wrote:<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>
<div dir="ltr">Hi, 
<div>&nbsp;How to draw a line on the map between two points given by the user? What all should be included in the mapfile for this line layer.</div></div><br></div>_______________________________________________<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>

<br></blockquote></div><br></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>