Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13975 closed defect (fixed)

can not add wmts layers

Reported by: mnameghi@… Owned by: wiktorn
Priority: normal Milestone: 16.12
Component: Core imagery Version: latest
Keywords: wmts regression Cc:

Description

I can not add wmts layers when I updated to version 11223.

In old version after I added wmts a window showed to selection layer and in this version no windowd shown!

Attachments (0)

Change History (15)

comment:1 Changed 5 years ago by wiktorn

Owner: changed from team to mnameghi@…
Status: newneedinfo

Can you share with which WMTS service you try to work with?

comment:2 Changed 5 years ago by anonymous

My service is private and used in our company. I can't share it. sorry!
But it's worked in previous version.

comment:3 Changed 5 years ago by anonymous

This is xml of my wmts service.

<?xml version="1.0" encoding="UTF-8"?>

<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>title</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://.../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://.../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://.../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://.../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>title</ows:Title> 
    <ows:Identifier>title</ows:Identifier>
    
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::3857">
          
                        <ows:LowerCorner>6605355.779736081 4318833.249870216</ows:LowerCorner>
                        <ows:UpperCorner>6654653.483131104 4371994.416498602</ows:UpperCorner>
                
      </ows:BoundingBox>  
      
    <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>59.33692053984141 36.132244122835495</ows:LowerCorner>
      <ows:UpperCorner>59.779769344158815 36.51699608619589</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://.../WMTS/tile/1.0.0/title/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}" />
  </Layer> 
   <!--TileMatrixSet-->
   <TileMatrixSet>
     <ows:Title>TileMatrix using 0.28mm</ows:Title>
     <ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract> 
     <ows:Identifier>default028mm</ows:Identifier>
     <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
      
          <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          
          <ScaleDenominator>5.590822640285016E8</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>1</MatrixWidth> 
            <MatrixHeight>1</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          
          <ScaleDenominator>2.7954113201425034E8</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>2</MatrixWidth> 
            <MatrixHeight>1</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          
          <ScaleDenominator>1.3977056600712562E8</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>3</MatrixWidth> 
            <MatrixHeight>2</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          
          <ScaleDenominator>6.988528300356235E7</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>6</MatrixWidth> 
            <MatrixHeight>4</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          
          <ScaleDenominator>3.494264150178117E7</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>11</MatrixWidth> 
            <MatrixHeight>7</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          
          <ScaleDenominator>1.7471320750890587E7</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>22</MatrixWidth> 
            <MatrixHeight>13</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          
          <ScaleDenominator>8735660.375445293</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>43</MatrixWidth> 
            <MatrixHeight>26</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          
          <ScaleDenominator>4367830.187722647</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>86</MatrixWidth> 
            <MatrixHeight>51</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          
          <ScaleDenominator>2183915.0938617955</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>171</MatrixWidth> 
            <MatrixHeight>101</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          
          <ScaleDenominator>1091957.5469304253</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>342</MatrixWidth> 
            <MatrixHeight>201</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          
          <ScaleDenominator>545978.7734656851</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>683</MatrixWidth> 
            <MatrixHeight>402</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>11</ows:Identifier>
          
          <ScaleDenominator>272989.38673237007</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>1365</MatrixWidth> 
            <MatrixHeight>804</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>12</ows:Identifier>
          
          <ScaleDenominator>136494.69336618503</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>2729</MatrixWidth> 
            <MatrixHeight>1607</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>13</ows:Identifier>
          
          <ScaleDenominator>68247.34668309252</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>5457</MatrixWidth> 
            <MatrixHeight>3214</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>14</ows:Identifier>
          
          <ScaleDenominator>34123.67334154626</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>10913</MatrixWidth> 
            <MatrixHeight>6427</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>15</ows:Identifier>
          
          <ScaleDenominator>17061.836671245605</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>21826</MatrixWidth> 
            <MatrixHeight>12853</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>16</ows:Identifier>
          
          <ScaleDenominator>8530.918335622802</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>43651</MatrixWidth> 
            <MatrixHeight>25706</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>17</ows:Identifier>
          
          <ScaleDenominator>4265.459167338929</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>87302</MatrixWidth> 
            <MatrixHeight>51411</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>18</ows:Identifier>
          
          <ScaleDenominator>2132.729584141936</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>174603</MatrixWidth> 
            <MatrixHeight>102822</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>19</ows:Identifier>
          
          <ScaleDenominator>1066.3647915984968</ScaleDenominator>
          
          <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>349205</MatrixWidth> 
            <MatrixHeight>205643</MatrixHeight>
          
          </TileMatrix>
          
   </TileMatrixSet>
   
   <TileMatrixSet>
      <ows:Title>GoogleMapsCompatible</ows:Title>
      <ows:Abstract>the wellknown 'GoogleMapsCompatible' tile matrix set defined by OGC WMTS specification</ows:Abstract>
      <ows:Identifier>GoogleMapsCompatible</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG:6.18.3:3857</ows:SupportedCRS>
      <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
      <TileMatrix>
        <ows:Identifier>0</ows:Identifier>
        <ScaleDenominator>559082264.0287178</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>1</ows:Identifier>
        <ScaleDenominator>279541132.0143589</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>2</ows:Identifier>
        <ScaleDenominator>139770566.0071794</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>3</ows:Identifier>
        <ScaleDenominator>69885283.00358972</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>4</ows:Identifier>
        <ScaleDenominator>34942641.50179486</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>5</ows:Identifier>
        <ScaleDenominator>17471320.75089743</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>6</ows:Identifier>
        <ScaleDenominator>8735660.375448715</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>7</ows:Identifier>
        <ScaleDenominator>4367830.187724357</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>8</ows:Identifier>
        <ScaleDenominator>2183915.093862179</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>9</ows:Identifier>
        <ScaleDenominator>1091957.546931089</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>10</ows:Identifier>
        <ScaleDenominator>545978.7734655447</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>11</ows:Identifier>
        <ScaleDenominator>272989.3867327723</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>12</ows:Identifier>
        <ScaleDenominator>136494.6933663862</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>13</ows:Identifier>
        <ScaleDenominator>68247.34668319309</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>14</ows:Identifier>
        <ScaleDenominator>34123.67334159654</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>15</ows:Identifier>
        <ScaleDenominator>17061.83667079827</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>16</ows:Identifier>
        <ScaleDenominator>8530.918335399136</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>17</ows:Identifier>
        <ScaleDenominator>4265.459167699568</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>18</ows:Identifier>
        <ScaleDenominator>2132.729583849784</ScaleDenominator>
        <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      </TileMatrixSet>
    
