mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 17:42:38 +00:00
5313b69c4f
git-svn-id: http://svn.osgeo.org/postgis/trunk@2616 b70326c6-7e19-0410-871a-916f4a2858ee
41 lines
1.6 KiB
SQL
41 lines
1.6 KiB
SQL
select ST_astext('POINT EMPTY');
|
|
select ST_astext('POINT(EMPTY)');
|
|
select ST_astext('POINT(0 0)');
|
|
select ST_astext('POINT((0 0))');
|
|
|
|
select ST_astext('MULTIPOINT EMPTY');
|
|
select ST_astext('MULTIPOINT(EMPTY)');
|
|
-- This is supported for backward compatibility
|
|
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)');
|
|
|
|
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))');
|
|
|
|
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))');
|
|
|
|
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))');
|
|
|
|
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)))');
|
|
|
|
select ST_astext('GEOMETRYCOLLECTION EMPTY');
|
|
-- This is supported for backward compatibility
|
|
select ST_astext('GEOMETRYCOLLECTION(EMPTY)');
|
|
select ST_astext('GEOMETRYCOLLECTION((EMPTY))');
|