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 #78180 is a reply to message #78117] Mon, 31 October 2011 07:18 Go to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi again,

On 10/27/2011 02:30 PM, David Fanning wrote:
> Fabzou writes:
>> 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.

I ended up using IDLanROIgroup. It crashes (fatal error!) when there are
too many entities (thousands of them) but this was just for a test and
everything works fine in "normal" cases.

I have an other question though. How will the IDLanROI object
"understand" the XY coordinates [0.5,0.5]? In my conception, these
coordinates correspond to the center of the first down left pixel, but
my first tests tend to show that this may not be the case...

Thanks!
[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: Sun Oct 12 00:59:29 PDT 2025

Total time taken to generate the page: 0.56297 seconds