Ticket #668 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by pramsey

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.

Changed 2 years ago by strk

  • keywords boxes added
  • summary changed from Bounding box calculation for closed CircString fails to Bounding box calculation for straight CircString fails

Changed 2 years ago by robe

  • milestone changed from PostGIS 1.5.3 to PostGIS 2.0.0

Changed 2 years ago by pramsey

Fixed in trunk at r7416

Changed 2 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.