[GRASS-user] Converting polygons to lines

2009-04-05 Thread supunmali
I need to convert a road network in polygons to lines to do a network analysis. I converted polygons to line by using v.type.bl- converting boundaries to lines. Then instead of getting single lines, i'm getting border lines over the polygon that was there earlier (No polygon its now line data).

Re: [GRASS-user] Converting polygons to lines

2009-04-05 Thread Jarek Jasiewicz
Well, if roads are polygons it colud be a problem. if you don't need atributes of roads I sugest to convert polygons to raster, run r.thin, and convert raster to lines. But in that way you will lost road attributes. supunmali pisze: I need to convert a road network in polygons to lines to

Re: [GRASS-user] Converting polygons to lines

2009-04-05 Thread supunmali
Is that mean it is not possible?? I need the attribute data to do network analysis (e.g. optimal path). Pls suggest a method. Well, if roads are polygons it colud be a problem. if you don't need atributes of roads I sugest to convert polygons to raster, run r.thin, and convert raster to