Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3159 closed defect (fixed)

ST_Affine and friends enforce bboxes into geometries

Reported by: strk Owned by: pramsey
Priority: high Milestone: PostGIS 2.0.8
Component: postgis Version: 2.0.x
Keywords: Cc:

Description

Calling a function based on ST_Affine (ST_Scale, ST_Translate, ST_Rotate) enforces bbox caches into geometries.

I tested against 2.2, did not with 2.0 and 2.1 (possibly broken also there).

Change History (8)

comment:1 by strk, 9 years ago

the "tainting" policy requires to only update a box if it was present in input, so the drop/add sequence in LWGEOM_affine needs to be only triggered if a box was already present.

comment:2 by pramsey, 9 years ago

Resolution: fixed
Status: newclosed

Only replacing boxes when a box comes to the input now, at r13656

comment:3 by strk, 9 years ago

Milestone: PostGIS 2.2.0PostGIS 2.0.8
Version: trunk2.0.x

Just tested, affects back to 2.0

comment:4 by strk, 9 years ago

Resolution: fixed
Status: closedreopened

reopening for backport to 2.1 and 2.0 — also I've a test I'd like to push (which would be nice to have in backport too)

comment:5 by strk, 9 years ago

Test for ST_Affine committed as r13658

comment:6 by strk, 9 years ago

backports should also be mentioned in the NEWS file for stable branches

comment:7 by strk, 9 years ago

Resolution: fixed
Status: reopenedclosed

r13659 backports to 2.1 branch (2.1.8), r13660 backports to 2.0 branch (2.0.8)

comment:8 by strk, 9 years ago

And r13662 and r13663 are the fixes to the backports (so that those branches are buildable again, thanks debbie!)

Note: See TracTickets for help on using tickets.