Issue first reported at GenericMappingTools/pygmt#2698 (comment).
gmt psbasemap -R0/10/0/10 -JM10c -Baf > map.ps
gmt psconvert -A -P -W+g map.ps
The commands above produce two files: map.tiff and map.pgw.
The world file map.pgw makes no sense here:
- The output file is
.tiff, so the expected world file extension should be .tfw, not .pgw
- Since the GeoTIFF file already has the georeference information embedded, a world file seems useless. Perhaps we should delete the world file in this case?