AnsweredAssumed Answered

How to get the distance in a certain unit?

Question asked by huangs3 on Aug 17, 2012
Latest reply on Aug 20, 2012 by Hornbydd
Hi Everybody:

    I am writing ArcMap extension code in C# to work with a personal Geo-database. The feature classes in this GDB are all in a spatial reference that using geographic coordinate system WGS84 without any projected coordinate system. The MXD file my code working with is not expected to have any setup on the projected coordinate system.
    In the C# code when I use IProximityOperator.ReturnDistance method to find out distance between two feature in this GDB. The returned distance seems to be in the unit of degree (for Lat-Long). This result is not directly usable for me. How can I get the distance in the unit of meters?
    Thank you!

Outcomes