diff --git a/test/CDB_XYZ_ExtentTest.sql b/test/CDB_XYZ_ExtentTest.sql index 6e01545..2202c3d 100644 --- a/test/CDB_XYZ_ExtentTest.sql +++ b/test/CDB_XYZ_ExtentTest.sql @@ -5,5 +5,5 @@ inp AS ( select z0.z, r1.r as x, r2.r as y FROM zoom z0, range r1, range r2 WHER ext AS ( select x,y,z,CDB_XYZ_Extent(x,y,z) as g from inp ) select X::text || ',' || Y::text || ',' || Z::text as xyz, st_xmin(g), st_xmax(g), st_ymin(g), st_ymax(g) - from ext; + from ext order by xyz; diff --git a/test/CDB_XYZ_ExtentTest_expect b/test/CDB_XYZ_ExtentTest_expect index ba34b4c..48c8759 100644 --- a/test/CDB_XYZ_ExtentTest_expect +++ b/test/CDB_XYZ_ExtentTest_expect @@ -1,13 +1,13 @@ 0,0,0|-20037508.5|20037508.5|-20037508.5|20037508.5 0,0,1|-20037508.5|0|0|20037508.5 -0,1,1|-20037508.5|0|-20037508.5|0 -1,0,1|0|20037508.5|0|20037508.5 -1,1,1|0|20037508.5|-20037508.5|0 0,0,2|-20037508.5|-10018754.25|10018754.25|20037508.5 +0,1,1|-20037508.5|0|-20037508.5|0 0,1,2|-20037508.5|-10018754.25|0|10018754.25 0,2,2|-20037508.5|-10018754.25|-10018754.25|0 0,3,2|-20037508.5|-10018754.25|-20037508.5|-10018754.25 +1,0,1|0|20037508.5|0|20037508.5 1,0,2|-10018754.25|0|10018754.25|20037508.5 +1,1,1|0|20037508.5|-20037508.5|0 1,1,2|-10018754.25|0|0|10018754.25 1,2,2|-10018754.25|0|-10018754.25|0 1,3,2|-10018754.25|0|-20037508.5|-10018754.25