-
Notifications
You must be signed in to change notification settings - Fork 34
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
Error when source has alpha band #26
Comments
@andrewharvey I found a couple blockers for this in Rasterio: rasterio/rasterio#984 rasterio/rasterio#985. I'll update here when those are fixed. Will require a Rasterio upgrade. |
@andrewharvey Do you fix the problems? and how? |
@Shanyuk nope. Alternatives are https://github.com/mapbox/mapbox-tile-copy and then download tiles from S3 and use https://github.com/mapbox/mbutil to pack them into an MBTiles (which I think should give you the same result as uploading your GeoTIFF as is to Mapbox), or just upload directly to Mapbox. |
Thank you. I will have a try. |
Kicking this to a future milestone. 1.4.0 is coming sooner than I can make the rasterio fix. |
New milestone: 1.4.2 cc @jacquestardie |
Resolved and will be available in 1.4.2 (on PyPI later today). New usage is explained in the README and |
When I run the following:
where
raster.tif
has an Alpha bandFor example using NE2_50M_SR and running:
creating a 4th alpha band:
rio produces the output:
The text was updated successfully, but these errors were encountered: