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 #78190 is a reply to message #53364] Sat, 29 October 2011 09:48 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
alx writes:

> My problem is actually the following: when applying the
> map_proj_forward function to real data,- that is to say when computing
> plane coordinates from given GPS longitudes and latitudes, a very
> standard operation from GPS data -, I find results wrong by a few
> hundred meters...
> For instance:
> IDL> lon0 = 2.1937863d0 & lat0 = 47.3808737d0
> IDL> map = map_proj_init(101, ELLIPSOID=24, ZONE=31)
> IDL> print, map_proj_forward(lon0, lat0)
> 439142.34 5247587.0
> Actual easting and northing (as calculated by using other tools) are
> 439144 and 5247806 instead.
> I then suspect somme error in map_proj_init, or maybe I am not using
> it correctly.
> I was wondering if other people had same experience.

Well, this is *exactly* the problem I was having this
week, and the "other tool" was ENVI. Maybe we are going
to have to look into this some more. What "other tools"
are you using?

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: Mon Dec 01 08:40:07 PST 2025

Total time taken to generate the page: 0.79944 seconds