I want to display an image on a map projection and it seems the image function should do this. I have tried running an example from the documentation and don't get the displayed result. The example code is:
READ_JPEG, FILEPATH('Day.jpg', $
SUBDIR=['examples','data']), clouds
cloudmap = IMAGE(clouds, $
LIMIT=[-90,-180,90,180], GRID_UNITS=2, $
IMAGE_LOCATION=[-180,-90], IMAGE_DIMENSIONS=[360,180],$
TRANSPARENCY=50, MAP_PROJECTION='Mollweide')
This should produce an image of the world warped into Mollweide projection. Instead, I get the gridlines for the Mollweide projection, but the image remains rectangular.
I am using IDL 8.0 on Windows.
|