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

Home » Public Forums » archive » coordinates on land
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: coordinates on land [message #18317 is a reply to message #18219] Wed, 15 December 1999 00:00 Go to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
Mark Hadfield <m.hadfield@niwa.cri.nz> wrote:
> Klaus Scipal <kscipal@ipf.tuwien.ac.at> wrote in message
> news:82p4ia$bf$1@news.tuwien.ac.at...
>> I am looking for an IDL procedure that tells me if a point (given in
>> longitude and latitude) is situated on land or on water.
>> for example the point 10�N and 20�E is situated on land (in Africa) the
>> point 10�N 40�W is situated on water (the Atlantic)

If you just want something that works rather than elegance, just use the
standard IDL map routines to draw the globe, and ask it to fill in the
continents. Read the pixel value of your lat lon coords, and you know if
its filled or not, hence land or sea. You can do this in a pixmap to
avoid distrubing the screen.

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
[Message index]
 
Read Message
Read Message
Previous Topic: Re: coordinates on land
Next Topic: Breakdown after 10 min: IDL + WinNT

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

Current Time: Sat Oct 11 00:25:07 PDT 2025

Total time taken to generate the page: 1.12056 seconds