| 漏洞 ID 编号 |
BUG-000181599 |
| 已提交 | December 10, 2025 |
| 上次修改时间 | January 7, 2026 |
| 适用范围 | ArcGIS Online |
| 找到的版本 | October 2025 |
| 操作系统 | Windows Server |
| 操作系统版本 | 2022 |
| 状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
When a view layer is created, it captures certain properties from the source hosted feature layer at that point in time, including the spatial reference. If the source layer’s spatial reference is subsequently updated (by overwriting from ArcGIS Pro or other client methods), the update operation modifies only the source layer’s definition and does not automatically propagate to existing view layers.
However, individual layer endpoints within the view reflect the updated spatial reference (WGS 84 4326), while the map service root endpoint shows the original spatial reference (NAD 1983 US Feet 102630). This is because:
- The map service level spatial reference is set when the view is created and represents the coordinate system for the overall service.
- Individual layer definitions can reflect updates from the source layer for data queries and geometry operations.
解决办法
To ensure the view layer fully reflects the updated spatial reference, two options are available:
- Recreate the view layer: Delete the existing view and create a new view from the updated source layer. This ensures all properties, including the map service spatial reference, match the current source layer configuration.
- Update the existing view layer in ArcGIS Online: If the view layer must be preserved (to retain bookmarks, sharing settings, or other configurations), navigate to the view layer’s Settings page in ArcGIS Online and check for an option to update or refresh properties from the source layer. Alternatively, use the ArcGIS REST API to updateDefinition on the view layer individually.
重现步骤