2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('POINT EMPTY');
|
|
|
|
select ST_astext('POINT(EMPTY)');
|
|
|
|
select ST_astext('POINT(0 0)');
|
|
|
|
select ST_astext('POINT((0 0))');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('MULTIPOINT EMPTY');
|
|
|
|
select ST_astext('MULTIPOINT(EMPTY)');
|
2006-04-18 12:30:46 +00:00
|
|
|
-- This is supported for backward compatibility
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('MULTIPOINT(0 0, 2 0)');
|
|
|
|
select ST_astext('MULTIPOINT((0 0), (2 0))');
|
|
|
|
select ST_astext('MULTIPOINT((0 0), (2 0), EMPTY)');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('LINESTRING EMPTY');
|
|
|
|
select ST_astext('LINESTRING(EMPTY)');
|
|
|
|
select ST_astext('LINESTRING(0 0, 1 1)');
|
|
|
|
select ST_astext('LINESTRING((0 0, 1 1))');
|
|
|
|
select ST_astext('LINESTRING((0 0), (1 1))');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('MULTILINESTRING EMPTY');
|
|
|
|
select ST_astext('MULTILINESTRING(EMPTY)');
|
|
|
|
select ST_astext('MULTILINESTRING(0 0, 2 0)');
|
|
|
|
select ST_astext('MULTILINESTRING((0 0, 2 0))');
|
|
|
|
select ST_astext('MULTILINESTRING((0 0, 2 0), (1 1, 2 2))');
|
|
|
|
select ST_astext('MULTILINESTRING((0 0, 2 0), (1 1, 2 2), EMPTY)');
|
|
|
|
select ST_astext('MULTILINESTRING((0 0, 2 0), (1 1, 2 2), (EMPTY))');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('POLYGON EMPTY');
|
|
|
|
select ST_astext('POLYGON(EMPTY)');
|
|
|
|
select ST_astext('POLYGON((0 0,1 0,1 1,0 1,0 0))');
|
|
|
|
select ST_astext('POLYGON((0 0,10 0,10 10,0 10,0 0),(2 2,2 5,5 5,5 2,2 2))');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('MULTIPOLYGON EMPTY');
|
|
|
|
select ST_astext('MULTIPOLYGON(EMPTY)');
|
|
|
|
select ST_astext('MULTIPOLYGON((EMPTY))');
|
|
|
|
select ST_astext('MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0),(2 2,2 5,5 5,5 2,2 2)))');
|
2006-04-18 12:30:46 +00:00
|
|
|
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('GEOMETRYCOLLECTION EMPTY');
|
2006-04-18 12:30:46 +00:00
|
|
|
-- This is supported for backward compatibility
|
2007-06-04 23:06:28 +00:00
|
|
|
select ST_astext('GEOMETRYCOLLECTION(EMPTY)');
|
|
|
|
select ST_astext('GEOMETRYCOLLECTION((EMPTY))');
|