From: Sandro Santilli Date: Tue, 23 Jun 2009 16:38:10 +0000 (+0000) Subject: Yet another buffer auto-cast test. With a different quadSegs this time to be really... X-Git-Tag: 1.4.0rc1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ca8b4052f7f811161f9d6f4342c2d19b47c861d;p=postgis Yet another buffer auto-cast test. With a different quadSegs this time to be really sure the argument is being used. git-svn-id: http://svn.osgeo.org/postgis/trunk@4192 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/regress_ogc.sql b/regress/regress_ogc.sql index a76869bb4..6e11cc412 100644 --- a/regress/regress_ogc.sql +++ b/regress/regress_ogc.sql @@ -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)'); diff --git a/regress/regress_ogc_expected b/regress/regress_ogc_expected index 183ce8081..37b975a62 100644 --- a/regress/regress_ogc_expected +++ b/regress/regress_ogc_expected @@ -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))