laptop and a wrench

漏洞

SeShape.changeCoordRef method gives 'java.lang.NullPointerException' when projecting shape from GCS_North_American_1983_CSRS to GCS_North_American_1983 and vise-versa.

上次发布: August 25, 2014 ArcSDE/Enterprise Geodatabase
漏洞 ID 编号 NIM054296
已提交February 18, 2010
上次修改时间June 5, 2024
适用范围ArcSDE/Enterprise Geodatabase
找到的版本10.0 Beta
操作系统Windows OS
操作系统版本XP
修正版本N/A
状态Fixed

解决办法

Projected the shape to WGS84 and then to NAD83. Following is the code snippet: pntShape = getShape(pointLyr,"1"); polyShape = getShape(PolyLyr,"1"); tempShape = getShape(tempLyr, "1"); PeGeogTransformations geogTran1 = null; geogTran1 = PeFactory.geogtran(PeGTDefs.PE_GT_NAD_1983_CSRS_TO_WGS_1984); SeShape tempshpPrj = pntShape.changeCoordRef(tempShape.getCoordRef(), geogTran1); geogTran1 = PeFactory.geogtran(PeGTDefs.PE_GT_NAD_1983_TO_WGS_1984_1); SeShape shpPointPrj = tempshpPrj.changeCoordRef(polyShape.getCoordRef(),geogTran1 );

重现步骤

漏洞 ID: NIM054296

软件:

  • ArcSDE/Enterprise Geodatabase

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项