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

Home » Public Forums » archive » ENVI Vector File with IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ENVI Vector File with IDL [message #48357] Thu, 13 April 2006 11:33 Go to previous message
rafaloos is currently offline  rafaloos
Messages: 15
Registered: January 2006
Junior Member
I am trying to create an Envi Vector File (EVF) with IDL.
ENVI has a funciton for doing that and also gives an example on how to
create a PRO file.

Here is a small piece of the code:

pro create_new_evf_file
;
; Create a Geographic projection
; with the default datum and units.
;
proj = envi_proj_create(/geographic)
;
; Define a polyline vector in Lat/Lon coordinates
;
polyline = [ $
-106.904, 41.5887, $
-106.821, 42.2302, $
-106.013, 42.2183, $
; ..........
; Initialize the new EVF file
;
evf_ptr = envi_evf_define_init('sample.evf', $
projection=proj, data_type=4, $
layer_name='Sample EVF File')
;...........


How can I call that ENVI_PROJ_CREATE function with IDL?
If I try to run the code as it is, I receive this message from IDL:

proj = envi_proj_create(/geographic)
^
% Syntax error.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Free source code diagramming programs
Next Topic: Uniting IDL and Matlab

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

Current Time: Wed Oct 08 13:10:50 PDT 2025

Total time taken to generate the page: 0.00411 seconds