PNG to GeoTIFF

⚠️ Service Transition Notice

This API is part of our service transition throughout 2025.

For complete details about changes and timeline, please see our main API documentation and API Transition FAQ.


Thank you for using Rain Viewer’s Weather Maps API. We appreciate your understanding as we focus our efforts on delivering the best precipitation prediction through our consumer applications.


It is quite easy to convert a PNG + WLD file to GeoTIFF with the gdal_translate command. Put the *2_map.png and *2_map.wld files of any radar image into the same directory and use this command:

gdal_translate -co compress=lzw -of Gtiff -a_srs EPSG:3857 {source_image} {output_image}

Where:

Example

First, download example files archive. Then, run the commands that we explained earlier. You should get similar output from that two commands: gdal_translate, which is geofence of the radar PNG image, and gdainfo, which shows the information in a geofenced image. It is important to have both PNG and WLD files of an image in the same directory with the same name.

Rain Viewer logo Rain Viewer