]> granicus.if.org Git - postgis/commitdiff
Quiet regression failure for minor rounding difference.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 17 Jun 2011 22:36:28 +0000 (22:36 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 17 Jun 2011 22:36:28 +0000 (22:36 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7417 b70326c6-7e19-0410-871a-916f4a2858ee

regress/sql-mm-circularstring.sql
regress/sql-mm-circularstring_expected

index 7c168d15a359e19cc35bc0236842402af7685731..7e8385dbee4dcc9da4f2a4257497c5a813770d0f 100644 (file)
@@ -275,5 +275,5 @@ SELECT DropGeometryColumn('public', 'circularstring', 'the_geom_3dz');
 SELECT DropGeometryColumn('public', 'circularstring', 'the_geom_3dm');\r
 SELECT DropGeometryColumn('public', 'circularstring', 'the_geom_2d');\r
 DROP TABLE public.circularstring;\r
-SELECT ST_AsText(box2d('CIRCULARSTRING(220268.439465645 150415.359530563,220227.333322076 150505.561285879,220227.353105332 150406.434743975)'::geometry));\r
+SELECT ST_AsText(st_snaptogrid(box2d('CIRCULARSTRING(220268.439465645 150415.359530563,220227.333322076 150505.561285879,220227.353105332 150406.434743975)'::geometry),0.0001));\r
 SELECT 'npoints_is_null',ST_NumPoints(ST_GeomFromEWKT('CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3)'));\r
index ab0de42e0208024f0790fd88483c8b3ac1102e3b..2c14820579bfebc9224c4b8aa2a4def24dcdb0f6 100644 (file)
@@ -108,5 +108,5 @@ public.circularstring.the_geom_4d effectively removed.
 public.circularstring.the_geom_3dz effectively removed.
 public.circularstring.the_geom_3dm effectively removed.
 public.circularstring.the_geom_2d effectively removed.
-POLYGON((220187.382089758 150406.434743975,220187.382089758 150506.717070259,220288.81590723 150506.717070259,220288.81590723 150406.434743975,220187.382089758 150406.434743975))
+POLYGON((220187.3821 150406.4347,220187.3821 150506.7171,220288.8159 150506.7171,220288.8159 150406.4347,220187.3821 150406.4347))
 npoints_is_null|