Opened 10 years ago
Last modified 10 years ago
#8419 new Bugs
boost::geometry::intersection still broken with integer coordinates
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | To Be Determined | Component: | geometry |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When loading these geometries as integer coordinates, their intersection is equal to the input multilinestring, which is wrong because the line should be clipped to the polygon boundaries instead of being left untouched.
POLYGON((500000 853554,146445 500000,500000 146445,853554 500000)) MULTILINESTRING((163696 853553,163696 146446))
If I scale these input coordinates down by 1/1000, the result is correct. Also, no issues when loading the same input as double coordinates.
Note:
See TracTickets
for help on using tickets.
Also, same operation on same input coordinates worked correctly with Boost < 1.52.