I tried v.split in GRASS:
and my notebook ran a lot of time but showed this error:bad allocation, then I click "OK", and got nothing.
Are there other ways to split lines?and I hope to get 2 new columns in the same shapefile about coordinates of start and end points of each line segment.
Best Answer
Which version of v.split are you using ?
If you use the v.split from the GRASS Plugin, please read pp. 101-118 of the QGIS manual.
you are not working in QGIS but in GRASS GIS and the input layer and the output layer are GRASS layers and not shapefiles (t1.shp) or QGIS layers, see v.split.
v.split in GRASS GIS
If you want to use directly a QGIS layer and get a shapefile layer as result use one of the v.split from the Sextante Plugin (v.split.lenght and v.split.vert)
v.split.lenght with Sextante
You can also get the same result with Python and the Shapely module