Changeset 2195 for trunk/regress/regress_ogc.sql
- Timestamp:
- 12/14/05 17:19:24 (6 years ago)
- Files:
-
- 1 modified
-
trunk/regress/regress_ogc.sql (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/regress/regress_ogc.sql
r2179 r2195 1 --- 2 --- Tests for GEOS/JTS implemented functions 3 --- 4 --- 5 1 6 -- Ouput is snapped to grid to account for small floating numbers 2 7 -- differences between architectures … … 17 22 SELECT 'within', within('POINT(0 0)', 'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'); 18 23 SELECT 'within', within('POINT(-1 0)', 'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'); 24 -- moved here from regress.sql 25 select 'within119', within('LINESTRING(-1 -1, -1 101, 101 101, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D); 26 select 'within120', within('LINESTRING(-1 -1, -1 100, 101 100, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D); 19 27 SELECT 'contains', contains('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))','POINT(-1 0)'); 20 28 SELECT 'contains', contains('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))','POINT(0 0)'); … … 37 45 SELECT '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)); 38 46 47 select 'linemerge149', asewkt(linemerge('GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(4 4, 1 1), LINESTRING(-5 -5, 0 0))'::geometry)); 48 39 49 --- postgis-devel/2005-December/001784.html 40 50 select 'intersects', intersects( … … 43 53 ); 44 54 55 select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))'); 45 56
