FeatureUtilities.convertPolygonToPointArray fails to round correctly negative numbers

Description

The method uses the old rounding approach of adding 0.5 and then casting to int, but that only works for positive numbers.

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure