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 …
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 out=
to add centroids to each closed boundary.
···
--
Micha Silver
[http://www.surfaces.co.il/](http://www.surfaces.co.il/)
Arava Development Co. +972-52-3665918