Changeset 2494 for TI05-delivery


Ignore:
Timestamp:
17/05/07 16:11:12 (13 years ago)
Author:
spascoe
Message:

Created a trivial CSML reading app based on Dom's code. Just shows the
featureIds for now.

Location:
TI05-delivery/ows_framework/trunk/ows_server
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/development.ini

    r2484 r2494  
    2020session_key = ows_server 
    2121session_secret = somesecret 
     22csml_dir = /research/home/spascoe/host/saturn/data/ddc_data/obs 
    2223 
    2324# If you'd like to fine-tune the individual locations of the cache data dirs 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/routing.py

    r2476 r2494  
    1818    # so they may take precedent over the more generic routes. For more information, refer 
    1919    # to the routes manual @ http://routes.groovie.org/docs/ 
    20     map.connect(':controller/:action/:id') 
    21     map.connect('*url', controller='template', action='view') 
     20    #map.connect(':controller/:action/:id') 
     21    #map.connect('*url', controller='template', action='view') 
     22 
     23    map.connect(':file/wms', controller='csml_wms') 
     24    map.connect(':file/:action', controller='csml_api') 
    2225 
    2326    return map 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/base.py

    r2484 r2494  
    1111 
    1212class BaseController(WSGIController): 
     13    def __call__(self, environ, start_response): 
     14        # Insert any code to be run per request here. The Routes match 
     15        # is under environ['pylons.routes_dict'] should you want to check 
     16        # the action or route vars here 
     17        return WSGIController.__call__(self, environ, start_response) 
     18 
     19class OwsController(BaseController): 
    1320    def __call__(self, environ, start_response): 
    1421 
Note: See TracChangeset for help on using the changeset viewer.