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

Home » Public Forums » archive » Re: IDL - Extracting data from within boundary defined by shapefile
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: IDL - Extracting data from within boundary defined by shapefile [message #73856 is a reply to message #73760] Tue, 30 November 2010 06:46 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 30, 5:01 am, katie <katie.l.pi...@gmail.com> wrote:

Also, this loop is pointless:

> for i = 0L, (num_ent-1) do begin
> ent  = mrb_shape -> IDLffShape::GetEntity(i)
> x    = (*ent.vertices)[0,*]
> y    = (*ent.vertices)[1,*]
> endfor

You are just overwriting x and y, and out of the loop you will only
have the x and y from the last entity.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Thread-Pool for operators?
Next Topic: Re: Thread-Pool for operators?

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

Current Time: Sun Oct 12 10:33:26 PDT 2025

Total time taken to generate the page: 1.27983 seconds