comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to make a map project in envi
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to make a map project in envi [message #64527] Wed, 07 January 2009 00:01 Go to next message
stin.wang is currently offline  stin.wang
Messages: 15
Registered: April 2006
Junior Member
i have there data( latitude,lontitude,and land surface temperature )
how to make it into a envi file(*.img) with map project(albers)
Re: how to make a map project in envi [message #64573 is a reply to message #64527] Thu, 08 January 2009 11:59 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Jan 8, 2:16 pm, David Fanning <n...@dfanning.com> wrote:
> Elkunn writes:
>> If it is MODIS data, the easiest way to do it MODIS conversion Tooklit
>> (MCTK).
>> You can download it here:http://www.ittvis.com/Downloads/toolkits.aspx
>> You can run it in batch or in a single mode. MCTK converts your data
>> into Geographic coordinate system, then you can play with it whatever
>> you want to convert.
>
> Yes, I am not making myself clear. It is, in fact,
> MODIS data I'm trying to display continental outlines
> on. I *have* converted the swath data to a projected
> data set, I *can* open the file in ENVI, it *is*
> georeferenced. It just takes me minutes to display
> the data with outlines. I'm looking for a fast way
> to do that. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I'm trying out a few ideas, i'll let you know what i come up with (if
anything).
Jeff
Re: how to make a map project in envi [message #64574 is a reply to message #64527] Thu, 08 January 2009 11:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Elkunn writes:

> If it is MODIS data, the easiest way to do it MODIS conversion Tooklit
> (MCTK).
> You can download it here: http://www.ittvis.com/Downloads/toolkits.aspx
> You can run it in batch or in a single mode. MCTK converts your data
> into Geographic coordinate system, then you can play with it whatever
> you want to convert.

Yes, I am not making myself clear. It is, in fact,
MODIS data I'm trying to display continental outlines
on. I *have* converted the swath data to a projected
data set, I *can* open the file in ENVI, it *is*
georeferenced. It just takes me minutes to display
the data with outlines. I'm looking for a fast way
to do that. :-)

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: how to make a map project in envi [message #64578 is a reply to message #64527] Thu, 08 January 2009 10:03 Go to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Jan 8, 9:58 am, David Fanning <n...@dfanning.com> wrote:
> Jean H. writes:
>> not sure if it is exactly what you are looking for, but I found that
>> writing the header file (for envi files) directly is the easiest way..
>
> Perhaps you could outline how to get continental boundaries
> on an image in ENVI. I've read the documentation on how to
> do it, and I've tried it. But it takes nearly three minutes
> to put boundaries on with the GSHHS shoreline dataset
> (this is nearly instantaneous with IDL), so I'm certain
> I am not doing it correctly.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

If it is MODIS data, the easiest way to do it MODIS conversion Tooklit
(MCTK).
You can download it here: http://www.ittvis.com/Downloads/toolkits.aspx
You can run it in batch or in a single mode. MCTK converts your data
into Geographic coordinate system, then you can play with it whatever
you want to convert.

Good luck
Re: how to make a map project in envi [message #64581 is a reply to message #64527] Thu, 08 January 2009 07:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean H. writes:

> not sure if it is exactly what you are looking for, but I found that
> writing the header file (for envi files) directly is the easiest way..

Perhaps you could outline how to get continental boundaries
on an image in ENVI. I've read the documentation on how to
do it, and I've tried it. But it takes nearly three minutes
to put boundaries on with the GSHHS shoreline dataset
(this is nearly instantaneous with IDL), so I'm certain
I am not doing it correctly.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: how to make a map project in envi [message #64582 is a reply to message #64527] Thu, 08 January 2009 07:29 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
stin.wang@gmail.com wrote:
> On 1锟斤拷8锟斤拷, 锟斤拷锟斤拷1时55锟斤拷, David Fanning <n...@dfanning.com> wrote:
>> stin.w...@gmail.com writes:
>>> i have there data( latitude,lontitude,and land surface temperature )
>>> how to make it into a envi file(*.img) with map project(albers)
>> Well, I think the easiest thing to do would be to make a
>> GeoTIFF image that you could easily read into ENVI. You will
>> have to project your data to create the projected image.
>> If you are familiar with the MAP_PROJ_*** routines, I would
>> use those. Otherwise, you might get away with MAP_PATCH.
>>
>> You can probably get a start on how to fill out the
>> GeoTiff structure (for this you *will* have to learn
>> how to use the MAP_PROJ_*** routines) by having a look
>> at this article, which uses an Albers map projection:
>>
>> http://www.dfanning.com/map_tips/tiffoverlay.html
>>
>> This process is not for the faint of heart, unless
>> someone knows an easier method in ENVI. (I which case,
>> I am all ears, too.)
>>
>> Cheers,
>>
>> David
>>
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> my data format is HDF5, in which latitude ,lontitude,and lst were
> consisted.
> i think there must be some easier way to get my work done,but before i
> get some idea about that , i will read your advice first.
> thanks for your help.

Hi,

not sure if it is exactly what you are looking for, but I found that
writing the header file (for envi files) directly is the easiest way..

Jean
Re: how to make a map project in envi [message #64584 is a reply to message #64527] Thu, 08 January 2009 07:08 Go to previous message
stin.wang is currently offline  stin.wang
Messages: 15
Registered: April 2006
Junior Member
On 1月8日, 上午1时55分, David Fanning <n...@dfanning.com> wrote:
> stin.w...@gmail.com writes:
>> i have there data( latitude,lontitude,and land surface temperature )
>> how to make it into a envi file(*.img) with map project(albers)
>
> Well, I think the easiest thing to do would be to make a
> GeoTIFF image that you could easily read into ENVI. You will
> have to project your data to create the projected image.
> If you are familiar with the MAP_PROJ_*** routines, I would
> use those. Otherwise, you might get away with MAP_PATCH.
>
> You can probably get a start on how to fill out the
> GeoTiff structure (for this you *will* have to learn
> how to use the MAP_PROJ_*** routines) by having a look
> at this article, which uses an Albers map projection:
>
> http://www.dfanning.com/map_tips/tiffoverlay.html
>
> This process is not for the faint of heart, unless
> someone knows an easier method in ENVI. (I which case,
> I am all ears, too.)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

my data format is HDF5, in which latitude ,lontitude,and lst were
consisted.
i think there must be some easier way to get my work done,but before i
get some idea about that , i will read your advice first.
thanks for your help.
Re: how to make a map project in envi [message #64610 is a reply to message #64527] Wed, 07 January 2009 09:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
stin.wang@gmail.com writes:

> i have there data( latitude,lontitude,and land surface temperature )
> how to make it into a envi file(*.img) with map project(albers)

Well, I think the easiest thing to do would be to make a
GeoTIFF image that you could easily read into ENVI. You will
have to project your data to create the projected image.
If you are familiar with the MAP_PROJ_*** routines, I would
use those. Otherwise, you might get away with MAP_PATCH.

You can probably get a start on how to fill out the
GeoTiff structure (for this you *will* have to learn
how to use the MAP_PROJ_*** routines) by having a look
at this article, which uses an Albers map projection:

http://www.dfanning.com/map_tips/tiffoverlay.html

This process is not for the faint of heart, unless
someone knows an easier method in ENVI. (I which case,
I am all ears, too.)

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to take proper tick labels with 'axis' command?
Next Topic: Opening a desktop folder from within IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 22 18:20:22 PDT 2025

Total time taken to generate the page: 1.59985 seconds