[postgis-devel] line_locate_prevertex(linestring geometry, locationfraction float8)

Paul Ramsey pramsey at cleverelephant.ca
Wed Sep 24 14:53:32 PDT 2008


Yes, this information is generated and then left behind. So, not too
hard, but some plumbing to push around. I wonder if there is a more
elegant API to get that information?

P.

On Wed, Sep 24, 2008 at 2:17 PM, David William Bitner <bitner at gyttja.org> wrote:
> How difficult would it be to implement
> line_locate_prevertex(linestring geometry, locationfraction float8)
> and
> line_locate_postvertex(linestring geometry, locationfraction float8)
> that would return the vertex along a line "at or before" / "at or after" a
> fraction along a line?
> Is there existing information in the line_interpolate_point() implementation
> that is essentially throwing this information away?
> David
> --
> ************************************
> David William Bitner
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>



More information about the postgis-devel mailing list