[postgis-users] Point (x%) on a linestring

Alex Martins Daher aldaher at cpqd.com.br
Thu Aug 12 13:09:37 PDT 2004


Hi all!

I have a multilinestring like this one:
MULTILINESTRING((-51.4933730667105 -29.1662071724963,-51.4933280072013 -29.1666495955688))

And I want to know what is the point on the linestring that is x% from the start.
For instance, the centroid of that geometry is 50% from the start.

Is there any function that can do that: I pass the geometry anda the percentage and returns
the point (geometry) that is x% from the start.

I took a look at that docs but couldn't find anything.

Regards,
Alex



More information about the postgis-users mailing list