Show
Ignore:
Timestamp:
12/14/05 17:19:24 (6 years ago)
Author:
strk
Message:

Moved GEOS/JTS function from regress to ogc test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/regress/regress_ogc.sql

    r2179 r2195  
     1--- 
     2--- Tests for GEOS/JTS implemented functions 
     3--- 
     4--- 
     5 
    16-- Ouput is snapped to grid to account for small floating numbers 
    27-- differences between architectures 
     
    1722SELECT 'within', within('POINT(0 0)', 'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'); 
    1823SELECT 'within', within('POINT(-1 0)', 'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'); 
     24-- moved here from regress.sql 
     25select 'within119', within('LINESTRING(-1 -1, -1 101, 101 101, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D); 
     26select 'within120', within('LINESTRING(-1 -1, -1 100, 101 100, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D); 
    1927SELECT 'contains', contains('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))','POINT(-1 0)'); 
    2028SELECT 'contains', contains('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))','POINT(0 0)'); 
     
    3745SELECT 'polygonize_garray', astext(geometryn(polygonize_garray('{LINESTRING(0 0, 10 0):LINESTRING(10 0, 10 10):LINESTRING(10 10, 0 10):LINESTRING(0 10, 0 0)}'), 1)); 
    3846 
     47select 'linemerge149', asewkt(linemerge('GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(4 4, 1 1), LINESTRING(-5 -5, 0 0))'::geometry)); 
     48 
    3949--- postgis-devel/2005-December/001784.html 
    4050select 'intersects', intersects( 
     
    4353      ); 
    4454 
     55select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))'); 
    4556