PNG to GeoTIFF

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