On 28/09/2010 07:29, bharath s wrote:



hai,
           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 ...
First check If the polylines are imported as closed boundaries with:
v.info -t
(Note the line "boundaries=...")
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.
Then just run:
v.centroids <polyline> out=<areas>
to add centroids to each closed boundary.


This mail was received via Mail-SeCure System.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user

This mail was received via Mail-SeCure System.


  


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to