漏洞 ID 编号 |
BUG-000148829 |
已提交 | April 27, 2022 |
上次修改时间 | December 10, 2024 |
适用范围 | ArcGIS Online |
找到的版本 | 10.1 |
操作系统 | Windows OS |
操作系统版本 | N/A |
状态 | In Review
该问题正在审查中。 审查过程可确保问题包含所有必要信息、易于理解、不与现有问题重复,且为关于漏洞或增强功能的有效请求。 在此阶段,可能会联系您进行说明或提供其他信息。
|
解决办法
Define the geometry manually using Update Layer Definition.
Step 1: Disable Optimization:
- Go to the Rest Endpoint of the Service as the data owner or an administrator of the organization.
- Follow the procedure of this article (https://support.esri.com/en-us/knowledge-base/how-to-access-the-rest-and-admin-endpoints-of-an-arcgis-000027990) to access the admin endpoint for the service.
- Click the sub-layer that's optimized.
- Click Update Definition at the bottom.
- Ensure the top of the page states 'Update Layer Definition', not 'Update Service Definition'. If it states Service, step 3 is likely missed.
- Remove everything from the Update Definition JSON box and only add the following JSON to disable Optimization:
- {"multiScaleGeometryInfo":null}.
- Be sure Async is set to True.
- Click Update Definition.
Step 2: Re-Enable Optimization with all levels:
- Go to the Rest Endpoint of the Service as the data owner or an administrator of the organization.
- Follow the procedure of this article (https://support.esri.com/en-us/knowledge-base/how-to-access-the-rest-and-admin-endpoints-of-an-arcgis-000027990) to access the admin endpoint for the service.
- Click the sub-layer that's optimized.
- Click Update Definition at the bottom.
- Ensure the top of the page states 'Update Layer Definition', not 'Update Service Definition'. If it states Service, step 3 is likely missed.
- Remove everything from the Update Definition JSON box and only add the following JSON to re-enable Optimization with your own defined layers:
- {"multiscaleGeometryInfo" :{"levels" : [1,3,5,7,9,11]}}.
- Be sure Async is set to True.
- Click Update Definition.
Note: This may take a while, but once it's done, the geometry can be drawn properly.
重现步骤