def setup(self): SystemTest.setup(self) self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1')) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-180,0,0,80', width='200', height='200', layers='wms_cache', srs='EPSG:4326', format='image/png', exceptions='xml', styles='', request='GetMap')) self.common_fi_req = WMS111FeatureInfoRequest( url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='wms_cache', format='image/png', query_layers='wms_cache', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))
def setup(self): SystemTest.setup(self) self.common_cap_req = WMS111CapabilitiesRequest(url='/service?', param=dict( service='WMS', version='1.1.1')) self.common_map_req = WMS111MapRequest( url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-20037508,0.0,0.0,20037508', width='256', height='256', layers='wms_cache', srs='EPSG:900913', format='image/jpeg', styles='', request='GetMap')) self.common_fi_req = WMS111FeatureInfoRequest( url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='wms_cache', format='image/png', query_layers='wms_cache', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))
def setup(self): SystemTest.setup(self) self.common_cap_req = WMTS100CapabilitiesRequest(url='/service?', param=dict(service='WMTS', version='1.0.0', request='GetCapabilities')) self.common_tile_req = WMTS100TileRequest(url='/service?', param=dict(service='WMTS', version='1.0.0', tilerow='0', tilecol='0', tilematrix='01', tilematrixset='GLOBAL_MERCATOR', layer='wms_cache', format='image/jpeg', style='', request='GetTile'))
def setup(self): SystemTest.setup(self) self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1')) self.common_lg_req_111 = WMS111LegendGraphicRequest(url='/service?', param=dict(format='image/png', layer='wms_legend', sld_version='1.1.0')) self.common_lg_req_130 = WMS130LegendGraphicRequest(url='/service?', param=dict(format='image/png', layer='wms_legend', sld_version='1.1.0'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='0,0,10,10', width='200', height='200', srs='EPSG:4326', format='image/png', styles='', request='GetMap')) self.common_wms_url = ("/service?styles=&srs=EPSG%3A4326&version=1.1.1&" "bbox=0.0,0.0,10.0,10.0&service=WMS&format=image%2Fpng&request=GetMap" "&width=200&height=200")
def setup(self): SystemTest.setup(self) self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1')) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-180,0,0,80', width='200', height='200', layers='res', srs='EPSG:4326', format='image/png', transparent='true', styles='', request='GetMap'))
def setup(self): SystemTest.setup(self) self.common_cap_req = WMTS100CapabilitiesRequest(url='/service?', param=dict(service='WMTS', version='1.0.0', request='GetCapabilities')) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-180,0,0,80', width='100', height='100', layers='dop_l', srs='EPSG:4326', format='image/png', styles='', request='GetMap'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='0,-90,180,90', width='250', height='250', layers='tilesource', srs='EPSG:4326', format='image/png', styles='', request='GetMap', transparent=True)) self.common_tile_req = '/tiles/tilesource/EPSG4326/1/1/0.png'
def setup(self): SystemTest.setup(self) self.common_tile_req = WMTS100TileRequest(url='/service?', param=dict(service='WMTS', version='1.0.0', tilerow='0', tilecol='0', tilematrix='01', tilematrixset='GLOBAL_MERCATOR', layer='mixed_mode', format='image/png', style='', request='GetTile', transparent='True')) self.expected_base_path = '/service?SERVICE=WMS&REQUEST=GetMap&HEIGHT=256' \ '&SRS=EPSG%3A900913&styles=&VERSION=1.1.1&WIDTH=512' \ '&BBOX=-20037508.3428,0.0,20037508.3428,20037508.3428'
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-150,-40,-140,-30', width='100', height='100', layers='default', srs='EPSG:4326', format='image/png', styles='', request='GetMap'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='0,0,180,80', width='200', height='200', layers='mixed_mode', srs='EPSG:4326', format='image/png', styles='', request='GetMap', transparent='true')) self.expected_base_path = '/service?SERVICE=WMS&REQUEST=GetMap&HEIGHT=256' \ '&SRS=EPSG%3A900913&styles=&VERSION=1.1.1&WIDTH=512' \ '&BBOX=-20037508.3428,0.0,20037508.3428,20037508.3428'
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-180,-80,0,0', width='200', height='200', layers='gpkg', srs='EPSG:4326', format='image/png', styles='', request='GetMap'))
def setup(self): SystemTest.setup(self) self.common_cap_req = WMS111CapabilitiesRequest(url='/service?', param=dict(service='WMS', version='1.1.1')) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-20037508,0.0,0.0,20037508', width='256', height='256', layers='wms_cache', srs='EPSG:900913', format='image/jpeg', styles='', request='GetMap')) self.common_fi_req = WMS111FeatureInfoRequest(url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='wms_cache', format='image/png', query_layers='wms_cache', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))
def setup(self): SystemTest.setup(self) self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1')) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='-180,0,0,80', width='200', height='200', layers='wms_cache', srs='EPSG:4326', format='image/png', exceptions='xml', styles='', request='GetMap')) self.common_fi_req = WMS111FeatureInfoRequest(url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='wms_cache', format='image/png', query_layers='wms_cache', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))
def setup(self): SystemTest.setup(self) self.common_fi_req = WMS111FeatureInfoRequest( url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='fi_layer', format='image/png', query_layers='fi_layer', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='9,50,10,51', width='200', height='200', layers='online', srs='EPSG:4326', format='image/png', styles='', request='GetMap', transparent=True))
def setup(self): SystemTest.setup(self) self.common_fi_req = WMS111FeatureInfoRequest( url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='app2_with_layers_fi_layer', format='image/png', query_layers='app2_with_layers_fi_layer', styles='', bbox='1000,400,2000,1400', srs='EPSG:3857', info_format='application/json'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='0,0,10,10', width='200', height='200', srs='EPSG:4326', format='image/png', styles='', request='GetMap')) self.common_wms_url = ( "/service?styles=&srs=EPSG%3A4326&version=1.1.1&" "bbox=0.0,0.0,10.0,10.0&service=WMS&format=image%2Fpng&request=GetMap" "&width=200&height=200")
def setup(self): SystemTest.setup(self) self.common_fi_req = WMS111FeatureInfoRequest( url="/service?", param=dict( x="10", y="20", width="200", height="200", layers="fi_layer", format="image/png", query_layers="fi_layer", styles="", bbox="1000,400,2000,1400", srs="EPSG:900913", ), )
def setup(self): SystemTest.setup(self) self.common_cap_req = WMTS100CapabilitiesRequest( url="/service?", param=dict(service="WMTS", version="1.0.0", request="GetCapabilities") ) self.common_map_req = WMS111MapRequest( url="/service?", param=dict( service="WMS", version="1.1.1", bbox="-180,0,0,80", width="100", height="100", layers="dop_l", srs="EPSG:4326", format="image/png", styles="", request="GetMap", ), )
def setup(self): SystemTest.setup(self) self.common_cap_req = WMTS100CapabilitiesRequest( url="/service?", param=dict(service="WMTS", version="1.0.0", request="GetCapabilities") ) self.common_tile_req = WMTS100TileRequest( url="/service?", param=dict( service="WMTS", version="1.0.0", tilerow="0", tilecol="0", tilematrix="01", tilematrixset="GLOBAL_MERCATOR", layer="wms_cache", format="image/jpeg", style="", request="GetTile", ), )
def setup(self): SystemTest.setup(self) self.expected_base_path = '/service?SERVICE=WMS&REQUEST=GetMap&HEIGHT=256' \ '&SRS=EPSG%3A900913&styles=&VERSION=1.1.1&WIDTH=512' \ '&BBOX=-20037508.3428,-20037508.3428,20037508.3428,0.0'
def setup(self): SystemTest.setup(self) self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1'))
def setup(self): SystemTest.setup(self) self.common_fi_req = WMS111FeatureInfoRequest(url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='app2_with_layers_fi_layer', format='image/png', query_layers='app2_with_layers_fi_layer', styles='', bbox='1000,400,2000,1400', srs='EPSG:3857', info_format='application/json'))
def setup(self): SystemTest.setup(self) self.common_map_req = WMS111MapRequest(url='/service?', param=dict(service='WMS', version='1.1.1', bbox='9,50,10,51', width='200', height='200', layers='combinable', srs='EPSG:4326', format='image/png', styles='', request='GetMap'))
def setup(self): SystemTest.setup(self)
def setup(self): SystemTest.setup(self) self.common_fi_req = WMS111FeatureInfoRequest(url='/service?', param=dict(x='10', y='20', width='200', height='200', layers='fi_layer', format='image/png', query_layers='fi_layer', styles='', bbox='1000,400,2000,1400', srs='EPSG:900913'))