laptop and a wrench

漏洞

The GP Intersect tools does not work when one input is a shape file and is being passed in using a value table in VB.Net. The same code is VBA works.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM002101
已提交April 13, 2006
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.1
编程语言VB.Net
修正版本9.2
状态Fixed

解决办法

Do not use value table instead use strings. i.e. instead of: Dim vt As Object vt = gp.CreateObject("ValueTable") vt.setrow(0, "D:\inc479405\LandUse_selection.lyr") vt.setrow(1, "D:\inc479405\Soilshp.shp") gp.Intersect_analysis(vt, out_polygons, "ALL", "", "INPUT") 'Does not workUSE: Dim inPath1 As String Dim inPath2 As String Dim inPaths As String Dim quotes As String Dim semicoln As String inPath1 = "D:\inc479405\LandUse_selection.lyr" inPath2 = "D:\inc479405\soilsshp.shp" quotes = " ''" semicoln = "; " inPaths = inPath1 + quotes + semicoln + inPath2 + quotes gp.Intersect_analysis(inPaths, out_polygons, "ALL", "", "INPUT")

重现步骤

漏洞 ID: NIM002101

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项