diff --git a/pygeoif/hypothesis/strategies.py b/pygeoif/hypothesis/strategies.py index e50f7d0..1432670 100644 --- a/pygeoif/hypothesis/strategies.py +++ b/pygeoif/hypothesis/strategies.py @@ -601,6 +601,19 @@ def geometry_collections( # noqa: PLR0913 srs=srs, has_z=has_z, ), + st.recursive( + geometry_collections( + min_geoms=min_geoms, + max_geoms=max_geoms, + max_points=max_points, + min_interiors=min_interiors, + max_interiors=max_interiors, + srs=srs, + has_z=has_z, + ), + lambda children: children, + max_leaves=3, + ), ), min_size=min_geoms, max_size=max_geoms,