Home »
Public Forums »
archive »
Re: Mapping Etopo2 in IDL?
Re: Mapping Etopo2 in IDL? [message #51957] |
Tue, 19 December 2006 09:36  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
skyflow2008 wrote:
> Dear Fanning:
I've been called worse...
> Now there is a problem puzzled me. I want to map etopo2 data in
> IDL. I know to use color table we can get a false color picture. But I
> want to realize hillshade texture and color simutaneously to display in
> my map like global mapper. I don't know hwo to realize. Please help me!
Like David said, your question is a bit thin so it is hard to give a
meaningful answer. Using some creative interpretation, I'm guessing you
want to *plot* etopo2 data and that not only do you want to color your
plot based on some characteristic (say elevation) you want to emphasize
the relief with appropriate lighting.
To do this you would:
read your etopo2 data
convert the lat/lon to cartesian coords using the MAP_PROJ_* functions
create a IDLgrSurface object with your cartesian + elevation data
color your surface appropriately using the VERT_COLORS keyword
add most likely 2 well placed IDLgrLight objects (one ambient and one
directional)
add your lights and surface to an IDLgrModel
display using XOBJVIEW
* OR *
You could try iSurface in which case you'll still need to read your data
and convert it to cartesian coords. Then pass them to iSurface. Read
the docs.
-Rick
|
|
|
Current Time: Fri Oct 10 02:27:11 PDT 2025
Total time taken to generate the page: 0.87957 seconds