Ignore:
Timestamp:
21/11/08 14:22:57 (13 years ago)
Author:
domlowe
Message:

Fixes to enable Point and GridSeries? subsetting in WFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/wfs_controller.py

    r4431 r4481  
    185185                log.debug('valuecomponent %s'%valuecomponent) 
    186186                if valuecomponent is not None: 
    187                     attribute=valuecomponent.get(attributeName) 
    188                     #TODO: important- how does WFS 2.0 represent xml attribute content?? if it does at all?? 
    189                     #for now, have created element from attribute name e.g. <gml:id> 
    190                     newelem=etree.Element(attributeName) 
    191                     newelem.text=attribute                    
    192                     valstr=etree.tostring(newelem)                     
    193                     resultset.append(valstr)             
     187                    attribute=valuecomponent.get(attributeName)          
     188                    resultset.append(attribute)             
    194189        log.debug(resultset) 
    195190        return resultset       
Note: See TracChangeset for help on using the changeset viewer.