[postgis-users] ST_Line_Locate_Point VS ST_LineLocatePoint

Bborie Park dustymugs at gmail.com
Thu May 23 14:02:05 PDT 2013


ST_LineLocatePoint() was introduced in 2.1.  I was going to suggest
using PL/pgSQL exception handling but that has a significant
performance hit...

-bborie

On Thu, May 23, 2013 at 1:52 PM, Stephen Woodbridge
<woodbri at swoodbridge.com> 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.
>
> Thanks,
>   -Steve
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list