CartoDB / raster-loader

https://raster-loader.readthedocs.io
Other
15 stars 4 forks source link

Raise rasterio.errors.CRSError for invalid CRS and Add test error condition (#89) #90

Closed brendancol closed 1 year ago

brendancol commented 1 year ago

Issue / Proposed Changes

If the user supplies an invalid CRS, or the CRS doesn't match the metadata of the raster, then the rasterio.errors.CRSError is thrown.

Also implemented unittest which supplies invalid CRS code and asserts the correct exception is raised.

Fixes #89

Pull Request Checklist