Re: EVF files [message #59142] |
Tue, 11 March 2008 10:15 |
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  |
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  |
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
|
|
|