<div dir="ltr">You can add a new LAYER with a FEATURE that has the 2 points specified in it, like this:<br><br> LAYER<br> NAME 'line'<br> STATUS DEFAULT<br> TYPE LINE<br> FEATURE<br> POINTS -67.0000012 -16.9999952<br>
-67.0000012 -17.4999950<br><br> END<br> END<br> CLASS<br> STYLE<br> COLOR 255 0 0<br> WIDTH 2<br> END<br> END # class<br> END # layer<br><br>##############<br><br>
<br><div class="gmail_quote">On Wed, Oct 15, 2008 at 3:42 AM, ramya srinivasan <span dir="ltr"><<a href="mailto:hellomps@gmail.com">hellomps@gmail.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 dir="ltr">Hi,<div> 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>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">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>