[postgis-users] st_closespoint weridness

Sandro Santilli strk at keybit.net
Sat Oct 6 02:59:25 PDT 2012


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 




More information about the postgis-users mailing list