I've been looking into creating a tool using the ArcGIS API for Python. I am trying to use the Copy Raster function to extract by mask based off Esri Documentation. Does anybody know what exactly is supposed to be entered into the 'clip_setting' parameter? Documentation doesn't say much other than a string. I have a polygon boundary I wanted to use to clip.
Hey,
I came across the same functionality within the REST API and the documentation provides a more useful example. Hopefully this helps steer this in the right direction.
Many thanks,
David
Thank you!
Thanks for that link. I'm still getting tripped up on the formatting because the API requires a string, when the REST API requires a JSON. I've been troubleshooting this but am getting stumped.
clip_setting = "extent='-8013156.87983135 5096812.30094792 -8010362.15091558 5099064.80462686"
Any thoughts?