]> granicus.if.org Git - postgis/commit
Fix #178: ST_XMax() and ST_YMax() return incorrect values. This was caused by the...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 9 May 2009 12:53:25 +0000 (12:53 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 9 May 2009 12:53:25 +0000 (12:53 +0000)
commitfc2571e1a49497f6cc70937c94adf5027575a743
tree48e6cb3c69b7eb2a4c66f53623d3a663514ebe4e
parent2c9c365a5c859b775f5e4d6f249de04f9a25683a
Fix #178: ST_XMax() and ST_YMax() return incorrect values. This was caused by the fact that the min/max routines did not check whether the result for each axis was actually the min or max, but instead simply returned the structure value. Hence if an inverted coordinate system were being used, the wrong value would be returned.

git-svn-id: http://svn.osgeo.org/postgis/trunk@4079 b70326c6-7e19-0410-871a-916f4a2858ee
postgis/lwgeom_box3d.c