laptop and a wrench

Error

Unable to retrieve the EPSG code for the SpatialReference from the WebContext using WebContext.getSpatialReferenceId() or WebContext.getSpatialReference().getId(). The methods always return -1.

Última publicación: August 25, 2014 ArcGIS Server (Java)
Número de ID del error NIM040065
EnviadoNovember 12, 2008
Última modificaciónJune 5, 2024
Relacionado conArcGIS Server (Java)
Versión encontrada9.2
Lenguaje del programaJava
Sistema operativoWindows OS
Versión de sistema operativo2003
EstadoWill Not Be Addressed

Información adicional

No Public Explanation

Solución alternativa

Using the Spatial Reference Definition String, the PeCoordinateSystem, and PeFactory the EPSG code can be obtained.Sample code:String defString = context.getSpatialReferenceDefinitionString();PeCoordinateSystem pecoordinatesystem = PeCoordinateSystem.fromString(defString);int EPSG = PeFactory.getCode(pecoordinatesystem);

Pasos para reproducir

ID del error: NIM040065

Software:

  • ArcGIS Server (Java)

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga