[geos-devel] geos-devel at lists.osgeo.org

Mike Taves mwtoews at gmail.com
Thu Nov 29 13:35:19 PST 2018


On Thu, 29 Nov 2018 at 09:04, Paul Meems <bontepaarden at gmail.com> wrote:
>
> Hi List,
>
> I see PostGIS has  https://postgis.net/docs/manual-1.4/ST_Line_Interpolate_Point.html
> I'm assuming it comes from GEOS but I can't find it in the documentation.
>
> Can anybody point me to the GEOS documentation of this method?

Hi Paul,

Look for GEOSInterpolate using an absolute length or
GEOSInterpolateNormalized using a fraction length between 0 and 1,
which is similar to the PostGIS function. These are available in the
GEOS C API.

These methods are used with shapely's interpolate, documented here:
https://shapely.readthedocs.io/en/latest/manual.html#linear-referencing-methods


More information about the geos-devel mailing list