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

Home » Public Forums » archive » Re: Best way to determine if location of irregular data is within polygon? Contour? Better method?
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: 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 is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: contour/cgcontour question regarding latitude order?
Next Topic: Re: Bug? Hash and System Variable

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

Current Time: Wed Oct 08 13:53:30 PDT 2025

Total time taken to generate the page: 0.00546 seconds