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

Home » Public Forums » archive » Understanding IDLanROI
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: Understanding IDLanROI [message #72998 is a reply to message #72853] Tue, 19 October 2010 14:02 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kelly writes:

> When I tried to use the US shapefile in IDLanROI (and IDLgrROI) there
> was a line running across the United States from the Northeast to
> Hawaii. Using IDLanROI, some States above this line were considered
> exterior polygons. See my original post. :( After tessellating, the
> line from the Northeast to Hawaii is gone, so all the States that fall
> in the United States polygon are considered interior polygons. :)

Ah, ha! Some real world data has somehow slipped into
the normally quite vanilla example data sets! Good to know.
Thanks for tracking this down.

> Your right, IDLgrROI inherits IDLanROI, thus allowing IDLgrROI to use
> IDLanROI classes, like ->ContainsPoints().
>
> IDLgrTesselator is an IDLgr object class, thus I recommend the use of
> the IDLgr classes IDLgrROI and IDLgrROIGroup. I haven?t tried, but I
> may at a later date to see if just the IDLanROI and IDLanROIGroup will
> give the desired results.

I didn't have time to check this today, but my
understanding is that IDLanROI is the "brains" of the
outfit, and IDLgrROI is the "muscle". In other words,
one is use for analysis, and the other is used for graphics.
I would be surprised if IDLanROI is not perfect for the job,
once the tesselation issue is out of the way.

Thanks for the update. Very informative and helpful.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Still missing features in IDL 8
Next Topic: Subtracting arrays of same dimension, different size - interpolating one to fit the other

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

Current Time: Fri Nov 28 19:57:43 PST 2025

Total time taken to generate the page: 0.80342 seconds