Set new CRS to Hosted Feature layer while using clone_items()

04-29-2022 03:32 AM
New Contributor III


I have plently of hosted feature layers that I will need to clone.

The problem is that the service of the hosted feature layer does not contain a Spatial Reference, while the sublayer does



When I try to use the clone_items() command I get the following error : 



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.


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 ? 


0 Kudos
0 Replies