Changeset 2195
- Timestamp:
- 12/14/05 17:19:24 (6 years ago)
- Location:
- trunk/regress
- Files:
-
- 4 modified
-
regress_expected (modified) (3 diffs)
-
regress_ogc_expected (modified) (2 diffs)
-
regress_ogc.sql (modified) (4 diffs)
-
regress.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/regress/regress_expected
r2165 r2195 117 117 117|4.24264068711929 118 118 118|5.19615242270663 119 119|f120 120|f121 119 121|BOX3D(1.19894826 1.20265412 0,999.932129 999.692932 0)|BOX3D(1.40486765 1.3484304 0,999.857666 999.936401 0) 122 120 122|f … … 128 126 128|f 129 127 129|34009|34009 130 NOTICE: IllegalArgumentException: Number of points must be 0 or >3131 ERROR: POSTGIS2GEOS conversion failed132 128 131|1 133 129 132|2 … … 153 149 147|POINT(1 2 3 0) 154 150 148|LINESTRING(0 0,5 0,10 0) 155 149|LINESTRING(-5 -5,0 0,1 1,4 4)156 151 150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) 157 152 151| -
trunk/regress/regress_ogc_expected
r2179 r2195 14 14 within|f 15 15 within|f 16 within119|f 17 within120|f 16 18 contains|f 17 19 contains|f … … 33 35 polygonize_garray|GEOMETRYCOLLECTION EMPTY 34 36 polygonize_garray|POLYGON((10 0,0 0,0 10,10 10,10 0)) 37 linemerge149|LINESTRING(-5 -5,0 0,1 1,4 4) 35 38 intersects|f 39 NOTICE: IllegalArgumentException: Number of points must be 0 or >3 40 ERROR: POSTGIS2GEOS conversion failed -
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 -
trunk/regress/regress.sql
r2194 r2195 195 195 ---selection 196 196 197 select '119', within('LINESTRING(-1 -1, -1 101, 101 101, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D);198 select '120', within('LINESTRING(-1 -1, -1 100, 101 100, 101 -1)'::GEOMETRY,'BOX3D(0 0, 100 100)'::BOX3D);199 197 200 198 … … 220 218 221 219 select '129', mem_size(dropBBOX(a)), mem_size(dropBBOX(b)) from TEST; 222 223 select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))');224 220 225 221 select '131', X('POINT(1 2)'); … … 253 249 select '148', astext(segmentize('LINESTRING(0 0, 10 0)', 5)); 254 250 255 select '149', asewkt(linemerge('GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(4 4, 1 1), LINESTRING(-5 -5, 0 0))'::geometry));256 251 257 252 select '150', asewkt(force_collection(setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6)));
