Fix regression in OSX (-0 vs 0)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9156 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Paul Ramsey 2012-02-11 16:08:26 +00:00
parent 7d7ee7ac97
commit 17215f5474
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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