renaming to get_spatial_extent