<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi! all,<br>just a random exercise!<br><br>if I have a set of lines then can they be connected through their endpoints to the nearest end-point of nearest line, thus creating a single line.<br><br>or<br><br>Can we have a line generated through the centroids of the polygons in a single command.<br><br>thanks!<br>Ambrish<br>                                    </div></body>
</html>