Home »
Public Forums »
archive »
Re: Best way to determine if location of irregular data is within polygon? Contour? Better method?
Re: Best way to determine if location of irregular data is within polygon? Contour? Better method? [message #84343] |
Fri, 31 May 2013 05:23 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
rjp23@le.ac.uk writes:
> Am I looking at this the wrong way using contour? Is there an easier method?
It is not clear to me what your method is. It sounds reasonable to me,
although there seems to be a lot of bookkeeping required. That's not so
unusual with these kinds of tasks.
I tend to use what I think of as "graphical" approaches to these kinds
of problems. I like to work with images, where I can manipulate pixel
indices. I then use set function (e.g., cgSetIntersection) to find the
overlaps. This is very effective if your problem lends itself to this
approach.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
Current Time: Wed Oct 08 13:53:30 PDT 2025
Total time taken to generate the page: 0.00546 seconds