From: Paul Ramsey Date: Sat, 11 Feb 2012 16:08:26 +0000 (+0000) Subject: Fix regression in OSX (-0 vs 0) X-Git-Tag: 2.0.0alpha5~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17215f547429c1540c3a055298238e976ca6a89c;p=postgis Fix regression in OSX (-0 vs 0) git-svn-id: http://svn.osgeo.org/postgis/trunk@9156 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/test/regress/rt_rotation.sql b/raster/test/regress/rt_rotation.sql index d070c5e52..e07774ab5 100644 --- a/raster/test/regress/rt_rotation.sql +++ b/raster/test/regress/rt_rotation.sql @@ -47,7 +47,7 @@ UPDATE rt_properties_test ipy = round(st_upperlefty(rast)*1000000000000) WHERE id > 100; -SELECT 'T4', id, scalex, scaley, skewx, skewy, st_rotation(rast) +SELECT 'T4', id, scalex, scaley, abs(skewx), abs(skewy), st_rotation(rast) FROM rt_properties_test WHERE id > 100; diff --git a/raster/test/regress/rt_rotation_expected b/raster/test/regress/rt_rotation_expected index 89fd90e89..b091caafc 100644 --- a/raster/test/regress/rt_rotation_expected +++ b/raster/test/regress/rt_rotation_expected @@ -1,7 +1,7 @@ T3|4|1x1, ip:7.5,2.5 scale:5,5 skew:1,1, srid:-1, width:1, height:1|-197395559850 T3|5|1x1, ip:7.5,2.5 scale:5,5 skew:3,7, srid:-1, width:1, height:1|-950546840812 -T4|104|5099019513593|4706787243316|1961161351382|-0|0 -T4|105|8602325267043|464990554975|5812381937191|-0|0 +T4|104|5099019513593|4706787243316|1961161351382|0|0 +T4|105|8602325267043|464990554975|5812381937191|0|0 T5|104|3605551275464|1941450686788|4714951667914|-3605551275464|785398163397 T5|105|6082762530298|-3781176708023|4438772657245|-6082762530298|785398163397 T6|104|4415880433164|3095616647230|4051809172875|-2549509756796|523598775598