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

Home » Public Forums » archive » Re: Shape to raster
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: Shape to raster [message #78117 is a reply to message #78114] Thu, 27 October 2011 05:30 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabzou writes:

> Wow, I am just starting to realize that this IDLanROI object is going to
> change a lot of things in my programs!
>
> But, as far as I understand the documentation, it only stores one
> entity. So, if I have many entities (often the case in my shapefiles), I
> have to instance many IDLanROI objects, generate a mask for all of them
> and then combine the masks together? Or did I miss something again?

No, you can do all this with one IDLanROI object. Simply
use the MASK_IN keyword to the Compute_Mask method to
pass in and modify the mask from previous polygons.

Yes, the IDLanROI object is one of those game changers
in IDL, once you learn of its existence. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI Navigating GeoTiff Image Incorrectly?
Next Topic: Re: unable to set time attribute for netCDF in IDL

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

Current Time: Fri Oct 10 10:07:48 PDT 2025

Total time taken to generate the page: 0.56156 seconds