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

Home » Public Forums » archive » Re: EVF files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: EVF files [message #59142] Tue, 11 March 2008 10:15
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
colerbe wrote:
> Hello everyone,
>
> I need to join several different EVF files into one unique vector
> file.
> Can you please tell me how to solve this problem?
>
> Thanks in advance,
> Luis

Have a look at ENVI_EVF_DEFINE_ADD_RECORD
There is an example where several polygons, points, lines are added to a
new vector.

In your case, you would have to get each vector set of coordinate.
One at a time, open the EVF files.
Use ENVI_EVF_INFO to find the number (and type!) of entities in your EVF
file.
Loop through each record and get the coordinates using
ENVI_EVF_READ_RECORD. Eventually, read the DBF file (if any) using a
shapefile reader (yes, it is weird, but that the way it is... open a
shapefile with no shape, so you can read the dbf. I believe there is a
good example on David Fanning website).

then you just have to copy the coordinates and the DBF content to your
new vector!

Jean
Re: EVF files [message #59144 is a reply to message #59142] Tue, 11 March 2008 09:51 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Mar 10, 11:37 am, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
> colerbe schrieb:
>
>> Hello everyone,
>
>> I need to join several different EVF files into one unique vector
>> file.
>> Can you please tell me how to solve this problem?
>
>> Thanks in advance,
>> Luis
>
> What are EVF files?
>
> cheers
> Reimar

.evf files seem to be ENVI vector files, Reimar.
Luis: as I don't have ENVI, I can't tell if this will be any use, but
take a look at:

http://www.ittvis.com/codebank/search.asp?FID=93

for a programme that converts these to ROIs written by David
Gorodetzky. I don't know, maybe they'll be converted to IDLanRoI
objects for you.

Good luck!
Chris
Re: EVF files [message #59163 is a reply to message #59144] Mon, 10 March 2008 04:37 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
colerbe schrieb:
> Hello everyone,
>
> I need to join several different EVF files into one unique vector
> file.
> Can you please tell me how to solve this problem?
>
> Thanks in advance,
> Luis

What are EVF files?

cheers
Reimar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pixel_size in mosaic_doit
Next Topic: Computer Has Sense of Humor

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

Current Time: Wed Oct 08 19:26:42 PDT 2025

Total time taken to generate the page: 0.00623 seconds