Curve support not complete for curved polygons with multiple curved holes

Description

For a curved polygon with multiple curved holes only the first curved hole is rendered. There is no error in the geoTools logging.
The Oracle geometry is valid (sdo_geom.validate_geometry_with_context returns TRUE).

This is an example of the geometry.
It has 1 curved outer ring and 2 curved inner rings.
Only the curved outer ring and first curved inner ring are rendered. The second curved inner ring is not rendered. It is covered by the outer ring.

mdsys.SDO_GEOMETRY(
2003,
90112,
NULL,
mdsys.SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2, 11,2005,2, 11,2,2, 15,2,1, 21,2005,2, 21,2,2, 25,2,1),
mdsys.SDO_ORDINATE_ARRAY(
50000,100000, 100000,10000, 140000,100000, 100000,140000, 50000,100000,
70000,110000, 80000,130000, 90000,110000, 80000,90000, 70000,110000,
100000,110000, 110000,130000, 120000,110000, 110000,90000, 100000,110000)
);

It happens in all recent versions of GeoTools (from 12.3 where curve support is included) including 15.0.

Environment

None

Assignee

Fernando Miño

Reporter

Ron Lindhoudt

Triage

Components

Fix versions

Affects versions

Priority

Medium
Configure