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

Home » Public Forums » archive » Re: Extracting coordinates from 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: Extracting coordinates from EVF files [message #76125] Tue, 17 May 2011 06:30
guillermo.castilla.ca is currently offline  guillermo.castilla.ca
Messages: 27
Registered: September 2008
Junior Member
On May 16, 7:26 pm, fgg <fabioguimaraesgoncal...@gmail.com> wrote:
> Hi there. Is there an easy way (i.e. not manual) to get the coordinates of point records stored in EVF files?

Yes, e.g., ENVI> xy = get_evf_point_coordinates('C:\data
\my_evf_file.evf')

FUNCTION GET_EVF__POINT_COORDINATES, evf_fname
evf_id = envi_evf_open(evf_fname)
envi_evf_info, evf_id, num_recs=n
xy = dblarr(2,n)
for i=0L,n-1 do xy[*,i] = envi_evf_read_record(evf_id, i)
envi_evf_close, evf_id
return, xy
END

Saude/Guillermo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Add and manipulate a visualization to standard Itool
Next Topic: Add and manipulate a visualization to standard Itool

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

Current Time: Wed Oct 08 20:01:49 PDT 2025

Total time taken to generate the page: 0.38472 seconds