<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can not add WMTS service with add_layer in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-not-add-wmts-service-with-add-layer/m-p/1405989#M9843</link>
    <description>&lt;P&gt;I am having the exact same problem. Did you ever find a solution to this?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2024 19:32:53 GMT</pubDate>
    <dc:creator>DroneConsult</dc:creator>
    <dc:date>2024-04-04T19:32:53Z</dc:date>
    <item>
      <title>Can not add WMTS service with add_layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-not-add-wmts-service-with-add-layer/m-p/1336906#M9133</link>
      <description>&lt;P&gt;I want to add a WMTS service to a WebMap. This is the code i use:&lt;/P&gt;&lt;P&gt;wmts_url = WMTSLAYER&lt;BR /&gt;m = gis.map()&lt;BR /&gt;wmts_lyr = WMTSLayer(url=wmts_url)&lt;BR /&gt;m.add_layer(wmts_lyr)&lt;/P&gt;&lt;P&gt;This works fine with &lt;A href="https://wayback.maptiles.arcgis.com/arcgis/rest/services/world_imagery/wmts" target="_blank" rel="noopener"&gt;https://wayback.maptiles.arcgis.com/arcgis/rest/services/world_imagery/wmts&lt;/A&gt;&amp;nbsp;as WMTSLAYER. But if i use&amp;nbsp;&lt;A href="https://sgx.geodatenzentrum.de/wmts_basemapde" target="_blank" rel="noopener"&gt;https://sgx.geodatenzentrum.de/wmts_basemapde&lt;/A&gt;&amp;nbsp;then i see the following error message "AttributeError: 'PropertyMap' instance has no attribute 'BoundingBox'" coming from add_layer&lt;/P&gt;&lt;P&gt;In&amp;nbsp;WMTSCapabilities.xml from the good WMTS i can find&amp;nbsp;&lt;SPAN&gt;BoundingBox&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;WGS84BoundingBox. In&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;WMTSCapabilities.xml from basemapde i can only find&amp;nbsp;WGS84BoundingBox. But this is correct because only&amp;nbsp;WGS84BoundingBox is needed from the specification.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;How can i do, to add the WMTS basemapde as a layer?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 13:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-not-add-wmts-service-with-add-layer/m-p/1336906#M9133</guid>
      <dc:creator>MichaelNüßlein</dc:creator>
      <dc:date>2023-10-11T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can not add WMTS service with add_layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-not-add-wmts-service-with-add-layer/m-p/1405989#M9843</link>
      <description>&lt;P&gt;I am having the exact same problem. Did you ever find a solution to this?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 19:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-not-add-wmts-service-with-add-layer/m-p/1405989#M9843</guid>
      <dc:creator>DroneConsult</dc:creator>
      <dc:date>2024-04-04T19:32:53Z</dc:date>
    </item>
  </channel>
</rss>

