Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Contributor
Posts: 9
Registered: ‎09-18-2018

GMSC 2015 I can create WMTS but don't see it.(error)

[ Edited ]

Hi

 

I've created a WMTS but I can't see it. I wonder

 

I get an ERROR 500 with this  xml page

 

<Error>
<Message>An error has occurred.</Message>
</Error>

The url is

http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}

 

http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/TESTWMTS/10/656/998

http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/TESTWMTS/10/656/998.png

 

when I use the

http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/EPSG:2193/10/656/998

 

it returns a runtime error. "Server Error in '/GMSC/Maps' Application."

 

 

On my

<TileMatrix>
<ows:Identifier>10</ows:Identifier>
<ScaleDenominator>3881.86</ScaleDenominator>
<TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>1024</MatrixWidth>
<MatrixHeight>1024</MatrixHeight>
</TileMatrix>

 

I would like to see the logs on the server but I couldn't find any. Do you know where I may find this logs?

 I tried:

  • GeoMedia SmartClient\Program\TileService\Log
  • GeoMedia SmartClient\Program\Maps\Log
  • GeoMedia SmartClient\Program\Public\Log

 

Please consider the WMTSCapabilities bellow. (I couldn't attached the xml file)

 

<?xml version="1.0" encoding="utf-8"?>
<Capabilities xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.opengis.net/wmts/1.0">
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="http://SERVERNAME/GMSC/Maps/Wmts">
            <ows:Constraint name="GetEncoding">
              <ows:AllowedValues>
                <ows:Value>RESTful</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://SERVERNAME/GMSC/Maps/Wmts">
            <ows:Constraint name="GetEncoding">
              <ows:AllowedValues>
                <ows:Value>RESTful</ows:Value>
              </ows:AllowedValues>
            </ows:Constraint>
          </ows:Get>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
  </ows:OperationsMetadata>
  <Contents>
    <Layer>
      <ows:Title>TESTWMTS</ows:Title>
      <ows:Identifier>TESTWMTS</ows:Identifier>
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::2193">
        <ows:LowerCorner>1251083.78 4905797.66</ows:LowerCorner>
        <ows:UpperCorner>1536013.77 5190727.65</ows:UpperCorner>
      </ows:BoundingBox>
      <Style isDefault="true">
        <ows:Identifier>Default</ows:Identifier>
      </Style>
      <Format>image/jpeg</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>TESTWMTS</TileMatrixSet>
      </TileMatrixSetLink>
      <ResourceURL format="image/jpeg" resourceType="tile" template="http://SERVERNAME/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}" />
    </Layer>
    <TileMatrixSet>
      <ows:Identifier>TESTWMTS</ows:Identifier>
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::2193">
        <ows:LowerCorner>1251083.78 4905797.66</ows:LowerCorner>
        <ows:UpperCorner>1536013.77 5190727.65</ows:UpperCorner>
      </ows:BoundingBox>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::2193</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>0</ows:Identifier>
        <ScaleDenominator>3975027.76</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>1</ows:Identifier>
        <ScaleDenominator>1987513.88</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>2</ows:Identifier>
        <ScaleDenominator>993756.94</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>3</ows:Identifier>
        <ScaleDenominator>496878.47</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>4</ows:Identifier>
        <ScaleDenominator>248439.24</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>5</ows:Identifier>
        <ScaleDenominator>124219.62</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>6</ows:Identifier>
        <ScaleDenominator>62109.81</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>7</ows:Identifier>
        <ScaleDenominator>31054.9</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>8</ows:Identifier>
        <ScaleDenominator>15527.45</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>9</ows:Identifier>
        <ScaleDenominator>7763.73</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>10</ows:Identifier>
        <ScaleDenominator>3881.86</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>11</ows:Identifier>
        <ScaleDenominator>1940.93</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>12</ows:Identifier>
        <ScaleDenominator>970.47</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>13</ows:Identifier>
        <ScaleDenominator>485.23</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>14</ows:Identifier>
        <ScaleDenominator>242.62</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>15</ows:Identifier>
        <ScaleDenominator>121.31</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>16</ows:Identifier>
        <ScaleDenominator>60.65</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>17</ows:Identifier>
        <ScaleDenominator>30.33</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>18</ows:Identifier>
        <ScaleDenominator>15.16</ScaleDenominator>
        <TopLeftCorner>1251083.78 5190727.65</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
  </Contents>
  <ServiceMetadataURL xlink:href="http://SERVERNAME/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/WMTSCapabilities.xml" />
</Capabilities>

 

 

 

Thank you

Staff
Posts: 840
Registered: ‎10-18-2015

Re: GMSC 2015 I can create WMTS but don't see it.(error)

please check the identities used in GMSC app pools have the privileges to write on log folders. Have you published the cache of the WMTS? 

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Regular Contributor
Posts: 280
Registered: ‎10-12-2015

Re: GMSC 2015 I can create WMTS but don't see it.(error)

Some notes:

  • EPSG 2193 is defined as Northing Easting, GMSC defines WMTS using Easting Northing. So need to ensure consuming client is able to define the axis order.
  • Checked clients server and WMTS did not seem to be published. Published a smaller test WMTS and seemed to work.
  • Some sample URLs that resolved after publish:

http://servername/GMSC/Maps/Wmts/GMSCTest/0b5e77de-2e4e-4734-8f9e-1f62c278d661/ShaunTest/6/30/20
http://servername/GMSC/Maps/Wmts/GMSCTest/0b5e77de-2e4e-4734-8f9e-1f62c278d661/ShaunTest/4/7/5

and for a partially published WMTS:
http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/HarbourWMTS/3/4/4
http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/HarbourWMTS/5/16/16
http://servername/GMSC/Maps/Wmts/GMSCTest/fca6d561-15cf-404d-a079-4ba9cef73751/HarbourWMTS/6/50/37

 

All seemed to return tiles.

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.