Changeset 4750 for trunk/regress/regress_ogc.sql
- Timestamp:
- 11/05/09 11:04:45 (3 years ago)
- Files:
-
- 1 modified
-
trunk/regress/regress_ogc.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/regress/regress_ogc.sql
r4192 r4750 11 11 12 12 SELECT 'geomunion', astext(geomunion('POINT(0 0)', 'POINT(1 1)')); 13 SELECT 'unite_garray', equals(unite_garray(geom_accum('{POINT(0 0)}', 'POINT(2 3)')), 'MULTIPOINT(2 3,0 0)');14 13 SELECT 'convexhull', asewkt(convexhull('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 4, 4 4, 4 2, 2 2))')); 15 14 SELECT 'relate', relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)'); … … 133 132 ); 134 133 135 select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))');136 137 134 -- Repeat all tests with new function names. 138 135 SELECT 'buffer', ST_astext(ST_SnapToGrid(ST_buffer('POINT(0 0)', 1, 2), 1.0e-6)); 139 136 140 137 SELECT 'geomunion', ST_astext(ST_union('POINT(0 0)', 'POINT(1 1)')); 141 SELECT 'unite_garray', ST_equals(ST_unite_garray(ST_geom_accum('{POINT(0 0)}', 'POINT(2 3)')), 'MULTIPOINT(2 3,0 0)');142 138 SELECT 'convexhull', ST_asewkt(ST_convexhull('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 4, 4 4, 4 2, 2 2))')); 143 139 SELECT 'relate', ST_relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)');
