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

229
0
04-29-2022 03:32 AM
entegroIreland
New Contributor III

Hello,

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

entegroIreland_0-1651227645626.png

 

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

entegroIreland_1-1651228091679.png

 

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