<?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: Open or add WMS using arcpy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1118049#M47966</link>
    <description>&lt;P&gt;Ok I came up with a hack solution, I opened one wms layer manually then created a layer file (.lyrx) for this. I then use this as a 'template', my python code replaces the image name text with the new image name, then I open that .lyrx file. Seems to work ok. It also requires the wms connection file (.wms) to be placed in the project folder, if the connection doesn't already exist for the project.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 06:50:46 GMT</pubDate>
    <dc:creator>ToyotaT18</dc:creator>
    <dc:date>2021-11-18T06:50:46Z</dc:date>
    <item>
      <title>Open or add WMS using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117628#M47919</link>
      <description>&lt;P&gt;I'm trying to work out how to open or add a wms layer to a map using arcpy.&lt;/P&gt;&lt;P&gt;I have the service url, the image name etc. I can open it manually, but I need to do this using arcpy. (Without saving a lyrx file etc)&lt;/P&gt;&lt;P&gt;Appreciate any assistance, thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 11:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117628#M47919</guid>
      <dc:creator>ToyotaT18</dc:creator>
      <dc:date>2021-11-17T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open or add WMS using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117873#M47949</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What do you need to do with the WMS layer after open it?&amp;nbsp; I possibly can help you download it to a location on your PC using arcpy.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 20:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117873#M47949</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-17T20:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Open or add WMS using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117896#M47951</link>
      <description>&lt;P&gt;Hi, I just want to add the image to the current map.&lt;/P&gt;&lt;P&gt;Same as if I opened it manually: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/services/add-wms-services.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/services/add-wms-services.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 20:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1117896#M47951</guid>
      <dc:creator>ToyotaT18</dc:creator>
      <dc:date>2021-11-17T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Open or add WMS using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1118049#M47966</link>
      <description>&lt;P&gt;Ok I came up with a hack solution, I opened one wms layer manually then created a layer file (.lyrx) for this. I then use this as a 'template', my python code replaces the image name text with the new image name, then I open that .lyrx file. Seems to work ok. It also requires the wms connection file (.wms) to be placed in the project folder, if the connection doesn't already exist for the project.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 06:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1118049#M47966</guid>
      <dc:creator>ToyotaT18</dc:creator>
      <dc:date>2021-11-18T06:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Open or add WMS using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1118118#M47975</link>
      <description>&lt;P&gt;I was going to suggest something similar.&amp;nbsp; Glad you got it worked out.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 12:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/open-or-add-wms-using-arcpy/m-p/1118118#M47975</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-18T12:59:09Z</dc:date>
    </item>
  </channel>
</rss>

