Mango supports rendered raster images with embedded geo-referenced data.
Available on Business, Enterprise and Agency
- Mango supports .tif
- Mango does not support .tfw
- 4 band rasters with an alpha channel is supported if captured from UAV
- 4 band rasters sourced from satellite imagery must be converted to 3 band rendered image
GeoTIFF files must be compressed to a .ZIP archive before uploading to Mango. RAR compression is not supported at this time.
- The raster must be no larger than 2 GB when uncompressed.
- The raster must be no larger than 1 GB when compressed.
If your GeoTIFF file has compression applied (e.g. Packbits, LZW, or Deflate), it will be larger when it is uncompressed by our server. In this case, you will need to first be split into smaller sections, and each section uploaded individually.
If your raster is larger than 2 GB uncompressed or 1 GB compressed, the file must be split and uploaded as separate parts.
Common rendering issues
Black & White Pixels
When you upload your raster, Mango will automatically make black (0,0,0) pixels transparent, which usually represent No Data.
If your data has white (255,255,255) pixels that you wish to make transparent, please convert these to black pixels using a desktop GIS before uploading to Mango.
My GeoTIFF’s colors don’t look right after upload
For images that contain original measurements such as elevation models and unenhanced satellite imagery, default styling and contrast stretching will be applied by Mango. In the case of single band imagery, this will be a black to white color ramp. If you wish to control the colors and contrast, you will need to prepare your image in a Desktop GIS prior to upload.
- In layer properties → Symbology, set the colors and contrast stretch as you would like them to appear.
- Right click the layer and choose Data → Export data and set the options as shown in the example below.
If the export to TIFF does not work, try exporting to ERDAS .img format instead. Then take the ERDAS .img file and export to TIF, without the “Use Renderer” option.
- Set the colors and contrast stretch as you would like them to appear.
- Right click the layer and choose “Save as..”
Set the options as shown in the example below.
Need a legend? Here's how:
Common GeoTIFF Upload Errors
Your GeoTIFF may fail to upload if:
Your raster is four band satellite imagery
If your raster is sourced from satellite, it will usually contain four bands. You may find that the raster fails to upload or appears black and white in Mango. In this instance, you will need to create a rendered image with only three bands and upload the new raster to Mango.
Export the raster and choose Use Renderer and Force RGB to create a three band image (see instructions above).
- Run OSGeo4W Shell
- Navigate to the directory where your data is
- Type the command:
gdal_translate -b 1 -b 2 -b 3 input.tif output.tif
- Zip and upload the new TIF file to Mango
You do not have a coordinate system defined
Check to see if a coordinate system is defined:
To set the coordinate system use the “Define Projection” tool
You will be asked to set the coordinate system (CRS) when you add the raster to the project. To apply the CRS to the image permanently, right click on the layer and choose Save As.
The .zip file contains a folder
The upload will fail if the .tif is inside a folder in the zip. Ensure no folders exist in the zip archive before uploading.
Floating point (decimal) rasters where the null is set to a large negative number is known to cause upload issues for some customers.