Opened 13 years ago

Closed 13 years ago

#668 closed defect (fixed)

Bounding box calculation for straight CircString fails

Reported by: pramsey Owned by: mleslie
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: 1.5.X
Keywords: boxes Cc:

Description

When a circular string closes on itself to form a circle, the bounding box calculation does not return the right result.

select 'CIRCULARSTRING(10 2,12 2,14 2)'::geometry && 'POLYGON((0 0,0 20,20 20,20 0,0 0))'::geometry;

 ?column? 
----------
 f
(1 row)

Change History (5)

comment:1 by pramsey, 13 years ago

I used the wrong words. The problem isn't closed circular strings, it's ones that aren't actually curves, that describe straight lines, so the three components are co-linear. The example is still correct.

comment:2 by strk, 13 years ago

Keywords: boxes added
Summary: Bounding box calculation for closed CircString failsBounding box calculation for straight CircString fails

comment:3 by robe, 13 years ago

Milestone: PostGIS 1.5.3PostGIS 2.0.0

comment:4 by pramsey, 13 years ago

Fixed in trunk at r7416

comment:5 by pramsey, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.