Feature selected from Editor task is misplaced when feature.store function is performed after selection.
上次发布: August 25, 2014ArcGIS Server (.NET)
漏洞 ID 编号
NIM053691
已提交
February 2, 2010
上次修改时间
April 22, 2025
适用范围
ArcGIS Server (.NET)
找到的版本
9.3.1
编程语言
C#
操作系统
Windows OS
操作系统版本
XP
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
The solution for the customer is to add a couple lines of code that explicitly sets the coordinate system of the new feature to be aware of the coordinate system of the map: { workspaceEdit.StartEditOperation(); ISpatialReference spRef = (ISpatialReference)mapControl.SpatialReference; feature.Shape.SpatialReference = spRef; feature.Store(); workspaceEdit.StopEditOperation(); }