操作方法

操作方法:在 ArcGIS Server Administrator Directory 中启用地图服务重采样

Last Published: September 11, 2023

摘要

Certain areas of a map are unavailable when viewing tiles of a cached map service. At ArcGIS for Server 10.3 and later, a map service can return 'resampling:true|false', indicating whether users can resample tiles for areas where tiles are unavailable. This property is not enabled by default, however it can be added using the ArcGIS Server Administrator Directory. Instructions provided describe how to do this.

Resampling example.

Prerequisites

The following prerequisites are required to perform resampling:

  • A cached map service on ArcGIS for Server 10.3 or later. The following ArcGIS for Server document describes this in detail: Create a map cache.
  • Admin credentials with access to the ArcGIS Server Administrator Directory for the service.
  • The service must be cached and have available scale levels but lack tiles.

原因



 

过程

  1. Log in to the ArcGIS Server Administrator Directory as an administrator.
  2. Proceed to the URL for the service.
Note:
The following is an example for the URL to edit the cached map service:
http://<host>:<port>/<instance>/admin/services/<CachedMapService>/edit
  1. In the Edit MapServer page, under Service Properties, add the following line in the JSON dialog box:
"resampling": true
User-added image
Note:
To function properly, the resampling property must be added above the maxRecordCount property in the Service Properties.
  1. Set the MaxScale to the last level for which the map is to be resampled.
  2. Click Save Edits.

文章 ID:000014822

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

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