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 
Return to the default flat view Create a new topic Submit Reply
Re: EVF files [message #59142] Tue, 11 March 2008 10:15 Go to previous message
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
[Message index]
 
Read Message
Read Message
Read Message
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: Fri Oct 10 02:29:16 PDT 2025

Total time taken to generate the page: 1.68035 seconds