X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Jul 2010 03:45 PM by  anon
import las lidar
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
15 Jul 2010 03:45 PM
    Hello Everyone I need to import 40 files las lidar, to envi format, for then mosaicking ..... I write the next script....... but no found ... could someone help me with this??? please F80='(80("-"))' F80E='(80("="))' F120='(120("-"))' F120E='(120("="))' F120S='(120("*"))' ; ********************************************************************* ; PARAMETERS ; ********************************************************************* ifolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/' tfolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/salida/' ofolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/salida/' bands = [0] ; !!! Subtract one to adjust for ENVI band numbering !!! name='pc' ; ********************************************************************* ; ; Close previous open files CLOSEALLENVI, fid=0, all=1 ; Select input folder that contains all files PRINT, FORMAT=F120S PRINT, 'The selected folder is: ', ifolder ; Read all files in the folder filelist = FILE_SEARCH(ifolder, name+'*.las') numberOfFiles = N_ELEMENTS(filelist) PRINT, FORMAT=F80 PRINT, 'The following files will be processed: ', filelist PRINT, 'Number of files to process: ', numberOfFiles PRINT, FORMAT=F80 ENVI_DOIT, 'ENVI_CONVERT_LIDAR_DATA_DOIT', BACKGROUND=0, DATA_TYPE=4,$ FNAME=FNAME, OUT_FNAME=OUT_NAME, $ INTERP=0 , MODEL_TYPE=0, $ OMAP_INFO=Map_Info, out_image = 0, /open end thanks in advanced..... david

    Deleted User



    New Member


    Posts:
    New Member


    --
    19 Jul 2010 09:08 AM
    end ^ % Syntax error. At: /home/david/IDLWorkspace71/Default/class_steff/OpenLidar.pro, Line 46 % End of file encountered before end of program. At: /home/david/IDLWorkspace71/Default/class_steff/OpenLidar.pro, Line 47 % 2 Compilation error(s) in module OPENLIDAR.

    Deleted User



    New Member


    Posts:
    New Member


    --
    19 Jul 2010 11:31 AM
    hi you know advertising is not for my here go script..... PRO OpenLidar ; ********************************************************************* ; DESCRIPTION: Program to import LIDAR LAS images, ; ; ********************************************************************* ; AUTHOR: David Lopez Aspe ; MAIL: david.lopez@ceaza.cl ; ********************************************************************* ; DATE: 2010/07/07 ; ********************************************************************* ; FORMATS ; ********************************************************************* F80='(80("-"))' F80E='(80("="))' F120='(120("-"))' F120E='(120("="))' F120S='(120("*"))' ; ********************************************************************* ; PARAMETERS ; ********************************************************************* ifolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/' tfolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/salida/' ofolder = '/home/david/img_sat/morro/lidar/Mina_LAS_SIRGAS2000/ELIPSOIDAL/salida/' bands = [0] ; !!! Subtract one to adjust for ENVI band numbering !!! name='pc' ; ********************************************************************* ; ; Close previous open files CLOSEALLENVI, fid=0, all=1 ; Select input folder that contains all files PRINT, FORMAT=F120S PRINT, 'The selected folder is: ', ifolder ; Read all files in the folder filelist = FILE_SEARCH(ifolder, name+'*.las') numberOfFiles = N_ELEMENTS(filelist) PRINT, FORMAT=F80 PRINT, 'The following files will be processed: ', filelist PRINT, 'Number of files to process: ', numberOfFiles PRINT, FORMAT=F80 ENVI_DOIT, 'ENVI_CONVERT_LIDAR_DATA_DOIT', BACKGROUND=0, DATA_TYPE=4,$ FNAME=FNAME, OUT_FNAME=OUT_NAME, $ INTERP=0 , MODEL_TYPE=0, $ OMAP_INFO=Map_Info, out_image = 0, /open end my bugs are on the last line fails to close my script to run ENVI_DOIT, 'ENVI_CONVERT_LIDAR_DATA_DOIT'... thanks in advanced... bye
    You are not authorized to post a reply.