<?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 Set new CRS to Hosted Feature layer while using clone_items() in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/set-new-crs-to-hosted-feature-layer-while-using/m-p/1169218#M7347</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have plently of hosted feature layers that I will need to clone.&lt;/P&gt;&lt;P&gt;The problem is that the service of the hosted feature layer does not contain a Spatial Reference, while the sublayer does&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entegroIreland_0-1651227645626.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40180i297A17C0BD12FDF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="entegroIreland_0-1651227645626.png" alt="entegroIreland_0-1651227645626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use the clone_items() command I get the following error :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entegroIreland_1-1651228091679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40181iF83D04DAB69ECC2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="entegroIreland_1-1651228091679.png" alt="entegroIreland_1-1651228091679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sure that the problem here is the missing Spatial Reference of the hosted layer because if I try to clone another layer that has a defined Spatial Reference, everything goes as supposed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to update the service with the Spatial Reference or to choose the output CRS of the cloned layer so I bypass this error ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 22:38:47 GMT</pubDate>
    <dc:creator>entegroIreland</dc:creator>
    <dc:date>2022-04-29T22:38:47Z</dc:date>
    <item>
      <title>Set new CRS to Hosted Feature layer while using clone_items()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/set-new-crs-to-hosted-feature-layer-while-using/m-p/1169218#M7347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have plently of hosted feature layers that I will need to clone.&lt;/P&gt;&lt;P&gt;The problem is that the service of the hosted feature layer does not contain a Spatial Reference, while the sublayer does&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entegroIreland_0-1651227645626.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40180i297A17C0BD12FDF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="entegroIreland_0-1651227645626.png" alt="entegroIreland_0-1651227645626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use the clone_items() command I get the following error :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entegroIreland_1-1651228091679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40181iF83D04DAB69ECC2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="entegroIreland_1-1651228091679.png" alt="entegroIreland_1-1651228091679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sure that the problem here is the missing Spatial Reference of the hosted layer because if I try to clone another layer that has a defined Spatial Reference, everything goes as supposed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to update the service with the Spatial Reference or to choose the output CRS of the cloned layer so I bypass this error ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 22:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/set-new-crs-to-hosted-feature-layer-while-using/m-p/1169218#M7347</guid>
      <dc:creator>entegroIreland</dc:creator>
      <dc:date>2022-04-29T22:38:47Z</dc:date>
    </item>
  </channel>
</rss>

