def _crs_str(self, crs: CRS) -> str: return f"epsg:{crs.to_epsg()}" if crs.is_epsg_code else crs.to_wkt()
def _crs_str(self, crs: CRS) -> str: # TODO: We should support more authorities here. # if rasterio>=1.1.7, can use crs.to_authority(), but almost # everyone is currently on 1.1.6 return f"epsg:{crs.to_epsg()}" if crs.is_epsg_code else crs.to_wkt()