X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Jun 2006 02:19 PM by  anon
Map 2 images on the same window
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
26 Jun 2006 02:19 PM
    I need to overplot my data on a background map. I have started with a polyfill procedure, but it takes a lot of time. On the other hand a superposition of two object images with a alpha control could fit the role, but how do I introduce the map_set with object graphics? Thank you

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Jun 2006 02:19 PM
    In IDL Object Graphics the routines that one uses to map map coordinates to cartesian coodinates and vice versa are MAP_PROJ_INIT, MAP_PROJ_FORWARD and MAP_PROJ_INVERSE. 'MAP_PROJ_INIT' does work similar to 'MAP_SET' in setting up IDL's '!MAP' structure that defines the mathematics of the projection you have chosen. (You can also continue to use MAP_SET for this, but I think MAP_PROJ_INIT has enhanced functionality.) MAP_PROJ_FORWARD and MAP_PROJ_INVERSE use the state of the current !MAP struct to calculate the mapping of the points you give as argument. You might also be interested in MAP_PROJ_IMAGE, which can warp your images defined by an evenly gridded spatial coordinates to your the projection currently stored in !MAP. Regards, James Jones
    You are not authorized to post a reply.