laptop and a wrench

Bogue

Projecting a point using ‘WGS 1984 UPS North’ throws error, "Operation attempted on empty geometry", when a layer is present in the map.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM000726
EnvoiJanuary 5, 2006
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.1
Langue du programmeC#
Version de correction9.2
StatutFixed

Solution de contournement

Using the forward method on the IProjectedCoordinateSystem can be used to get the desired results.ISpatialReference pUPS = pSpRefFactory.CreateProjectedCoordinateSystem(32661); WKSPoint wksPnt = new WKSPoint();wksPnt.X = -132;wksPnt.Y = 90; Debug.WriteLine("Pre Conversion : " + wksPnt.X.ToString() + " , " + wksPnt.Y.ToString());((IProjectedCoordinateSystem)pUPS).Forward(1,ref wksPnt);Debug.WriteLine("Post Conversion : " + wksPnt.X.ToString() + " , " + wksPnt.Y.ToString());

Étapes pour reproduire

ID de bogue: NIM000726

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement