Remapping into another projection [message #16363] |
Mon, 19 July 1999 00:00 |
Daniel Peduzzi
Messages: 29 Registered: June 1999
|
Junior Member |
|
|
I have two 8-bit 1024x1024 arrays, representing the North and South hemispheres
in a polar stereographic projection at the 16th-mesh level. These arrays are full
of user-defined region codes in the range [0-3] where 0 denotes off-hemisphere values.
I am interested in plotting these regions codes, in different colors, in the mercator
projection. If I could remap the data to another m x n array, and use TV to display it
after loading up the color tables, I could then overlay some map outlines using MAP_SET.
I'm not sure that I can use MAP_IMAGE or MAP_PATCH because of the way the latitudes
and longitudes are arranged. I do have a separate routine to convert 16th-mesh i, j values
to lat-lon pairs, but I'm not sure how to use the lat-lons once I have them.
Can somebody point me in the right direction?
Thanks ahead of time!
Dan Peduzzi
peduzzi@mediaone.net
|
|
|