mapbox / mapbox/mapnik-omnivore

Tiff with transparencies show background black

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
44
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm trying to upload a geotiff tile with transparency, parts of the tiff with transparent background is showing as a black background. i have tried with the web account and with the classic studio but the results are the same. Also tried changing the style according to some solutions i read on forums but the results are still the same. i'm wondering what am i doing wrong?

on the other hand, i have tried with the next line of code of gdal [gdalwarp -t_srs EPSG:3857 input.tif output.tif] , this create a tiff with more than 400 mb, once i upload this one to Mapbox it still has the black background. the only application showing the tiff with transparent background is TileMill but once it is exported it takes so much time to generate the file, the mbtiles generated weight 5 gb and it is not uploading to MapBox. could you tell me if there is any other way to achieve this?

Regards

![attach_tiff_transparency](https://cloud.githubusercontent.com/assets/21175749/18171980/710d6144-7029-11e6-8f31-94d57f1ebf26.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the transparency behavior with the attached GeoTIFF and the reported GDAL command, then compare the uploaded result with TileMill's rendering. Done means identifying a supported way to preserve transparent pixels in the Mapbox upload path or documenting that the current path cannot do so.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.