Changeset 5132


Ignore:
Timestamp:
23/03/09 13:11:37 (10 years ago)
Author:
domlowe
Message:

typename parameter enabled in WFS #2

File:
1 edited

Legend:

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

    r5131 r5132  
    260260        queryxml=self.getOwsParam('query',default=None) 
    261261        storedqueryid=self.getOwsParam('storedquery_id', default=None) 
     262        typename=self.getOwsParam('typename', default=None) 
    262263        
    263264        #retrieve any other parameters and pass them off to the stored query (they are ignored in the case of the queryxml option 
    264265        otherparams={} 
    265266        for key in self._owsParams.keys(): 
    266             if key not in ['query', 'request', 'service', 'version', 'storedquery_id']: 
     267            if key not in ['query', 'request', 'service', 'version', 'storedquery_id', 'typename']: 
    267268                otherparams[key]=self._owsParams[key]        
    268         c.resultset, c.additionalobjects=self._runQuery(queryxml, storedqueryid, **otherparams) 
     269        c.resultset, c.additionalobjects=self._runQuery(queryxml, storedqueryid, typename, **otherparams) 
    269270                
    270271        #Group resultset together in a wfs feature collection (use template) 
Note: See TracChangeset for help on using the changeset viewer.