X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Jul 2016 09:58 PM by  anon
Problem warping using Image()
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:3
New Member


--
19 Jul 2016 09:58 PM
    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.

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    21 Jul 2016 04:15 PM
    This may have been a bug in IDL 8.0. Would it be possible for you to upgrade to a more recent version of IDL and see if that helps with your issue?

    Deleted User



    New Member


    Posts:3
    New Member


    --
    17 Aug 2016 05:48 PM
    Thanks David, I upgraded to 8.2 and it works.
    You are not authorized to post a reply.