Mango supports compliant raster images with geo-referenced data embedded in the .tif. Mango does not support the .tfw format.
Mango supports zipped raster files. The zipped file cannot be larger than 1GB; larger files must be split and uploaded separately.
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.
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.
- 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.
Common GeoTIFF Upload Errors
Your GeoTIFF may fail to upload if:
Your Image has four bands
If your raster has four bands, you will need to create an image with only three bands.
Exporting the raster and choosing Use Renderer and Force RGB will 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.
Need more help with this?
✉ Email the Mango support team