Hi,

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.

Nicolas


On 2021-04-29 8:49 a.m., Prud'homme Jérémie wrote:
Hi,

Thanks, I didn't thought about this tool but it can do the job.
Having the ability to follow the line in the measure tool would be simpler for QGIS beginners, though.

BR,
Jérémie.

Le jeu. 29 avr. 2021 à 14:03, Ujaval Gandhi <uja...@spatialthoughts.com <mailto:uja...@spatialthoughts.com>> a écrit :

    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/
    Logo <https://spatialthoughts.com/>   
    Ujaval Gandhi
    Spatial Thoughts
    mobile: +91-8095684687
    email: uja...@spatialthoughts.com <mailto:uja...@spatialthoughts.com>
    LinkedIn icon <https://www.linkedin.com/in/spatialthoughts/>
    Twitter icon <https://twitter.com/spatialthoughts>





    On Thu, Apr 29, 2021 at 5:23 PM Prud'homme Jérémie
    <p.jere...@gmail.com <mailto:p.jere...@gmail.com>> wrote:

        Hi,

        I am wondering if it's possible to use the Measure distance
        tool to measure the distance between two places, following a line.

        For example, I click on a first place on the line, I click on
        a second place and the tool automagically follow the line.
        Same behavior as what we can do with the use of automatic
        tracing for geaometrie creations.

        BR,
        Jérémie.
        _______________________________________________
        Qgis-user mailing list
        Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org>
        List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
        <https://lists.osgeo.org/mailman/listinfo/qgis-user>
        Unsubscribe:
        https://lists.osgeo.org/mailman/listinfo/qgis-user
        <https://lists.osgeo.org/mailman/listinfo/qgis-user>


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Nicolas Cadieux
https://gitlab.com/njacadieux

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to