Modify

Opened 3 years ago

Closed 15 months ago

#10866 closed Bugs (fixed)

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 (0)

Change History (1)

comment:1 Changed 15 months ago by barendgehrels

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

Thanks for the report, it is fixed in 1.61

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain barendgehrels.
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.