[postgis-users] ST_Line_Locate_Point VS ST_LineLocatePoint

Sandro Santilli strk at keybit.net
Thu May 23 14:31:57 PDT 2013


On Thu, May 23, 2013 at 04:52:27PM -0400, Stephen Woodbridge wrote:
> Hi,
> 
> I just notice in pgRouting that I'm getting:
> 
> WARNING:  ST_Line_Locate_Point signature was deprecated in 2.1.0.
> Please use ST_LineLocatePoint
> 
> messages. I can switch this, but I'm wandering when
> ST_LineLocatePoint was introduced because of backwards compatibility
> with older versions of PostGIS.
> 
> So I don't want to change the function only to find that is is not
> available on 1.5 or earlier. Or I need to dynamically modify the
> plpgsql functions based on version of postgis we are installing on.

I'd say dynamically modify the function.

--strk; 


More information about the postgis-users mailing list