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.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM000726
SubmittedJanuary 5, 2006
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.1
Program languageC#
Version Fixed9.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());

Steps to Reproduce

Bug ID: NIM000726

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options