[postgis-devel] st_dwithin, st_within, st_dcompletlywithin

Martin Davis mbdavis at refractions.net
Wed Jul 8 15:13:35 PDT 2009


That distance metric is known as the Hausdorff Distance.  It's 
implemented in JTS, and probably in GEOS as well.

nicklas.aven at jordogskog.no wrote:
>
>
> A function that gives the answer to for example:
> "How far away from France can you get in Belgia"
> To answer that we have to store compare the shortest distance to 
> geometry2 from each vertex in geometry1 and finaly find wich vertex in 
> geometry1 that has the highest "mindistance" to geometry2.
> Hope the idee is possible to understand. Is it of any use?

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022




More information about the postgis-devel mailing list