Modify

Ticket #10866 (closed Bugs: fixed)

Opened 2 years ago

Last modified 13 months ago

union_ doesn't work in 1.56 and 1.57

Reported by: apl@… Owned by: barendgehrels
Milestone: Boost 1.61.0 Component: geometry
Version: Boost 1.57.0 Severity: Showstopper
Keywords: Cc:

Description

In 1.55 union_ merge two polygons but in 1.56 and 1.57 doesn't. I use long double as a coordinate.

Take a look at the following testcase:

boost::geometry::union_(MergedPoly?, gpolygon, Result); printf("result count = %d\n", Result.size() );

Merged Polygon: x = 8126 y = 3.18455e+07 x = 8127 y = 3.18455e+07 x = 8129 y = 3.18455e+07 x = 8130 y = 3.18455e+07 x = 8130 y = -146305 x = 8129 y = -146306 x = 8127 y = -146306 x = 8126 y = -146305 x = 8126 y = 3.18455e+07 Polygon: x = 5.12064e+07 y = -146302 x = 5.12064e+07 y = -146303 x = 5.12064e+07 y = -146305 x = 5.12064e+07 y = -146306 x = 8127 y = -146306 x = 8126 y = -146305 x = 8126 y = -146303 x = 8127 y = -146302 x = 5.12064e+07 y = -146302 POLYGON((8126 3.18455e+07,8127 3.18455e+07,8129 3.18455e+07,8130 3.18455e+07,8130 -146305,8129 -146306,8127 -146306,8126 -146305,8126 3.18455e+07)) POLYGON((5.12064e+07 -146302,5.12064e+07 -146303,5.12064e+07 -146305,5.12064e+07 -146306,8127 -146306,8126 -146305,8126 -146303,8127 -146302,5.12064e+07 -146302))

result count = 2

Attachments

Change History

comment:1 Changed 13 months ago by barendgehrels

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.61.0

Thanks for the report, it is fixed in 1.61

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.