Coyote Library Updates [message #81103] |
Fri, 17 August 2012 07:22 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
There have been several updates to Coyote Library files this
week, mostly involving mapping functionality.
cgGeoMap -- I added a PALETTE keyword to return the RGB color
vectors in a GeoTiff file, if I am reading the file. This
makes it easier to display the GeoTiff file in the proper
colors.
mapCoord = cgGeoMap(geoTiffFile, Image=image, Palette=pal)
cgImage, image, Palette=pal
cgMap -- I added a BOUNDARY keyword to the GetProperty method
of this map coordinate object. This is a sometimes more
convenient way of obtaining the XRANGE and YRANGE of the
map coordinate space. A four-element array describing the
map boundary.
cgClipToMap -- A new mapping utility routine to clip or subset
a georegistered image (i.e., one with an associated map
coordinate object) to a map boundary. This is useful, for
example, when you want to compare two images with different
map ranges and/or pixel resolutions.
cgImage -- Previously, when you set the OVERPLOT keyword the image
would be positioned to exactly fill up the previously determined
axis range. But, the program has been modified so that if you
also use the XRANGE and YRANGE keywords with the OVERPLOT keyword,
the position will be adjusted to take into account the range
keywords. I use it to locate an image with a smaller range on
top of an image with a larger range in a semi-transparent way.
Also, the NOERASE keyword is now set automatically when the
OVERPLOT keyword is set, if the NOERASE keyword is undefined.
You can find updated Coyote Library files here:
http://www.idlcoyote.com/programs/zip_files/coyoteprograms.z ip
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|