Ignore:
Timestamp:
28/02/07 10:24:17 (13 years ago)
Author:
domlowe
Message:

adding online parser to svn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmlbuilder.py

    r2212 r2215  
    11import csml 
     2import sys 
    23 
    34#Class for building the csml document.  
     
    2122        #wrapper method to call methods in correct order. 
    2223        self.createDataset() 
    23         self.addGMLMetadata() 
     24        try: 
     25            self.addGMLMetadata() 
     26        except TypeError: 
     27            #this is caused by an incorrect directory name 
     28            print 'error: Cannot find a config file at this location.' 
     29            sys.exit() 
     30             
    2431        self.createFeatureFileMap() 
    2532        if self.spatialstorage=='fileextract': 
Note: See TracChangeset for help on using the changeset viewer.