]> granicus.if.org Git - postgis/commitdiff
Yet another buffer auto-cast test. With a different quadSegs this time to be really...
authorSandro Santilli <strk@keybit.net>
Tue, 23 Jun 2009 16:38:10 +0000 (16:38 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 23 Jun 2009 16:38:10 +0000 (16:38 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4192 b70326c6-7e19-0410-871a-916f4a2858ee

regress/regress_ogc.sql
regress/regress_ogc_expected

index a76869bb42a0b7d682c2eb16be6b6212d6b7e831..6e11cc41283aa7ee5045e0fc20d0c02afae6acc8 100644 (file)
@@ -7,6 +7,7 @@
 -- differences between architectures
 SELECT 'buffer', astext(SnapToGrid(buffer('POINT(0 0)', 1, 2), 1.0e-6));
 SELECT 'buffer', astext(SnapToGrid(buffer('POINT(0 0)', 1, '2'), 1.0e-6));
+SELECT 'buffer', astext(SnapToGrid(buffer('POINT(0 0)', 1, '3'), 1.0e-6));
 
 SELECT 'geomunion', astext(geomunion('POINT(0 0)', 'POINT(1 1)'));
 SELECT 'unite_garray', equals(unite_garray(geom_accum('{POINT(0 0)}', 'POINT(2 3)')), 'MULTIPOINT(2 3,0 0)');
index 183ce808133ec3fe9be1b7f878d2adf45462454c..37b975a62dd22253d2718cbb4598287368525aae 100644 (file)
@@ -1,5 +1,6 @@
 buffer|POLYGON((1 0,0.707107 -0.707107,0 -1,-0.707107 -0.707107,-1 0,-0.707107 0.707107,0 1,0.707107 0.707107,1 0))
 buffer|POLYGON((1 0,0.707107 -0.707107,0 -1,-0.707107 -0.707107,-1 0,-0.707107 0.707107,0 1,0.707107 0.707107,1 0))
+buffer|POLYGON((1 0,0.866025 -0.5,0.5 -0.866025,0 -1,-0.5 -0.866025,-0.866025 -0.5,-1 0,-0.866025 0.5,-0.5 0.866025,0 1,0.5 0.866025,0.866025 0.5,1 0))
 geomunion|MULTIPOINT(0 0,1 1)
 unite_garray|t
 convexhull|POLYGON((0 0,0 10,10 10,10 0,0 0))