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

Home » Public Forums » archive » map_proj_init
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: MAP_PROJ_INIT [message #78186 is a reply to message #53364] Sat, 29 October 2011 11:41 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
alx writes:

> In order to process some GPS data, I logically write:
> IDL> map = map_proj_init(101, ELLIPSOID=24, ZONE=31)
> wanting to use WGS84 ellipsoid and UTM projection (zone 31 is for
> Paris), for further use of the "map_proj_forward" function. Then :
> IDL> print, map.A, map.E2, map.PROJECTION
> 6370997.0 0.00000000 20
> shows that IDL rather chooses the SPHERE and the projection n°20.
> Moreover this projection is not referenced in the IDL_help, the
> projection index ranging from 0 to 19.
> Forcing GCTP keyword to 1 does not change anything.
> What does it mean ?

Well, I think it means the IDL UTM map transformation is
screwed. You can ONLY use a spherical datum with this
transformation. The datum I was trying to use the other
day was WGS84 and I was getting the magnitude of errors
you are getting. This is a problem, since ANY data you
get from satellites is probably using a WGS84 datum.
Which means there is no way you can use this data in
IDL. (Well, unless accuracy doesn't matter to you.)

Maybe this is why IDL examples always use global map
projections. A couple hundred meters here and there
is chump change on that scale.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: unable to set time attribute for netCDF in IDL
Next Topic: ENVI Navigating GeoTiff Image Incorrectly?

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

Current Time: Wed Oct 08 19:33:07 PDT 2025

Total time taken to generate the page: 0.00414 seconds