Bug #982

psbasemap -L gives wrong lengths

Added by Paul 9 months ago. Updated 9 months ago.

Status:ClosedStart date:2016-10-18
Priority:NormalDue date:
Assignee:Paul% Done:


Target version:Candidate for next bugfix release
Affected version:5.x-svn Platform:


gmt psbasemap -R80.9/81.1/3.9/4.1 -Ju44/50 -L81/4/4/10+l -Ba5m -P -K > out.ps
gmt psbasemap -R86.9/87.1/3.9/4.1 -Ju45/50 -L87/4/4/10+l -Ba5m -O -Y12c >> out.ps

The second psbasemap, despite same latitude range as the first, gives a bad scalebar,

Associated revisions

Revision 17217
Added by Paul 9 months ago

Fix issue #982


#1 Updated by Paul 9 months ago

  • Status changed from New to Resolved
  • Target version set to Candidate for next bugfix release
  • % Done changed from 0 to 100

The parser for the old -L syntax tried to set the longitude of the scale to the default value (central meridian) but that is not known when -L was parsed and it should be set to NaN [to be replaced by c.m later]. Fixed in r17217.

#2 Updated by Paul 9 months ago

  • Status changed from Resolved to Closed

Closed as fixed.

Also available in: Atom PDF