3

I have added a CSV file data points into QGIS. Then I opened properties and tried to convert points inside the plot as single line (used option > properties > symbology > marker > geometry generator > Line string).

But, I can't see any data in my plot after selecting this option. Is there any other way to convert points to line?

Data points within districts of India

2
  • The symbology has nothing to do with feature conversion. v.to.lines from the toolbox is what you want.
    – Erik
    Commented Mar 1, 2019 at 10:01
  • There is also a possibility from SAGA GIS: Convert points to line(s).
    – Taras
    Commented Mar 1, 2019 at 10:04

1 Answer 1

3

If I understand you the geometry generator is not what you want, basically it's a symbology tool that allow you to use a different geometry on your feature (like representing your point by a polygon buffer for exemple). If you are creative you may be able to create a line with it but the more commun way to convert ordered point to line is by using a geoprocessing tool.

Go to processing toolbox and look for either :

  • "Point to path" tool in QGIS>vector creation
  • "v.to.lines" in GRASS>Vector
  • "Convert point to line(s)" in SAGA>Vector line tools

each of these tool will create a new line layer based on your point

4
  • By the way, do you know the difference between these three algorithms and which one is the quickest/efficient?
    – Taras
    Commented Mar 1, 2019 at 10:14
  • @Taras No I have no idea if these use different method or not or if one is better than another
    – J.R
    Commented Mar 1, 2019 at 10:35
  • Since your question was successfully answered, please accept the answer by clicking the tick.
    – henkth
    Commented Mar 1, 2019 at 10:40
  • And perhaps indicate which function you used to get the result.
    – Techie_Gus
    Commented Mar 2, 2019 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.