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

Home » Public Forums » archive » Re: Understanding IDLanROI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Understanding IDLanROI [message #72850] Fri, 08 October 2010 14:35
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> So, let's see, you are taking all the points from the Colorado
> IDLanROI and asking the USA IDLanROI if any of those points are
> exterior to the USA boundary, using the ContainsPoints method.
> Is that right? And the answer is sometimes "yes"?

Oh, sorry. I saw your name at the "end" of the article,
and didn't realize there was code. I'll have another look.

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Understanding IDLanROI [message #72851 is a reply to message #72850] Fri, 08 October 2010 14:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kBob writes:

> I am attempting to use IDLanROI to determine if Shapefiles overlap
> another Shapefile.
>
> Sometimes it works, sometimes it doesn't. Especially, if the polygon
> lies within the interior.
>
> I put together a test program that retrieves the States and uses
> IDLanROI to determine if it lies within the US.
>
> Why does Colorado not considered to be in the United States, among
> some other interior States?
>
> Is IDLanROI not the IDL routine to use to perform this check?

So, let's see, you are taking all the points from the Colorado
IDLanROI and asking the USA IDLanROI if any of those points are
exterior to the USA boundary, using the ContainsPoints method.
Is that right? And the answer is sometimes "yes"?

Just trying to get my head around it. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: execute an idl procedure without seeing idl workbench
Next Topic: CDF routines for GDL?

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

Current Time: Wed Oct 08 17:02:32 PDT 2025

Total time taken to generate the page: 0.00497 seconds