Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: EVF files
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 5521 of 6256
Post > Topic >>

Re: EVF files

by Jean H <jghasban@[EMAIL PROTECTED] > Mar 11, 2008 at 11:15 AM

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
 




 4 Posts in Topic:
EVF files
colerbe <lgmendes@[EMA  2008-03-10 03:23:35 
Re: EVF files
Reimar Bauer <R.Bauer@  2008-03-10 12:37:39 
Re: EVF files
Spon <christoph.blau@[  2008-03-11 09:51:45 
Re: EVF files
Jean H <jghasban@[EMAI  2008-03-11 11:15:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 23:43:32 CDT 2008.