On Fri, Oct 05, 2012 at 11:07:47PM +0100, Dave Potts wrote: > > Martin Davis wrote: > > If the point is inside the polygon, the distance between them is 0. > Hmm I do not understand, then nearest point should be along the boundary > of the polygon.
That's the nearest point on the boundary you're looking for, not the nearest point on the polygon. --strk; http://www.cartodb.com - Map, analyze and build applications with your data ~~ http://strk.keybit.net _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users