Bug #722

pscoast skip Antarctica (-A0+as)

Added by Andreas about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:2015-06-30
Priority:NormalDue date:
Assignee:Paul% Done:

100%

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

Description

Skipping all GSHHG features south of 60°S doesn't work correctly if the resolution was set to crude.

gmt pscoast -JN0/18 -Rg -Bg60/g30 -Dl -W1,0 -A0+as > test1.ps

works as expected, while

gmt pscoast -JN0/18 -Rg -Bg60/g30 -Dc -W1,0 -A0+as > test2.ps

truncates the tip of South America.

Associated revisions

Revision 14438
Added by Paul about 2 years ago

Address issue #722

History

#1 Updated by Paul about 2 years ago

  • Status changed from New to In Progress

Yes, I can see that happening. The crude GSHHG data are binned at 20 x 20 degree bins so that means 50S to 70S, and 70S to 90S. The next resolution up (low) is at 10 and everything higher will also have a bin boundary at 60S. There is nothing I can do but add a check that prevents you from using this combination of crude and -A+as.

#2 Updated by Paul about 2 years ago

  • Status changed from In Progress to Resolved
  • Assignee set to Paul
  • Target version set to Candidate for next bugfix release
  • % Done changed from 0 to 100

Actually, it was simple enough to handle this special case, so the problem has been fixed in r14438.

#3 Updated by Andreas about 2 years ago

Great, thanks for the fix

#4 Updated by Paul about 2 years ago

  • Status changed from Resolved to Closed

Closed as fixed

Also available in: Atom PDF