Hello all.
I am using the overlay_layers method to erase building footprints from a layer of ground conditions. I'd like to do this by calling the overlay_layers method on the grounds layer and passing in the buildings layer as the overlay feature, then setting the output_name equal to the grounds layer name so that the cliped grounds layer replaces the original grounds layer. See code below:
overlay_layers(grounds_layer, buildings_layer, overlay_type='Erase', output_name=f"{grounds_title}", context={"overwrite": True})Running hat code returns the error: {Exception}Job failed.
However, if I set the output_name to something like "{grounds_title}_clipped" the job runs successfully and a clipped version is added to my arcgis online content.
This leads me to believe it is not a problem with the name, or underlying data but is in fact an issue with the overwrite parameter.
Thank you for any help.
@DavidPike @KevinHibma @David_McRitchie