laptop and a wrench

Bug

An error is returned when running the ArcGIS API for Python arcgis.raster.analytics.Sample() method against ArcGIS Online in a notebook.

ArcGIS API for Python
Bug ID Number BUG-000165974
SubmittedMarch 15, 2024
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found2.2.0
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

This issue is caused by not setting the property cell size and/or output extent for the output dataset. The tool clearly states the issue: "Cause of failure: 'WorldElevation/Terrain'. The allowed maximum number of rows and columns is 5000 and 5000 respectively. Please adjust the output extent and/or cellsize to fit within the limits.", "params": {"cause": "'WorldElevation/Terrain'. The allowed maximum number of rows and columns is 5000 and 5000 respectively. Please adjust the output extent and/or cellsize to fit within the limits." This is a user error. Try the suggested changes provided by the tool's error message.

Steps to Reproduce

Bug ID: BUG-000165974

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options