[postgis-users] st_HausdorffDistance

Nicolas Ribot nicolas.ribot at gmail.com
Sun Aug 14 09:07:01 PDT 2011


> 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



More information about the postgis-users mailing list