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

Home » Public Forums » archive » Re: IDL - Extracting data from within boundary defined by shapefile
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: IDL - Extracting data from within boundary defined by shapefile [message #73794 is a reply to message #73760] Sat, 27 November 2010 06:41 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
If you mean to select the points that fall into the boundary, you
could create an IDLanROI, defined by the vertices from the shapefile.
Then use its containspoints() method to find those inside it. That is,
assuming that Earth's curvature is not relevant. If it is, you might
have to change the data from lat/lon to some suitable projection.


On Nov 27, 10:04 am, katie <katie.l.pi...@gmail.com> wrote:
> Hello all,
>
> I am using IDL 6.1, and was wondering if it's possible to extract data
> (defined by lat and long gridpoints) from within a boundary defined by
> a shapefile. For example, I have a contour map of global soil
> moisture, but would only like to look at the data within the
> Mississippi River Basin. I have the shapefile for this basin, and have
> overplotted it onto the contour map so I can see the basin outline and
> note that it is properly projected on top of my data, but I do not
> know where to go from there.
>
> Any advice would be great!
> Thanks,
> Katie
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Thread-Pool for operators?
Next Topic: Re: Thread-Pool for operators?

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

Current Time: Sun Oct 12 07:52:55 PDT 2025

Total time taken to generate the page: 0.80168 seconds