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

Home » Public Forums » archive » Map projection header file question
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
Map projection header file question [message #69654] Wed, 27 January 2010 05:58
yzfoot is currently offline  yzfoot
Messages: 2
Registered: January 2010
Junior Member
I'm doing a map projection from UTM NAD83 in meters to State Plane NAD
83 in feet. For the most part the projections itself is up and
running but I'm having some problems generating a functional header
file for the output. I'm thinking I read and parse info from the
input header file, convert the applicable elements and generate an
output header file.

Example fron the input header file :
map info = {UTM, 1, 1, 375089.50, 3739219.37, 0.75, 0.75, 12, North,
WGS-84, units=Meters}

Then I convert parameters for use in :

map_info = ENVI_MAP_INFO_CREATE(DATUM = datum, /STATE_PLANE,
mc=mc ,ps=ps, units=units, ZONE=zoneVal) ;, PROJ=b_proj)
and the command envi_setup_head ....
To ultimately generate a line in the output header file like :
map info = {State Plane (NAD 83), 2.0000, 2.0000, 568588.8125,
1013834.7500, 2.4606299400e+000, 2.4606299400e+000, 202, units=Feet}

I'm betting that ENVI/IDL has conversion routines to help with this
but being new I'm not finding them. Is there such a thing ? If so I'd
appreciate a pointer to them. If not how is this handled ?

Al
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: current directory changes unexpectedly
Next Topic: Re: idl/gdl/strmatch

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

Current Time: Wed Oct 08 15:17:50 PDT 2025

Total time taken to generate the page: 0.00532 seconds