This has been pirated in Tyler and should rather live in GeometryBasics.
This would enable us to use this method in PyramidScheme without having to depend on Tyler for example.
I put the definition into the GeoInterface file because for me the Extents is an extension of the GeoInterface.
I am not sure, whether it would make sense to also provide the extent functionality also for higher dimensional rectangles or other geometry types, but the Rect2 is needed for the subsetting in Tyler.
This has been pirated in Tyler and should rather live in GeometryBasics. This would enable us to use this method in PyramidScheme without having to depend on Tyler for example.
I put the definition into the GeoInterface file because for me the Extents is an extension of the GeoInterface.
I am not sure, whether it would make sense to also provide the extent functionality also for higher dimensional rectangles or other geometry types, but the Rect2 is needed for the subsetting in Tyler.
@rafaqz