I have several points and its attributes. I want to classify them into some class, but I want to classify it in line shape. When I convert it into line, the attributes turn out to be one (one row only) while there were so many attributes from the points. How do I convert those points without making the attributes into one attribute? Can anyone help me?
closed as unclear what you're asking by user30184, nmtoken, Kersten, Andre Silva, John Powell Jan 11 '17 at 10:47
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
This is difficult to answer, based on the limited information in your question (eg, you haven't stated what process you used to convert points to line, or why you want to do this). However...
Assuming you want to create multiple lines and that you want each line to have its vertices based on a subset/group/category of points based on a common attribute value, you can do this using the QGIS plugin "PointsToPaths".
There's a really good post about the "PointsToPaths" plugin, including how to install it in QGIS, how to use it and some nice example screenshots of the results, at: QGIS Plugin of the Week: Points to Paths
However, if this is not what you are trying to achieve, and you really just want to keep all the points (every feature, and every attribute of every feature), and just visualise a line connecting each point feature, then you should convert the points to line (as you've already done), optionally delete all of the line's attributes that are not really relevant to it as a line (probably most of them), and then simply add it to your map, as well as the points (not instead of the points). Ie, view both points AND line on the map simultaneously.