</Contents>
<ServiceMetadataURL xlink:href="http://.../WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
Last edited 5 years ago by simon04 (previous) (diff)

comment:4 Changed 5 years ago by simon04

Replacing ... by 127.0.0.1:8000 and using a local server (php -S 127.0.0.1:8000), I get:

2016-11-14 20:26:23.945 WARNING: java.net.MalformedURLException: no protocol:
java.net.MalformedURLException: no protocol: 
	at java.net.URL.<init>(URL.java:593)
	at java.net.URL.<init>(URL.java:490)
	at java.net.URL.<init>(URL.java:439)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.getUrl(TMSCachedTileLoaderJob.java:116)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.submit(JCSCachedTileLoaderJob.java:154)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.submit(TMSCachedTileLoaderJob.java:155)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.loadTile(AbstractTileSourceLayer.java:994)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.access$500(AbstractTileSourceLayer.java:117)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.loadAllTiles(AbstractTileSourceLayer.java:1357)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.access$1200(AbstractTileSourceLayer.java:1272)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawInViewArea(AbstractTileSourceLayer.java:1556)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.access$2900(AbstractTileSourceLayer.java:117)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.doPaint(AbstractTileSourceLayer.java:1945)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.paint(AbstractTileSourceLayer.java:1940)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:441)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:501)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)

At org.openstreetmap.josm.data.imagery.WMTSTileSource#getTileUrl, currentLayer == null holds true.

comment:5 Changed 5 years ago by anonymous

I am replacing url by (...) because it is private.
here is a wmts service from josm imagery list. and it is not work in latest version.

https://ide.ign.gob.ar/geoservicios/rest/services/Mapas_IGN/mapa_topografico/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

comment:6 in reply to:  5 Changed 5 years ago by simon04

Replying to anonymous:

I am replacing url by (...) because it is private.

I got that. For testing those ellipses are not helpful.

here is a wmts service from josm imagery list. and it is not work in latest version.

https://ide.ign.gob.ar/geoservicios/rest/services/Mapas_IGN/mapa_topografico/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

This WMTS works for me (e.g. tested w/ abw).

comment:7 Changed 5 years ago by simon04

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.


comment:8 Changed 5 years ago by wiktorn

Owner: changed from mnameghi@… to wiktorn
Status: needinfoassigned

I have test case that fails based on this information and a working fix.

I should push it tomorrow after additional checks.

comment:9 in reply to:  7 Changed 5 years ago by anonymous

Replying to simon04:

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.


Here is my wmts with version 10966
https://s22.postimg.org/jcxf1859d/Screenshot_20161115_073735.png

and this is my wmts with new version

https://s13.postimg.org/spx9iiprr/Screenshot_20161115_073850.png

comment:10 Changed 5 years ago by wiktorn

Resolution: fixed
Status: assignedclosed

In 11257/josm:

Make DefaultLayer a type that can have layerName and tileMatrixSet

As WMTS specification gives possibility to have many tileMatrixSet's for
one layer and projection, default layer must specify both - layerName
and tileMatrixSet.

Accommodate to that fact layer selection dialogs and internal
computations in WMTS TileSource.

Closes: #13975

comment:11 Changed 5 years ago by Don-vip

Keywords: regression added
Milestone: 16.11

comment:12 in reply to:  11 ; Changed 5 years ago by anonymous

Replying to Don-vip:
How to make default layer?
And in new version why layer selection dialog not showed?

comment:13 in reply to:  12 Changed 5 years ago by wiktorn

Replying to anonymous:

Replying to Don-vip:
How to make default layer?
And in new version why layer selection dialog not showed?

In the latest version - https://josm.openstreetmap.de/download/josm-latest.jnlp - (later than 11257) - JOSM should ask you about the layer.

The problem with this source is that it provides two TileMatrix for the same projection (EPSG:3857) - which doesn't make much sense. How I, as a user should know, which I should use - if they should contain the same information (though they don't have to).

comment:14 Changed 5 years ago by Don-vip

Milestone: 16.1116.12

Milestone renamed

comment:15 Changed 5 years ago by anonymous

Ticket #14144 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain wiktorn.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.