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

Home » Public Forums » archive » Raster to Vector
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: Raster to Vector [message #43459 is a reply to message #43431] Thu, 14 April 2005 01:20 Go to previous messageGo to previous message
jnettle1 is currently offline  jnettle1
Messages: 27
Registered: January 2001
Junior Member
For what it's worth, I don't think the help file is wrong, I think
you've copied it wrong. I think the real problem is that you're
setting l_names wrong. In the example you're giving, values is 4096,
and then you set l_names to the same thing, so l_names is also 4096.
But l_names is supposed to be a string array (l_names stands for level
names). This is how they set it in the example code:

envi_file_query, fid, ns=ns, nl=nl, $
class_names=class_names
pos = [0]
values = [1, 2, 3]
dims = [-1, 0, ns-1, 0, nl-1]
l_name = class_names[values]


where class_names are the names of the classes in the input image.
Yours looks like this:


values = [4096] ; the DN I want to convert
l_name = [values]


Try setting l_name to 'level4096' or something and see what you get.

Jeff


Julio wrote:
> Forget it, David...
> I don't remember how many times you help me with your codes...
> Actually, this IDL group helps a lot of people due to people like you
:-)
>
> regards,
> Julio
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: (OT) Web Hosting Special Offer.............
Next Topic: JPEG2000 compression ratios?

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

Current Time: Sat Oct 11 12:12:40 PDT 2025

Total time taken to generate the page: 1.92418 seconds