Map projection header file question [message #69654] |
Wed, 27 January 2010 05:58 |
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
|
|
|