Map Grid Lines Going Missing [message #69044] |
Wed, 16 December 2009 11:58 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I've been having problems this morning with map grid lines
going missing when I was drawing them with MAP_GRID. I've
tracked the problem to yet another deficiency in the
Map_Proj_* routines, this one in MAP_PROJ_FORWARD,
which is used internally by MAP_GRID.
It seems that when MAP_PROJ_FORWARD is called with the
POLYLINES keyword it just flat out returns incorrect
results for some grid points. Fortunately, it is possible
to make modifications to MAP_GRID which will fix the
problem.
I've described the problem in some detail, as well as
the fix, in this article:
http://www.dfanning.com/map_tips/gridmissing.html
If you have been wondering where your grid lines have gone,
this might be the solution you were looking for.
Cheers,
David
P.S. Solving this problem and several others has occupied
the past several days. There will be some new map programs
coming as soon as I have a chance to consolidate all my
notes and get things organized.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|