mapbox / mapbox/rio-rgbify

rasterio._err.CPLE_AppDefinedError: densify_pts must be at least 2 if the output is geograpic

Open
#39 12 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
125
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the `rio rgbify` command shown in the report and reproduce it using `input.tif`, including the reported rasterio error. Check the project's command entry point and the provided TIFF dataset; done means determining the input or command conditions that trigger the error and documenting a confirmed resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.