Changeset 2681
- Timestamp:
- 02/07/07 11:18:45 (14 years ago)
- Location:
- TI05-delivery/ows_framework/trunk/ows_server/ows_server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/routing.py
r2674 r2681 27 27 # change these when security layer is present and not before 28 28 #to 29 # 30 # 29 #map.connect('wms/:uri',controller='csml_wms') 30 #map.connect('wcs/:uri',controller='csml_wcs') 31 31 32 32 map.connect(':file/wms', controller='csml_wms') 33 33 map.connect('wcs/:fileoruri', controller='csml_wcs') 34 map.connect(':file /wcs', controller='csml_wcs')34 map.connect(':fileoruri/wcs', controller='csml_wcs') 35 35 map.connect(':file/status/:jobID', controller='status', action='getStatus') 36 36 -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs.py
r2677 r2681 128 128 """ 129 129 # Populate the context object with information required by the template 130 #c.dataset = get_csml_document(fileoruri)131 130 132 131 #get doc from cache or disk: -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/csml_util.py
r2677 r2681 40 40 #it's an NDG identifier, get the document from exist. 41 41 uri=fileoruri 42 uri='badc.nerc.ac.uk__NDG-A0__ReMryRVA' 42 print type(uri) 43 #uri='badc.nerc.ac.uk__NDG-A0__ReMryRVA' 44 uri=str(uri) 43 45 uriN=ndgObject.ndgObject(uri) 44 46 cf=request.environ['ndgConfig'] … … 51 53 securityTokens=securityTokens) 52 54 d=csml.parser.Dataset() 55 #print x 53 56 d.parseElemTree(x.tree) 54 57 return d -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgObject.py
r2680 r2681 13 13 Real services should also be available, and at some point of course the services should be looked up 14 14 at a service registry, but that's not yet available. ''' 15 15 uri=str(uri) #Dom had problem with unicode coming in here ... dunno why @@@@ 16 16 self.gettable=-1 # The specific record is not known to be gettable via any service 17 17 # other values of gettable allowed are
Note: See TracChangeset
for help on using the changeset viewer.