laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM000726
EingereichtJanuary 5, 2006
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.1
ProgrammspracheC#
Behoben in Version9.2
StatusFixed

Workaround

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

Schritte zur Reproduzierung

Bug-ID: NIM000726

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln