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

Home » Public Forums » archive » ENVI batch ROI
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: ENVI batch ROI [message #31210 is a reply to message #31139] Wed, 19 June 2002 08:07 Go to previous messageGo to previous message
jdvona is currently offline  jdvona
Messages: 6
Registered: April 2002
Junior Member
"Peter Scarth" <p.scarth@uq.edu.au> wrote in message news:<ae3vlh$iii$1@bunyip.cc.uq.edu.au>...
> Hi John,
> This code seems to work OK in 3.5 with not-to-complex rainforest polygons.
> There was a bug in 3.2 that was fixed with SP2:
> The user procedure ENVI_DEFINE_ROI incorrectly bounded the incoming XPTS
> with number_of_lines-1 instead of number_of_samples-1
> The 3.2 service pack 2 seems to have vanished from the rsinc web site, but
> you can still get it from http://www.intersys21.com/product/alldown.html
> It might help...
> Cheers,
> Peter

Thanks for the help, but the patch didn't improve the situation. I
learned that the bug only occurs with multi-part polygons, e.g. veg
polygons that are bisected by roads, utilities right-of-ways etc,
which creates multiple pieces.
However, if I take an individual multi-part polygon, open it up in
ENVI, and convert it to an ROI using the ENVI widget, it works fine.
This means that something is obviously wrong with ENVI_DEFINE_ROI or
ENVI_MAP_CONVERT.

Too bad RSI doesn't let us peak at the code behind their functions so
I can fix this error. Is this corrected in 3.5?
John
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: axis is too thin? - test.ps (0/1)
Next Topic: Limiting concatenation IDL 5.5

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

Current Time: Sat Nov 29 15:18:27 PST 2025

Total time taken to generate the page: 0.80472 seconds