Re: Understanding IDLanROI [message #72850] |
Fri, 08 October 2010 14:35 |
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  |
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.")
|
|
|