Show
Ignore:
Timestamp:
11/05/09 11:04:45 (3 years ago)
Author:
pramsey
Message:

Implement RFC3 (#195)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/regress/regress_ogc.sql

    r4192 r4750  
    1111 
    1212SELECT '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)'); 
    1413SELECT 'convexhull', asewkt(convexhull('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 4, 4 4, 4 2, 2 2))')); 
    1514SELECT 'relate', relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)'); 
     
    133132      ); 
    134133 
    135 select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))'); 
    136  
    137134-- Repeat all tests with new function names. 
    138135SELECT 'buffer', ST_astext(ST_SnapToGrid(ST_buffer('POINT(0 0)', 1, 2), 1.0e-6)); 
    139136 
    140137SELECT '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)'); 
    142138SELECT '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))')); 
    143139SELECT 'relate', ST_relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)');