I have a categorical land classes grid I’d like to color and then apply some hill shading based on
@earth_relief_15s DEM. So far my experimentation always ended up distorted with the colored image offset to the hill shading.
Until I used
grdimage -JQ. Now it seems to register properly. However this is also a projection and as far as I understand it this recalculates the grid and I therefore loose some resolution.
What would be the proper way to prepare a categorical grid for draping?
My current command:
gmt grdimage -JQ60c -R0/40/20/60+r de_discclass.grd -Cland_class_colors.cpt -nn+a -png de9