Feature #1018

grdimage puts a +xy in the PS command instead of +latlong

Added by Joaquim over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:2016-12-20
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next bugfix release


This was raised in http://gmt.soest.hawaii.edu/boards/1/topics/4494?r=4500 and results from the fact that the PS comment gets a %@PROJ: ... +xy instead of a +latlong

grdmath -R-116.85/-116.75/34.316667/34.383056 -I0.01 X = lixo.grd
grdimage lixo.grd -P > lixo.ps
psconvert lixo.ps -W+k
psconvert: Warning: An unknown psconvert setting was found but since image coordinates seem to be geographical, a linear transformation will be used.
psconvert: Warning: gmt_gdalread failed to convert the proj4 string
to WKT


#1 Updated by Joaquim over 4 years ago

  • Status changed from New to In Progress

Ofc, those messages don't show up if the grid is created as geographic, e.g

grdmath -R-116.85/-116.75/34.316667/34.383056 -I0.01 X -fg = lixo.grd

So not sure if there is anything one can do here besides trying to catch this case and provide a more clear warning message.

#2 Updated by Joaquim over 4 years ago

  • Tracker changed from Bug to Feature

Make it a feature since it's not a bug.

#3 Updated by Remko about 4 years ago

  • Status changed from In Progress to Closed

Closed as bring feature, not bug.

Also available in: Atom PDF