问题

问题:在发布将影像服务 URL 作为输入的 web 工具时,地理处理服务无法获取影像服务 URL

Last Published: May 3, 2024

描述

When publishing a web tool from ArcGIS Pro, the geoprocessing service does not take an image service URL or any other input.

原因

This is due to the configuration in the Input parameter before publishing the service. By default, the Input Mode is a choice list, which only takes layers predefined before publishing the service.

解决方案或解决方法

The solution is to configure the content input parameter before publishing the web tool. This can be used for any geoprocessing tool that takes raster as an input.

For this example, we are using Slope.

  1. In ArcGIS Pro project, add a raster to the map and run the geoprocessing tool.
  2. Click Open History, and right-click Slope > Share As > Web Tool.
  1. In the Share As Web Tool pane, provide a name of the service and fill out all the information.
  2. Navigate to Content, and select Configure Tool Properties on the tool.
  1. Under the Slope Properties, change the Input Mode in Input raster parameter to User defined value.

The web tool is now ready to be published.

文章 ID: 000023158

获得人工智能支持

使用 Esri Support AI Chatbot 快速解决您的问题。

立即开始聊天

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

立即开始聊天

转至下载选项