Ignore:
Timestamp:
03/12/07 14:24:14 (12 years ago)
Author:
lawrence
Message:

Most of the coding for geospatial operators. Improvements
to results display for multiple bounding boxes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgSearch.py

    r3059 r3093  
    4646        self.status=None 
    4747     
    48     def search(self,term,start=1,howmany=20,target='All',scope=None,bbox=None,dateRange=None,): 
     48    def search(self,term,start=1,howmany=20,target='All',scope=None,bbox=None,dateRange=None,geoSearchType='overlaps'): 
    4949        ''' Get a list of documents for a specific term using a free text search''' 
    5050         
     
    6565            box.LimitNorth,box.LimitWest,box.LimitEast,box.LimitSouth=map(float,bbox) 
    6666            request.BoundingBox=box 
     67            request.SpatialOperator=geoSearchType 
    6768         
    6869        if scope is not None: 
Note: See TracChangeset for help on using the changeset viewer.