1

I have added 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

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

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

  • By the way, do you know the difference between these three algorithms and which one is the quickest/efficient? – Taras Mar 1 '19 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 Mar 1 '19 at 10:35
  • Since your question was successfully answered, please accept the answer by clicking the tick. – henkth Mar 1 '19 at 10:40
  • And perhaps indicate which function you used to get the result. – Techie_Gus Mar 2 '19 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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