예제 #1
0
 def _crs_str(self, crs: CRS) -> str:
     return f"epsg:{crs.to_epsg()}" if crs.is_epsg_code else crs.to_wkt()
예제 #2
0
 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()