[postgis-devel] Issue 58 in postgis: bounding box of circular string is incorrect

codesite-noreply at google.com codesite-noreply at google.com
Tue Oct 7 15:30:48 PDT 2008


Issue 58: bounding box of circular string is incorrect
http://code.google.com/p/postgis/issues/detail?id=58

New issue report by mrk.leslie:
Execute:

select ST_Box2d('CIRCULARSTRING(220268.439465645
150415.359530563,220227.333322076 150505.561285879,220227.353105332
150406.434743975)'::geometry);

Result:

BOX(220227.34375 150406.421875,220268.453125 150415.375)

Expected:

BOX(220187.375 150406.421875,220288.828125 150506.71875)

Reported at:
http://www.nabble.com/bounding-box-incorrect-on-circularstring-td19751567.html

This seems to be a problem in determining the angle of sweep of the arc.
Because it's nearly a full circle, it takes the shorter path between the
end points, ignoring the midpoint.


Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the postgis-devel mailing list