Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to assign lat/lon to a 2D Earth image
Date: Thu, 3 Jan 2008 04:23:43 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <flho0f$a44$1@fred.mathworks.com>
References: <flheik$l3b$1@fred.mathworks.com>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199334223 10372 172.30.248.37 (3 Jan 2008 04:23:43 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jan 2008 04:23:43 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:444130


"Roy Chang" <tigermacross@yahoo.com> wrote in message <flheik$l3b
$1@fred.mathworks.com>...
> For the below earth image
> 
> http://veimages.gsfc.nasa.gov/2430/land_ocean_ice_2048.jpg
> 
> how to assign the latitudes/longitudes to the corresponding
> locations of the image? For example, if I plot a red point
> on the location (lon,lat) then the corresponding location on
> the image will show a red point.
--------
  That image looks very much like a Mercator projection.  If so, then longitude 
and latitude values can be translated linearly into the usual x,y indices for 
images.  In other words, the area within a one-degree interval of longitude and 
one-degree interval of latitude will the same-sized rectangle - probably a 
square - throughout the entire map.

Roger Stafford