Beispiel #1
0
 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_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'
Beispiel #3
0
 def 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="wms_cache",
             format="image/jpeg",
             style="",
             request="GetTile",
         ),
     )
Beispiel #4
0
 def 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"
Beispiel #5
0
 def 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_WEBMERCATOR",
             layer="multi_cache",
             format="image/png",
             style="",
             request="GetTile",
         ),
     )