[Qgis-user] Measure distance along line
Nicolas Cadieux
njacadieux.gitlab at gmail.com
Thu Apr 29 10:38:27 PDT 2021
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
> <ujaval at spatialthoughts.com <mailto:ujaval at 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: ujaval at spatialthoughts.com <mailto:ujaval at 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.jeremie at gmail.com <mailto:p.jeremie at 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 at lists.osgeo.org <mailto:Qgis-user at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210429/e9465e7a/attachment-0001.html>
More information about the Qgis-user
mailing list