Changeset 3046


Ignore:
Timestamp:
23/11/07 14:42:34 (12 years ago)
Author:
domlowe
Message:

added uomlabels attribute to profile feature

File:
1 edited

Legend:

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

    r3045 r3046  
    368368                psDomain.axisLabels=crs.axisLabels # note this is the xml attribute axisLabels, not the child element (aLabels) 
    369369                psDomain.srsDimension=crs.srsDimension 
     370                if crs.units is not None: 
     371                    psDomain.uomLabels=crs.units 
     372                else: 
     373                    psDomain.uomLabels="could not get units" 
    370374                aLabels='' 
    371375                for dim in dimNames: 
Note: See TracChangeset for help on using the changeset viewer.