CGMAP_GRID
This program provides a significantly modified MAP_GRID command that
can be used with other Coyote Graphics routines.
Description of known MAP_GRID problems::
http://www.idlcoyote.com/map_tips/noclip.html
http://www.idlcoyote.com/map_tips/missinggrid.html
http://www.idlcoyote.com/map_tips/extralines.php
Categories
Graphics, Map Projections
Author
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: [email protected]
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
History
Change History::
Written by David W. Fanning, 7 November 2011.
Significant modification of the MAP_GRID command in IDL to fix known
problems, especially when used in conjunction with map projection spaces
set up with MAP_PROJ_INIT. David W. Fanning, 7 November 2011.
Added an ERASE=0 to the /NOGRAPHICS keyword on the Draw method call to cgMap. 27 Dec 2011.
Changed the default line thickness to !P.Thick to better support PostScript files. 28 Dec 2011. DWF.
Fixed a problem with grid labeling when values were passed with LATS or LONS keyword. 6 April 2012. DWF.
Modified slightly to allow a three-element byte array to be used as the COLOR. 18 April 2012. DWF.
If a Map object is available, I make sure to call DRAW method before drawing graphics. 12 Sept 2012. DWF.
Added cgGRID keyword to allow the cgMap object to create latitude and longitude grid in its
LatLonLabels method. Previously used by default, but it doesn't work well with global
map projections. It works best with small map areas in UTM projection space. 3 Jan 2013. DWF.
Removed some old code that was used to correct latitude and longitude values. No longer needed,
I hope, with the new cgGRID keyword. 3 Jan 2013.
Corrected bug in variable spelling that affect LONDELTA and LATDELTA keywords. 6 Jan 2013. DWF.
Lost a piece of code that allows longitude box axes. Added back in. 23 Jan 2013. DWF.
T3D keyword was not being applied. Fixed. 11 February 2013. DWF.
Added NOCLIP keyword. 15 February 2013. DWF.
Sometimes a longitude line is draw incorrectly due to the fact that the longitude vector does not
have a point in the XRANGE of the projection. A fix to that problem has failed to work in all
circumstances, so I have done more work on that algorithm to see if I can solve the problem is
a better way. Now usine Value_Locate to test for point. 19 February 2013. DWF.
Now implementing label formatting when using CGGRID keyword. 27 November 2013. DWF.
Copyright
Copyright (c) 2011-2013, Fanning Software Consulting, Inc.