1

I'm trying to make 20 metres segments out of one line, but I'm getting this error:

segment outside line, no segment created

I'm using the settings shown in the screenshot. If I unblock the "force segments to be exactly of given lenght(...)" it works but then I get segments of 30 metres instead. The segments need to be 20 metres.

enter image description here

  • 2
    try to set the value of the segment to 0.00017998, the whole point is that they have established a geographic coordinate system ... – Cyril Apr 10 at 14:28
  • Do you mean the lenght or the v.in.ogr min area? I'm really new at QGIS, if you wondering why I'm asking rather dumb/strange questions. – Matilda Apr 11 at 6:42
  • я имею ввиду значения поля с названием "Maximum segment length" and never hesitate to ask questions, otherwise you will be hard to learn ... – Cyril Apr 11 at 6:48
0

The input line is in geographic coordinates CRS which uses decimal degree unit. you need to reproject the line and select a projection that uses meter unit such as UTM with the correct zone depending on the line location in which country.

To reproject the lines, right-click the line in the table of contents, go to Export -> Save Features As:

enter image description here

Click on the globe icon to choose the correct UTM zone, for example WGS 84 / UTM zone ## N/S, and give the file a new name.

Then use the output file in v.split tool to split the line at 20 m interval.

  • Thank you so much for your answer! It solved my problem :) – Matilda Apr 11 at 7:47

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.