Beispiel #1
0
 def GetFeatureInfo(self, params):
     # support for QGIS 1.3.0 GetFeatInfo...
     if not params.get('i') and not params.get('j'):
         params['i'] = params.get('x',params.get('X'))
         params['j'] = params.get('y',params.get('Y'))
     # support 1.1.1 request that end up using 1.3.0 impl
     # because the version is not included in GetMap
     # ArcGIS 9.2 for example makes 1.1.1 GetCaps request
     # but leaves version out of GetMap
     if not params.get('crs') and params.get('srs'):
         params['crs'] = params.get('srs')
     return WMSBaseServiceHandler.GetFeatureInfo(self, params, 'query_map_point')
Beispiel #2
0
 def GetFeatureInfo(self, params):
     params['crs'] = params['srs']
     params['i'] = params['x']
     params['j'] = params['y']
     return WMSBaseServiceHandler.GetFeatureInfo(self, params,
                                                 'query_map_point')