<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
  <meta content="text/html; charset=windows-1255"
 http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
 bidimailui-detected-decoding-type="preferred-charset" bgcolor="#ffffff"
 text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">On 28/09/2010 07:29,
bharath s wrote:<br>
</p>
<blockquote
 cite="mid:AANLkTim5=FTobpGkF1p_dpqsfJ7VjT-2gSifyuS13f36@mail.gmail.com"
 type="cite"><br>
  <br>
hai,<br>
           i have one map info (dxf ,mif) file ,which is a region , if
i read from grass using v.in.ogr,   v.in.dxf  the boundary is coming as
poly line not polygon (region )...please help me ,how can i convert the
map as region using grass.......even i tried the shape file also ...<br>
</blockquote>
First check If the polylines are imported as closed boundaries with:<br>
v.info -t <br>
(Note the line "boundaries=...")<br>
If you don't have closed boundaries, you'll have to do some cleaning to
snap the nodes of the polylines together with v.clean ... tool=snap,
etc.<br>
Then just run:<br>
v.centroids &lt;polyline&gt; out=&lt;areas&gt;<br>
to add centroids to each closed boundary. <br>
<br>
<blockquote
 cite="mid:AANLkTim5=FTobpGkF1p_dpqsfJ7VjT-2gSifyuS13f36@mail.gmail.com"
 type="cite"><br>
This mail was received via Mail-SeCure System.<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="62">-- 
Micha Silver
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co.  +972-52-3665918
</pre>
</body>
</html>