I noticed that these two trait implementations were missing, and they seemed like they'd be useful inclusions. Each is sort of necessary to implement the other: a Geometry can wrap a GeometryCollection, and a GeometryCollection is made up of Geometrys (in order to wrap the heterogeneous members in a uniform type). The unit test I added exercises both conversions.
...and also TryFrom
I noticed that these two trait implementations were missing, and they seemed like they'd be useful inclusions. Each is sort of necessary to implement the other: a
Geometry
can wrap aGeometryCollection
, and aGeometryCollection
is made up ofGeometry
s (in order to wrap the heterogeneous members in a uniform type). The unit test I added exercises both conversions.Feedback is very welcome.