-
Notifications
You must be signed in to change notification settings - Fork 39
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
Invalid CRS: "init='epsg:3857' while creating mbtiles #14
Comments
Tried this on a couple of different rasters with the same error. |
In file mbtiler.py, try replacing "init='epsg:3857'" by just "epsg:3857". This should fix the issue. |
you can also pip install this branch https://github.com/mapbox/rio-rgbify/tree/sgillies-patch-1. I'll see if we can merge it and make a new release soon. |
@vincentsarago that PR works for me. Hope it can be merged and released. |
👋 Hi @andrewharvey, sadly I don't have the power to merge the PR, we'll have to see with @dnomadb or @sgillies (sorry guys) |
Sorry, folks, I've got no ETA for an update of this package. |
For anyone ending up here, the fix from https://github.com/mapbox/rio-rgbify/tree/sgillies-patch-1 has long been fixed in this repo (in 822aafc). But the pip installable package is older than that. You can install the latest development version from this repository using |
Have been trying to create an mbtiles with a 2 band data tif that i have :
rio rgbify india-pop-density.tif india-pop-density.mbtiles --max-z 10 --min-z 2
but I get this error:
rasterio.errors.CRSError: Invalid CRS: "init='epsg:3857'"
cc @dnomadb @perrygeo
The text was updated successfully, but these errors were encountered: