Re: [postgis-users] ST_MaxDistance

2012-09-28 Thread George Silva
True :D On Sat, Sep 29, 2012 at 1:42 AM, Puneet Kishor wrote: > > > On Sep 28, 2012, at 9:31 PM, George Silva wrote: > > OMG, I'm sorry, > > I've confused the whole thing. I'm awake for a long long time. Way too > long. > > > > > It's only PostGIS. At least your weren't driving. ;-) > > > > > M

Re: [postgis-users] ST_MaxDistance

2012-09-28 Thread Puneet Kishor
On Sep 28, 2012, at 9:31 PM, George Silva wrote: > OMG, I'm sorry, > > I've confused the whole thing. I'm awake for a long long time. Way too long. It's only PostGIS. At least your weren't driving. ;-) > > Mathieu, sorry for the trouble. > > On Sat, Sep 29, 2012 at 1:28 AM, wrote: >>

Re: [postgis-users] ST_MaxDistance

2012-09-28 Thread George Silva
I was truly thinking in SELECT ST_MaxDistance( ST_MakeLine(ST_MakePoint(0,0),ST_MakePoint(1,1)), ST_MakeLine(ST_MakePoint(0,0),ST_MakePoint(-1,1))); I had the extra -1 on y there...sorry for the noise. On Sat, Sep 29, 2012 at 1:31 AM, George Silva wrote: > OMG, I'm sorry, > > I've confused the

Re: [postgis-users] ST_MaxDistance

2012-09-28 Thread George Silva
OMG, I'm sorry, I've confused the whole thing. I'm awake for a long long time. Way too long. Mathieu, sorry for the trouble. On Sat, Sep 29, 2012 at 1:28 AM, wrote: > Not weird for me: the max distance is between (1,1) and (-1,-1), which is > sqrt(2^2 + 2^2) = 2.828427 > At least, that's what

Re: [postgis-users] ST_MaxDistance

2012-09-28 Thread basille
Not weird for me: the max distance is between (1,1) and (-1,-1), which is sqrt(2^2 + 2^2) = 2.828427 At least, that's what Pythagoras told me once :) Mathieu. Le 28/09/2012 23:58, George Silva a écrit : Hey guys, weird results here... Check this: SELECT ST_MaxDistance( ST_MakeLine(ST_MakePo