<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>If you have lines, just use the field calculator, add a length
field and use "$length" (with no quotes) in the expression box.
If you CRS is in meters, you will get meters.<br>
</p>
<p>Nicolas</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2021-04-29 8:49 a.m., Prud'homme
Jérémie wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKQAZ8+ceoDqsoaZCSchYBeKhUceDRbUdfimHO=wDeiopybeYw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi, <br>
</div>
<div><br>
</div>
<div>Thanks, I didn't thought about this tool but it can do the
job.</div>
<div>Having the ability to follow the line in the measure tool
would be simpler for QGIS beginners, though.<br>
</div>
<div><br>
</div>
<div>BR,<br>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Jérémie.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le jeu. 29 avr. 2021 à 14:03,
Ujaval Gandhi <<a href="mailto:ujaval@spatialthoughts.com"
moz-do-not-send="true">ujaval@spatialthoughts.com</a>> a
écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">The closest I can think of is to use the
'Shortest path (point-to-point)' tool from the Processing
Toolbox. It will allow you to select 2 points on your line
layer and give you an output line with the distance along
the line as an attribute/<br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<table
style="border-spacing:0px;border-collapse:collapse;color:rgb(68,68,68);width:480px;font-size:10pt;font-family:Arial,sans-serif;line-height:normal"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:10px 0px
12px;width:160px;vertical-align:top"
valign="top"><a
href="https://spatialthoughts.com/"
style="background-color:transparent;color:rgb(51,122,183)"
target="_blank"
moz-do-not-send="true"><img
alt="Logo"
src="https://spatialthoughts685850346.files.wordpress.com/2019/12/spatial_thoughts_logo.png"
style="border: 0px none;
vertical-align: middle;
width: 141px; height:
auto;"
moz-do-not-send="true"
width="141" border="0"></a></td>
<td style="padding:6px
0px;width:320px">
<table
style="border-spacing:0px;border-collapse:collapse;background-color:transparent"
cellspacing="0"
cellpadding="0">
<tbody>
<tr>
<td
style="padding:0px;font-size:12pt;font-family:Arial,sans-serif;font-weight:bold;color:rgb(61,60,63)"><span
style="color:rgb(0,175,239)">Ujaval Gandhi</span></td>
</tr>
<tr>
<td style="padding:0px
0px
11px;font-size:10pt;font-family:Arial,sans-serif;color:rgb(61,60,63)"><span
style="color:rgb(0,175,239)">Spatial Thoughts</span></td>
</tr>
<tr>
<td
style="padding:0px;font-size:10pt;font-family:Arial,sans-serif;color:rgb(155,155,155)"><span>mobile:
+91-8095684687</span></td>
</tr>
<tr>
<td
style="padding:0px;font-size:10pt;font-family:Arial,sans-serif;color:rgb(155,155,155)"><span>email: </span><span
style="color:rgb(23,147,210)"><a
href="mailto:ujaval@spatialthoughts.com"
target="_blank"
moz-do-not-send="true">ujaval@spatialthoughts.com</a></span></td>
</tr>
<tr>
<td style="padding:6px
0px 0px"><span
style="display:inline-block;height:22px"><span><a
href="https://www.linkedin.com/in/spatialthoughts/"
style="background-color:transparent;color:rgb(51,122,183)"
target="_blank" moz-do-not-send="true"><img alt="LinkedIn icon"
src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/elegant-logo/ln.png"
style="border:
0px none;
vertical-align:
middle;
height: 20px;
width: 20px;"
moz-do-not-send="true" width="23" height="23" border="0"></a> </span><span><a
href="https://twitter.com/spatialthoughts"
style="background-color:transparent;color:rgb(51,122,183)"
target="_blank" moz-do-not-send="true"><img alt="Twitter icon"
src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/elegant-logo/tt.png"
style="border:
0px none;
vertical-align:
middle;
height: 20px;
width: 20px;"
moz-do-not-send="true" width="23" height="23" border="0"></a> </span></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2"
style="padding:8px 0px
0px;border-top:1px solid
rgb(23,147,210);width:480px;font-family:Arial,sans-serif;color:rgb(155,155,155);text-align:justify"><br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at
5:23 PM Prud'homme Jérémie <<a
href="mailto:p.jeremie@gmail.com" target="_blank"
moz-do-not-send="true">p.jeremie@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi, <br>
</div>
<div><br>
</div>
<div>I am wondering if it's possible to use the Measure
distance tool to measure the distance between two
places, following a line.</div>
<div><br>
</div>
<div>For example, I click on a first place on the line,
I click on a second place and the tool automagically
follow the line. <br>
</div>
<div>Same behavior as what we can do with the use of
automatic tracing for geaometrie creations.</div>
<div><br>
</div>
<div>BR,<br>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Jérémie.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank"
moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></pre>
</body>
</html>