]> granicus.if.org Git - postgis/commit
Lightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Wed, 3 Dec 2008 16:02:32 +0000 (16:02 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Wed, 3 Dec 2008 16:02:32 +0000 (16:02 +0000)
commite24e85a3ed96e643d0030bdce195c9e3433ddfe3
treea7eb2f7d041f01d12491081b5a4db9e039001e89
parent63131bb685caa6f5faf219c7df1784b7d6ffc39b
Lightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid data required extra work as floating point errors could still be introduced by the removal of the memcpy(). In fact it was the clipping logic that was wrong, so this patch re-adds the memcpy() in the correct place(s) and corrects the clipping flags to remove this floating point error. With thanks to Stephen Davies.

git-svn-id: http://svn.osgeo.org/postgis/trunk@3357 b70326c6-7e19-0410-871a-916f4a2858ee
liblwgeom/ptarray.c
lwgeom/lwgeom_functions_lrs.c