[postgis-users] st_HausdorffDistance

Bob Pawley rjpawley at shaw.ca
Sun Aug 14 11:06:28 PDT 2011


That's the problem - I'm running 1.4.

What is GEOS >= 3.2.0.??

Bob

-----Original Message----- 
From: Nicolas Ribot
Sent: Sunday, August 14, 2011 9:07 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] st_HausdorffDistance

> Hi
>
> I’m looking at st_HausdorffDistance.
>
> When I run the example found at
>  http://postgis.refractions.net/docs/ST_HausdorffDistance.html
>
> SELECT st_HausdorffDistance( 'LINESTRING (0 0, 2 0)'::geometry, 
> 'MULTIPOINT
> (0 1, 1 0, 2 1)'::geometry);
>
> I get the error  “No function matches the given name and argument types. 
> You
> might need to add explicit type casts”.
>
> Help will be appreciated.
>
> Bob

Hi Bob
What version of Postgis do you run (select postgis_full_version()) ?

st_HausdorffDistance is pretty recent: Availability: 1.5.0 - requires
GEOS >= 3.2.0.

Nicolas
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users 




More information about the postgis-users mailing list