[Qgis-user] Equivalent for ST_LocateAlong in QGIS expressions
Anita Graser
anitagraser at gmx.at
Wed May 31 02:02:04 PDT 2017
Hi,
Is there an equivalent to PostGIS' ST_LocateAlong for QGIS expressions yet?
https://postgis.net/docs/ST_LocateAlong.html
SELECT ST_AsText(the_geom)
FROM
(SELECT ST_LocateAlong(
ST_GeomFromText('MULTILINESTRINGM((1 2 3, 3 4 2, 9 4 3),
(1 2 3, 5 4 5))'),3) As the_geom) As foo;
st_asewkt
-----------------------------------------------------------
MULTIPOINT M (1 2 3)
We have line_interpolate_point but it does not take measure values into
account:
function line_interpolate_point
Returns the point interpolated by a specified distance along a linestring
geometry.
Thanks and best wishes,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170531/c8b64b11/attachment.html>
More information about the Qgis-user
mailing list