Changeset 2367
- Timestamp:
- 05/22/06 08:29:19 (6 years ago)
- Location:
- trunk/regress
- Files:
-
- 2 added
- 3 modified
-
Makefile (modified) (1 diff)
-
measures_expected (added)
-
measures.sql (added)
-
regress_expected (modified) (2 diffs)
-
regress.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/regress/Makefile
r2332 r2367 3 3 include ../Makefile.config 4 4 5 TESTS=regress regress_index lwgeom_regress regress_lrs removepoint setpoint simplify snaptogrid affine wkt 5 TESTS=regress regress_index lwgeom_regress regress_lrs removepoint setpoint simplify snaptogrid affine wkt measures 6 6 7 7 ifeq ($(USE_GEOS),1) -
trunk/regress/regress_expected
r2230 r2367 111 111 111|528 112 112 112|3 113 113|291114 114|140115 115|140116 116|4.24264068711929117 117|4.24264068711929118 118|5.19615242270663119 113 121|BOX3D(1.19894826 1.20265412 0,999.932129 999.692932 0)|BOX3D(1.40486765 1.3484304 0,999.857666 999.936401 0) 120 114 122|f … … 134 128 133d|4 135 129 133e| 136 134|0137 135|13138 136|13139 130 137| 140 131 138|BOX3D(0 0 0,0 0 0) -
trunk/regress/regress.sql
r2195 r2367 180 180 select '112',numgeometries('GEOMETRYCOLLECTION(POINT(1 1), LINESTRING( 1 1 , 2 2, 3 3),MULTIPOINT(1 1, 2 2))'::GEOMETRY) as value; 181 181 182 --- geo ops183 184 select '113', area2d('MULTIPOLYGON( ((0 0, 10 0, 10 10, 0 10, 0 0)),( (0 0, 10 0, 10 10, 0 10, 0 0),(5 5, 7 5, 7 7 , 5 7, 5 5) ) ,( (0 0, 10 0, 10 10, 0 10, 0 0),(5 5, 7 5, 7 7, 5 7, 5 5),(1 1,2 1, 2 2, 1 2, 1 1) ) )'::GEOMETRY) as value;185 186 select '114', perimeter2d('MULTIPOLYGON( ((0 0, 10 0, 10 10, 0 10, 0 0)),( (0 0, 10 0, 10 10, 0 10, 0 0),(5 5, 7 5, 7 7 , 5 7, 5 5) ) ,( (0 0, 10 0, 10 10, 0 10, 0 0),(5 5, 7 5, 7 7, 5 7, 5 5),(1 1,2 1, 2 2, 1 2, 1 1) ) )'::GEOMETRY) as value;187 188 select '115', perimeter3d('MULTIPOLYGON( ((0 0 0, 10 0 0, 10 10 0, 0 10 0, 0 0 0)),( (0 0 0, 10 0 0, 10 10 0, 0 10 0, 0 0 0),(5 5 0, 7 5 0, 7 7 0, 5 7 0, 5 5 0) ) ,( (0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(5 5 1, 7 5 1, 7 7 1, 5 7 1, 5 5 1),(1 1 1,2 1 1, 2 2 1, 1 2 1, 1 1 1) ) )'::GEOMETRY) as value;189 190 191 select '116', length2d('MULTILINESTRING((0 0, 1 1),(0 0, 1 1, 2 2) )'::GEOMETRY) as value;192 select '117', length3d('MULTILINESTRING((0 0, 1 1),(0 0, 1 1, 2 2) )'::GEOMETRY) as value;193 select '118', length3d('MULTILINESTRING((0 0 0, 1 1 1),(0 0 0, 1 1 1, 2 2 2) )'::GEOMETRY) as value;194 195 182 ---selection 196 183 … … 228 215 select '133e', M('POINT(1 2 4)'); 229 216 230 select '134', distance('POINT(1 2)', 'POINT(1 2)');231 select '135', distance('POINT(5 0)', 'POINT(10 12)');232 233 select '136', distance('POINT(0 0)', translate('POINT(0 0)', 5, 12, 0));234 235 217 select '137', box3d('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION EMPTY)'::geometry); 236 218 select '138', box3d('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION EMPTY, POINT(0 0))'::geometry);
