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/DiscoveryState.py

    r3060 r3093  
    55    def __init__(self, **kw): 
    66        self.values={} 
    7         keys=['dateRange','bbox','scope','textTarget','searchString'] 
     7        keys=['dateRange','bbox','scope','textTarget','searchString','geoSearchType'] 
    88        for key in keys:self.values[key]=None 
    99        print kw 
     
    3131            c+='Global; ' 
    3232        else: 
    33             c+='from latitude %s to %sN and longitude %s to %sE; '%(bbox[3],bbox[0],bbox[1],bbox[2]) 
     33            overlaps=self.values['geoSearchType'] or 'overlaps' 
     34            c+='which %s latitude %s to %sN and longitude %s to %sE; '%( 
     35                overlaps,bbox[3],bbox[0],bbox[1],bbox[2]) 
    3436            #c+='Bounding Box: %sN,%sW,%sE,%sS; '%tuple(bbox) 
    3537        if self.values['scope'] is not None or self.values['textTarget'] is not None: 
Note: See TracChangeset for help on using the changeset viewer.