• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python system.SystemTest类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中mapproxy.test.system.SystemTest的典型用法代码示例。如果您正苦于以下问题:Python SystemTest类的具体用法?Python SystemTest怎么用?Python SystemTest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了SystemTest类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: setup

 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'))
开发者ID:GeoDodo,项目名称:mapproxy,代码行数:7,代码来源:test_wmts.py


示例2: setup

 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")
开发者ID:atrawog,项目名称:mapproxy,代码行数:8,代码来源:test_sld.py


示例3: setup

 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'))
开发者ID:atrawog,项目名称:mapproxy,代码行数:8,代码来源:test_scalehints.py


示例4: setup

    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'
开发者ID:Anderson0026,项目名称:mapproxy,代码行数:8,代码来源:test_source_errors.py


示例5: setup

 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'))
开发者ID:LKajan,项目名称:mapproxy,代码行数:8,代码来源:test_cache_band_merge.py


示例6: setup

 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'))
开发者ID:Anderson0026,项目名称:mapproxy,代码行数:8,代码来源:test_legendgraphic.py


示例7: setup

 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'
开发者ID:Anderson0026,项目名称:mapproxy,代码行数:8,代码来源:test_mixed_mode_format.py


示例8: setup

 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'))
开发者ID:LKajan,项目名称:mapproxy,代码行数:9,代码来源:test_cache_s3.py


示例9: setup

 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'))
开发者ID:LKajan,项目名称:mapproxy,代码行数:12,代码来源:test_wmsc.py


示例10: setup

 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'))
开发者ID:GeoDodo,项目名称:mapproxy,代码行数:13,代码来源:test_renderd_client.py


示例11: setup

 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",
         ),
     )
开发者ID:quiqua,项目名称:mapproxy,代码行数:17,代码来源:test_xslt_featureinfo.py


示例12: setup

 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",
         ),
     )
开发者ID:olt,项目名称:mapproxy,代码行数:20,代码来源:test_cache_band_merge.py


示例13: setup

 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",
         ),
     )
开发者ID:quiqua,项目名称:mapproxy,代码行数:20,代码来源:test_wmts.py


示例14: setup

 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'))
开发者ID:tjay,项目名称:mapproxy,代码行数:6,代码来源:test_arcgis.py


示例15: setup

 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'))
开发者ID:GeoDodo,项目名称:mapproxy,代码行数:6,代码来源:test_combined_sources.py


示例16: setup

 def setup(self):
     SystemTest.setup(self)
开发者ID:TNRIS,项目名称:mapproxy,代码行数:2,代码来源:test_wmts_restful.py


示例17: setup

 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'))
开发者ID:ChrisRenton,项目名称:mapproxy,代码行数:6,代码来源:test_xslt_featureinfo.py


示例18: setup

 def setup(self):
     SystemTest.setup(self)
     self.common_req = WMS111MapRequest(url='/service?', param=dict(service='WMS',
                                                                    version='1.1.1'))
开发者ID:LKajan,项目名称:mapproxy,代码行数:4,代码来源:test_wms_srs_extent.py



注:本文中的mapproxy.test.system.SystemTest类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python coverage.load_limited_to函数代码示例发布时间:2022-05-27
下一篇:
Python system.module_setup函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap