Opened 6 years ago

Closed 6 years ago

#12348 closed Bugs (wontfix)

polygons intersection wrong answer

Reported by: Anton Kovalev <anton.kovalev.239@…> Owned by: Barend Gehrels
Milestone: To Be Determined Component: geometry
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

POLYGON((0 65536, 0 131072, 65536 131072, 131072 131072, 131072 65536, 65536 65536, 0 65536)) && POLYGON((65536 0, 65536 65536, 65536 131072, 65536 196608, 196608 196608, 196608 0, 65536 0)) intersection result is empty.

Attachments (1)

test.cpp (1.0 KB ) - added by Anton Kovalev <anton.kovalev.239@…> 6 years ago.
test file reproducing this bug

Download all attachments as: .zip

Change History (3)

by Anton Kovalev <anton.kovalev.239@…>, 6 years ago

Attachment: test.cpp added

test file reproducing this bug

comment:1 by luzhskij@…, 6 years ago

I confirm. If you try to version 1.59, the result - it is the intersection. At 1.61 - no intersection.

comment:2 by Barend Gehrels, 6 years ago

Resolution: wontfix
Status: newclosed

It overflows internally. Sorry, you have to use int64 if you have coordinates like this. We currently don't check this internally. Leaving it as wont fix for now.

Note: See TracTickets for help on using tickets.