convert_spatial_class function

Convert from/to sf/sv objects