Skip to content

Incorrect world file name when generating GeoTIFF file #7844

@seisman

Description

@seisman

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:

  1. The output file is .tiff, so the expected world file extension should be .tfw, not .pgw
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions