laptop and a wrench

漏洞

ArcGIS_SelectBufferTool does not work with the map services based on MSD map services.

上次发布: August 25, 2014 ArcGIS Server (.NET)
漏洞 ID 编号 NIM047085
已提交July 27, 2009
上次修改时间June 5, 2024
适用范围ArcGIS Server (.NET)
找到的版本9.3.1
编程语言C#
操作系统Windows OS
操作系统版本2003
修正版本N/A
状态Fixed

附加信息

optimized MapServer only supports esriSFSSolid style. Please use LineFillSymbol instead of esriSFSForwardDiagonal

解决办法

ESRI.ArcGIS.ADF.ArcGISServer.RecordSet rs = agsSoapMapServerProxy.QueryFeatureData(agsSoapMapDescription.Name, activeAgsSoapLayerDescription.LayerID, agsSoapSpatialFilter); esriSimpleFillStyle fillStyle = ESRI.ArcGIS.ADF.ArcGISServer.esriSimpleFillStyle.esriSFSSolid; ESRI.ArcGIS.ADF.ArcGISServer.GraphicElement[] GraphicElements = new ESRI.ArcGIS.ADF.ArcGISServer.GraphicElement[rs.Records.Length]; for (int j = 0; j < rs.Records.Length; j++) { // List record values Record record = rs.Records[j]; object[] os = record.Values; foreach (object o in os) { if (o.GetType().FullName == "ESRI.ArcGIS.ADF.ArcGISServer.PolygonN") { ESRI.ArcGIS.ADF.ArcGISServer.PolygonN adfPolygon = (ESRI.ArcGIS.ADF.ArcGISServer.PolygonN)o; ESRI.ArcGIS.ADF.ArcGISServer.PolygonElement mElement = getPolygonElement( getSimpleFillSymbol(getSimpleLineSymbol(getColor(255, 0, 0), 3, ESRI.ArcGIS.ADF.ArcGISServer.esriSimpleLineStyle.esriSLSSolid), getColor(0, 255, 0), fillStyle), adfPolygon); adfPolygon.Extent = ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Converter.FromAdfEnvelope(adfMap.Extent); adfPolygon.SpatialReference = agsSoapMapDescription.SpatialReference;// ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Converter.FromAdfSpatialReference(Map1.SpatialReference); GraphicElements[j] = mElement; break; } //System.Diagnostics.Debug.WriteLine(o.ToString()); } } agsSoapMapDescription.CustomGraphics = GraphicElements; } adfMap.Refresh(); adfMap.RefreshResource(mf.Resource.Name);

重现步骤

漏洞 ID: NIM047085

软件:

  • ArcGIS Server (.NET)

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项