laptop and a wrench

Erro

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

Última Publicação: August 25, 2014 ArcSDE/Enterprise Geodatabase
Número de ID do Erro NIM054296
EnviadoFebruary 18, 2010
Última ModificaçãoJune 5, 2024
Aplica-se àArcSDE/Enterprise Geodatabase
Versão encontrada10.0 Beta
Sistema OperacionalWindows OS
Versão do Sistema OperacionalXP
Versão FixaN/A
StatusFixed

Solução Provisória

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 );

Etapas para Reproduzir

ID do Erro: NIM054296

Software:

  • ArcSDE/Enterprise Geodatabase

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download