Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Return a new WMSClient that combines this request with the `other`. Returns
``None`` if the clients are not combinable (e.g. different URLs).

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_client.py   MapProxy(Download)
        req = MapQuery((-200000, -200000, 200000, 200000), (512, 512), SRS(900913), 'png')
 
        combined = wms1.combined_client(wms2, req)
        eq_(combined.request_template.params.layers, ['foo', 'bar'])
        eq_(combined.request_template.url, TESTSERVER_URL + '/service?map=foo')
        req = MapQuery((-200000, -200000, 200000, 200000), (512, 512), SRS(900913), 'png')
 
        combined = wms1.combined_client(wms2, req)
        assert combined is None
 

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_client.py   mapproxy(Download)
        req = MapQuery((-200000, -200000, 200000, 200000), (512, 512), SRS(900913), 'png')
 
        combined = wms1.combined_client(wms2, req)
        eq_(combined.request_template.params.layers, ['foo', 'bar'])
        eq_(combined.request_template.url, TESTSERVER_URL + '/service?map=foo')
        req = MapQuery((-200000, -200000, 200000, 200000), (512, 512), SRS(900913), 'png')
 
        combined = wms1.combined_client(wms2, req)
        assert combined is None