Ignore:
Timestamp:
06/11/08 14:56:17 (11 years ago)
Author:
domlowe
Message:

Validated output of describestoredqueries and liststoredqueries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/service/imps/csmlbackend/wfs_csmllayer.py

    r4408 r4412  
    9191        qid='queryOne'         
    9292        qet=QueryExpressionText('csml:PointSeriesFeature') #TODO, possibly this could differ for different features... 
    93         query=StoredQuery(qid, queryExpressionText = qet) 
     93        pex=ParameterExpression('nameblah1', 'typeblah1') 
     94        query=StoredQuery(qid, title='blah1', abstract = 'my blah1 query', queryExpressionText = qet, parameter=pex) 
    9495        self.queries[qid]=(query, CSMLQueries.query_one_func) 
    9596         
    9697        qid='queryTwo' 
    9798        qet=QueryExpressionText('csml:GridSeriesFeature') #TODO, possibly this could differ for different features... 
    98         query=StoredQuery(qid,queryExpressionText = qet) 
     99        pex=ParameterExpression('nameblah2', 'typeblah2') 
     100        query=StoredQuery(qid, title='blah2', abstract = 'my blah2 query', queryExpressionText = qet, parameter=pex) 
    99101        self.queries[qid]=(query, CSMLQueries.query_two_func)       
     102 
     103         
     104 
     105 
     106 
     107 
    100108 
    101109class CSMLFeatureSet(IFeatureSet): 
Note: See TracChangeset for help on using the changeset viewer.