首页 / 浏览问题 / 桌面GIS / 问题详情
iDesktop 普通图层中添加OGC服务图层失败
14EXP 2019年05月28日

使用产品:iDesktop 9c 操作系统:win10 x64
数据类型: 文件型
问题详细描述:iDesktop 可以加载web数据集,但在普通图层中添加OGC服务图层却不行?如下图:

1个回答

你直接将图层添加到新地图可以出图吗?
1,076EXP 2019年05月28日

图层可以添加到新地图并出图,截图如下:

你看一下你的能力文档里面的剖分方式,剖分方式不同的话会出现这样的问题
你好,不知道你说的这个能力文档在哪个位置?
你打开的ogc服务的xml文档

你好,这是ogc服务的xml文档,内容如下:


<Capabilities
    xmlns="http://www.opengis.net/wmts/1.0"
    xmlns:ows="http://www.opengis.net/ows/1.1"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
    <!--  Service Identification  -->
    <ows:ServiceIdentification>
        <ows:Title>贵州AGO影像L5_L15</ows:Title>
        <ows:ServiceType>OGC WMTS</ows:ServiceType>
        <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
    </ows:ServiceIdentification>
    <!--  Operations Metadata  -->
    <ows:OperationsMetadata>
        <ows:Operation name="GetCapabilities">
            <ows:DCP>
                <ows:HTTP>
                    <ows:Get xlink:href="http://172.16.10.8/arcgis/rest/services/%E8%B4%B5%E5%B7%9EAGO%E5%BD%B1%E5%83%8FL5_L15/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml">
                        <ows:Constraint name="GetEncoding">
                            <ows:AllowedValues>
                                <ows:Value>RESTful</ows:Value>
                            </ows:AllowedValues>
                        </ows:Constraint>
                    </ows:Get>
                    <!--  add KVP binding in 10.1  -->
                    <ows:Get xlink:href="http://172.16.10.8/arcgis/rest/services/%E8%B4%B5%E5%B7%9EAGO%E5%BD%B1%E5%83%8FL5_L15/ImageServer/WMTS?">
                        <ows:Constraint name="GetEncoding">
                            <ows:AllowedValues>
                                <ows:Value>KVP</ows:Value>
                            </ows:AllowedValues>
                        </ows:Constraint>
                    </ows:Get>
                </ows:HTTP>
            </ows:DCP>
        </ows:Operation>
        <ows:Operation name="GetTile">
            <ows:DCP>
                <ows:HTTP>
                    <ows:Get xlink:href="http://172.16.10.8/arcgis/rest/services/%E8%B4%B5%E5%B7%9EAGO%E5%BD%B1%E5%83%8FL5_L15/ImageServer/WMTS/tile/1.0.0/">
                        <ows:Constraint name="GetEncoding">
                            <ows:AllowedValues>
                                <ows:Value>RESTful</ows:Value>
                            </ows:AllowedValues>
                        </ows:Constraint>
                    </ows:Get>
                    <ows:Get xlink:href="http://172.16.10.8/arcgis/rest/services/%E8%B4%B5%E5%B7%9EAGO%E5%BD%B1%E5%83%8FL5_L15/ImageServer/WMTS?">
                        <ows:Constraint name="GetEncoding">
                            <ows:AllowedValues>
                                <ows:Value>KVP</ows:Value>
                            </ows:AllowedValues>
                        </ows:Constraint>
                    </ows:Get>
                </ows:HTTP>
            </ows:DCP>
        </ows:Operation>
    </ows:OperationsMetadata>
    <Contents>
        <!-- Layer -->
        <Layer>
            <ows:Title>贵州AGO影像L5_L15</ows:Title>
            <ows:Identifier>贵州AGO影像L5_L15</ows:Identifier>
            <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::3857">
                <ows:LowerCorner>1.1510437110328078E7 2814454.377284613</ows:LowerCorner>
                <ows:UpperCorner>1.2234013906646969E7 3439441.73905842</ows:UpperCorner>
            </ows:BoundingBox>
            <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
                <ows:LowerCorner>103.40001583104251 24.4999970979103</ows:LowerCorner>
                <ows:UpperCorner>109.9000167847175 29.500013122064228</ows:UpperCorner>
            </ows:WGS84BoundingBox>
            <Style isDefault="true">
                <ows:Title>Default Style</ows:Title>
                <ows:Identifier>default</ows:Identifier>
            </Style>
            <Format>image/jpgpng</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>default028mm</TileMatrixSet>
            </TileMatrixSetLink>
            <TileMatrixSetLink>
                <!--
Only show this TileMatrixSet if the tiling scheme is compliant to Google Maps (and that happens with tile width = 256 px)
-->
                <TileMatrixSet>GoogleMapsCompatible</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/jpgpng" resourceType="tile" template="http://172.16.10.8/arcgis/rest/services/%E8%B4%B5%E5%B7%9EAGO%E5%BD%B1%E5%83%8FL5_L15/ImageServer/WMTS/tile/1.0.0/贵州AGO影像L5_L15/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}"/>

...