Ignore:
Timestamp:
30/08/06 14:49:23 (13 years ago)
Author:
domlowe
Message:

fixed multiple glitches in scanner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/Scanner/csmlscan.py

    r1380 r1464  
    167167    # Handle defaults in case of no file mapping: 
    168168    if MAPPING is None: 
    169         if FEATURETYPE == "PointFeature": 
     169        if FEATURETYPE == "Point": 
    170170            MAPPING = 'onetoone' #default filemapping for PointFeature (?) 
    171         elif FEATURETYPE == "ProfileFeature":             
     171        elif FEATURETYPE == "Profile":             
    172172            MAPPING = 'onetoone' #default filemapping for ProfileFeature (?) 
    173         elif FEATURETYPE == "GridFeature": 
     173        elif FEATURETYPE == "Grid": 
    174174            MAPPING = 'onetoone' #default filemapping for GridFeature  
    175         elif FEATURETYPE == "PointSeriesFeature": 
     175        elif FEATURETYPE == "PointSeries": 
    176176            MAPPING = 'onetomany' 
    177         elif FEATURETYPE == "ProfileSeriesFeature": 
     177        elif FEATURETYPE == "ProfileSeries": 
    178178            MAPPING = 'onetomany' #default filemapping for ProfileSeriesFeature (?) 
    179         elif FEATURETYPE == "GridSeriesFeature": 
     179        elif FEATURETYPE == "GridSeries": 
    180180            MAPPING = 'onetomany' #default filemapping for GridSeriesFeature 
    181181     
Note: See TracChangeset for help on using the changeset viewer.