mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-26 01:52:37 +00:00
5313b69c4f
git-svn-id: http://svn.osgeo.org/postgis/trunk@2616 b70326c6-7e19-0410-871a-916f4a2858ee
31 lines
1.2 KiB
SQL
31 lines
1.2 KiB
SQL
-- postgis-users/2006-July/012764.html
|
|
SELECT SRID(collect('SRID=32749;POINT(0 0)', 'SRID=32749;POINT(1 1)'));
|
|
|
|
SELECT collect('SRID=32749;POINT(0 0)', 'SRID=32740;POINT(1 1)');
|
|
|
|
select asewkt(makeline('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)'));
|
|
select makeline('POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
|
|
-- postgis-users/2006-July/012788.html
|
|
select makebox2d('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
select makebox2d('POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
|
|
select makebox3d('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
select makebox3d('POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
|
|
-- Repeat all tests with the new function names.
|
|
-- postgis-users/2006-July/012764.html
|
|
SELECT ST_SRID(collect('SRID=32749;POINT(0 0)', 'SRID=32749;POINT(1 1)'));
|
|
|
|
SELECT ST_collect('SRID=32749;POINT(0 0)', 'SRID=32740;POINT(1 1)');
|
|
|
|
select ST_asewkt(makeline('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)'));
|
|
select ST_makeline('POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
|
|
-- postgis-users/2006-July/012788.html
|
|
select ST_makebox2d('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
select ST_makebox2d('POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
|
|
select ST_makebox3d('SRID=3;POINT(0 0)', 'SRID=3;POINT(1 1)');
|
|
select ST_makebox3d('POINT(0 0)', 'SRID=3;POINT(1 1)');
|