Changeset 4542
- Timestamp:
- 09/29/09 06:31:20 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
liblwgeom/lwcollection.c (modified) (1 diff)
-
regress/regress_expected (modified) (1 diff)
-
regress/regress.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/liblwgeom/lwcollection.c
r4168 r4542 322 322 LWGEOM **newgeoms; 323 323 324 if ( ! col->ngeoms ) return col;324 if ( ! col->ngeoms ) return lwcollection_clone(col); 325 325 326 326 newgeoms = lwalloc(sizeof(LWGEOM *)*col->ngeoms); -
trunk/regress/regress_expected
r3817 r4542 181 181 148|LINESTRING(0 0,5 0,10 0) 182 182 148_|LINESTRING(0 0,5 0,10 0) 183 149|GEOMETRYCOLLECTION EMPTY 183 184 150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) 184 185 150_|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) -
trunk/regress/regress.sql
r3817 r4542 258 258 select '148_', astext(segmentize('LINESTRING(0 0, 10 0)', 5)); 259 259 260 select '149', ST_astext(segmentize('GEOMETRYCOLLECTION EMPTY', 0.5)); 260 261 261 262 select '150', ST_asewkt(ST_force_collection(ST_setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6)));
