mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Add test for ST_Affine bbox cache bug (#3159)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13658 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
1eaab358a6
commit
b11a387350
|
@ -53,6 +53,9 @@ select 'ST_TransScale', ST_asewkt(ST_snapToGrid(ST_TransScale('POINT(1 1)'::geom
|
|||
select 'ST_TransScale', ST_asewkt(ST_snapToGrid(ST_TransScale('POINT(1 1)'::geometry,2, 3, 5, 7), 0.1));
|
||||
select 'ST_TransScale', ST_asewkt(ST_snapToGrid(ST_TransScale('POINT(1 1 1)'::geometry,2, 3, 5, 7), 0.1));
|
||||
|
||||
-- https://trac.osgeo.org/postgis/ticket/3159
|
||||
select '#3159', st_summary(st_affine(st_makepoint(1,1),1,0,0,1,0,0));
|
||||
|
||||
-- postgis-users/2006-May/012119.html
|
||||
select 'transl_bbox', box2d(ST_Translate('LINESTRING(0 0, 1 1)'::geometry, 1, 0, 0));
|
||||
select 'ST_Scale_bbox', box2d(ST_Scale('LINESTRING(1 0, 2 1)'::geometry, 2, 0));
|
||||
|
|
|
@ -36,6 +36,7 @@ ST_TransScale|POINT(4 2)
|
|||
ST_TransScale|POINT(2 4)
|
||||
ST_TransScale|POINT(15 28)
|
||||
ST_TransScale|POINT(15 28 1)
|
||||
#3159|Point[]
|
||||
transl_bbox|BOX(1 0,2 1)
|
||||
ST_Scale_bbox|BOX(2 0,4 0)
|
||||
ST_Scale_bbox|BOX(3 1,4 2)
|
||||
|
|
Loading…
Reference in a new issue