On Sep 28, 2012, at 9:31 PM, George Silva <georger.si...@gmail.com> 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, <basi...@ase-research.org> 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 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_MakePoint(0,0),ST_MakePoint(1,1)), >>> ST_MakeLine(ST_MakePoint(0,0),ST_MakePoint(-1,-1))); >>> -- 2.82842712474619 (this corresponds to 2x sqrt(2)?) >>> >>> For me the max distance between these polylines is 2. >>> >>> Or am I expecting something diferent for this function? >>> >>> Thanks >>> >>> -- >>> George R. C. Silva >>> >>> Desenvolvimento em GIS >>> http://geoprocessamento.net >>> http://blog.geoprocessamento.net >>> >>> >>> >>> _______________________________________________ >>> postgis-users mailing list >>> postgis-users@postgis.refractions.net >>> http://postgis.refractions.net/mailman/listinfo/postgis-users >> >> -- >> >> ~$ whoami >> Mathieu Basille, Post-Doc >> >> ~$ locate >> Laboratoire d'Écologie Comportementale et de Conservation de la Faune >> + Centre d'Étude de la Forêt >> Département de Biologie >> Université Laval, Québec >> >> ~$ info >> http://ase-research.org/basille >> >> ~$ fortune >> ``If you can't win by reason, go for volume.'' >> Calvin, by Bill Watterson. > > > > -- > George R. C. Silva > > Desenvolvimento em GIS > http://geoprocessamento.net > http://blog.geoprocessamento.net > > _______________________________________________ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users