ArchGDAL.jl
ArchGDAL.jl copied to clipboard
Forward GeoInterface.centroid
~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 is already tested as working. But yes we also need to handle features somehow. I guess I should have handle that in GeoInterface as well.
A test ?