gmt icon indicating copy to clipboard operation
gmt copied to clipboard

psconvert fails to properly reference a Mercator map

Open joa-quim opened this issue 5 years ago • 2 comments

See forum post for context.

Wrong

gmt psbasemap -JM-81/46/15 -B0.1 -R-81.3/-80.9/46.6/46.8 -BneSW -P > lixo.ps

psconvert -W+g lixo.ps

gdalinfo lixo.tiff
...
Corner Coordinates:
Upper Left  (  -26421.455, 4090905.055) ( 81d14'14.45"W, 34d38'27.40"N)
Lower Left  (  -26421.455, 4066620.536) ( 81d14'14.45"W, 34d27'37.61"N)
Upper Right (    9180.188, 4090905.055) ( 80d55' 3.12"W, 34d38'27.40"N)
Lower Right (    9180.188, 4066620.536) ( 80d55' 3.12"W, 34d27'37.61"N)
Center      (   -8620.634, 4078762.796) ( 81d 4'38.79"W, 34d33' 2.68"N)

Right

gmt psbasemap -JM15 -B0.1 -R-81.3/-80.9/46.6/46.8 -BneSW -P > lixo.ps

psconvert -W+g lixo.ps

gdalinfo lixo.tiff
...
Corner Coordinates:
Upper Left  (  -26837.295, 5878880.358) ( 81d20'27.90"W, 46d48'12.27"N)
Lower Left  (  -26837.295, 5843982.022) ( 81d20'27.90"W, 46d35'15.75"N)
Upper Right (   24324.439, 5878880.358) ( 80d52'53.36"W, 46d48'12.27"N)
Lower Right (   24324.439, 5843982.022) ( 80d52'53.36"W, 46d35'15.75"N)
Center      (   -1256.428, 5861431.190) ( 81d 6'40.63"W, 46d41'44.40"N)

Is is still the Mercator with a true scale lat away form equator?

joa-quim avatar Sep 09 '20 22:09 joa-quim

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

stale[bot] avatar Dec 13 '20 01:12 stale[bot]

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 17:06 stale[bot]