Discarding polygons with Double.isNaN().
Authored by: nerius 2023-11-23
Parent: [r1833]
Child: [r1835]