Changeset 833 for trunk/apps/lasinfo.c

Show
Ignore:
Timestamp:
08/17/08 02:23:21 (5 months ago)
Author:
hobu
Message:

add option to allow the skipping of printing VLRs #69

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/apps/lasinfo.c

    r821 r833  
    2727LASPointSummary* SummarizePoints(LASReaderH reader); 
    2828void print_point_summary(LASPointSummary* summary, LASHeaderH header); 
    29 void print_header(LASHeaderH header, const char* file_name); 
     29void print_header(LASHeaderH header, const char* file_name, int bSkipVLR); 
    3030 
    3131void usage() 
     
    8585    int use_stdin = FALSE; 
    8686    int update_return_counts = FALSE; 
     87    int skip_vlr = FALSE; 
    8788 
    8889 
     
    196197            change_header = TRUE; 
    197198        } 
    198                        
     199        else if (   strcmp(argv[i],"--skip_vlr") == 0   || 
     200                    strcmp(argv[i],"--no_vlr") == 0) 
     201        { 
     202            skip_vlr = TRUE; 
     203        }             
    199204        else if (i == argc - 1 && file_name == NULL) 
    200205        { 
     
    233238     
    234239     
    235     print_header(header, file_name); 
     240    print_header(header, file_name, skip_vlr); 
    236241     
    237242    if (change_header) {