-
Notifications
You must be signed in to change notification settings - Fork 38
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._err.CPLE_AppDefinedError: densify_pts must be at least 2 if the output is geograpic #39
Comments
I'm also stuck with this same issue except in this case: |
I also encounter this error when producing mbtiles. If the output is tif then there is no such error. Input tif:
|
In my case it was issue with "no data points" |
I have same issue : no problem with geotiff output, but with mbtiles, it crashs. I tested on tiff with, and without "No Data" value, and the result is every time the same. There was not any problem with 1.2.0 version of rasterio from Debian packages repositories. |
@dnomadb Do you also reproduce the issue ? Any idea what it could be ? |
Same here. |
Using Python 3.8 and rasterio 1.2.0 worked for me |
pay a eye |
What does that mean, what exactly did you do with gdalwarp? Please share more information so others can fix it too. |
edit: Don't edit source files without thinking, what I wrote below is wrong.
|
You can remove the I can create tiles if I remove it but have no idea of the potential implications so don't do this unless you don't care :D |
If you want to continue using the official library from pypi, you can monkey patch the transform_bounds call in
In my case I'm calling this from python code already as part of a pipeline, so while it's not the most elegant solution, it gets the job done for what I need. |
I am getting this error.
I have installed python 3.8 and pip install rio-rgbify.
When ever i run this command "
rio rgbify --format png --min-z 0 --max-z 15 input.tif output.mbtiles
I am getting this error "_rasterio.err.CPLE_AppDefinedError: densify_pts must be at least 2 if the output is geograpic."
Kindly tell me what is the issue. I have checked all the online forums and also try your tif dataset.
The text was updated successfully, but these errors were encountered: