Sunday, 11 October 2015

qgis - Create points at 50m intervals along line in EPSG:4326


I have read multiple post on how to create points along the line. I have lines that represent routes. On this lines i would like to create point at the distance of 50m. I have tried different things:



  • QChainage Plugin


  • Geoalgorithims->Vector is the "Convert Lines to Points" option

  • and also GRASS module v.to.point


However, I do not get the desired output. I have been trying for a while. I must be missing something very basic.


When using the aforementioned techniques, I only get point at the start of my route and at the end. I would like to use a 50m interval between the points. I tried to specify that, but failed...


enter image description here


QUESTION



  1. Am I using the right technique?

  2. How do i specify the distance between the points?




Answer



There is an alternative way how to convert lines to points at 50m interval, which I found somewhat more straight forward:



  1. Convert the layer that contains your line to CRS: *CRS = Belge Lambert 1972, because this one is in meters.

  2. download the plugin QChainage

  3. go to vector|QChainage|QChainage. Notice, now we work with meters. Select the layer that you would like to convert to points. Set Chainage every 50m. Click on OK.


enter image description here


Doing these 3 steps you will convert your line to points at every 50m



enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...