~This doesn't work for FeatureCollections yet, and no tests have been added. It's essentially a quick and dirty implementation where I extended the type constraints on the main GeoInterface.convert method and implemented ArchGDAL.geointerface_geomtype(arg) = IGeometry. Since it operates on traits, it seemed a fair bet, and any feature-like object can of course be overloaded.~
Changed the PR to just forward GeoInterface.centroid, which seemed to be missing.
~This doesn't work for FeatureCollections yet, and no tests have been added. It's essentially a quick and dirty implementation where I extended the type constraints on the main
GeoInterface.convert
method and implementedArchGDAL.geointerface_geomtype(arg) = IGeometry
. Since it operates on traits, it seemed a fair bet, and any feature-like object can of course be overloaded.~Changed the PR to just forward GeoInterface.centroid, which seemed to be missing.