Skip to content

Figure.psconvert: Add support for GeoTIFF output #2658

@EJFielding

Description

@EJFielding

Description of the desired feature

In classic GMT, I have long used this command to generate a GeoTIFF file from an EPS file:

gmt psconvert -A -P -Tt -W+g $out

I see there is a pygmt.Figure.psconvert call that wraps the GMT psconvert but it does not seem to have the -W+g option to make a GeoTIFF.

The GeoTIFF output is extremely helpful for taking a GMT or PyGMT map and loading it into Google Earth or QGIS to view it with other geographic information. I attach an example of a map that I made in GMT that I converted to GeoTIFF and then opened as an image overlay in Google Earth.

Google_Earth-slip-map

Are you willing to help implement and maintain this feature?

Maybe

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions