Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rasterio.errors.CRSError: The PROJ4 dict could not be understood. OGR Error code 5 #3

Closed
dythbj opened this issue Dec 11, 2020 · 2 comments

Comments

@dythbj
Copy link

dythbj commented Dec 11, 2020

image
Mac os X 10.15.7

Any ideas about this error?

@ajchellew
Copy link

I know this is old but I've had the same fight on both Windows and Ubuntu (when I assumed Windows was the issue).

If I used rgbify to output to a tif it worked, but if I tried to output to mbtiles it reported OGR Error code 5, on a different version the error was not quite the same but the fix was.

Found rasterio/rasterio#1648

which lead to my fix:
clone/download rio-rgbify
replace all the 'epsg' strings in mbtiler.py with 'EPSG'
install the modified version

cd rio-rgbify
pip install -e '.[test]'

omit the single quotes if installing on Windows

@tmnnrs
Copy link
Owner

tmnnrs commented Mar 3, 2021

I also found that the following worked on Ubuntu...

mapbox/rio-rgbify#14

git clone -b sgillies-patch-1 https://github.com/mapbox/rio-rgbify.git
cd rio-rgbify
pip install -e '.[test]'

@tmnnrs tmnnrs closed this as completed Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants