[postgis-users] ST_MaxDistance

George Silva georger.silva at gmail.com
Fri Sep 28 20:58:33 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120929/4d317da3/attachment.html>


More information about the postgis-users mailing list