dmh2000

Projection Engine pe_vert2_vert1 always returning 0?

Discussion created by dmh2000 on May 12, 2011
Latest reply on May 13, 2011 by MKennedy-esristaff
I'm currently in the process of using the Projection Engine to convert DTED height values from EGM96 geoid to WGS84 ellipsoid.  I'm having issues with the function pe_vert2_to_vert1() which always returns 0.

I've even used the sample code from the docs:
double pnt[2][2] = {{10,20},{10,30}};
double z[2] = {{200},{189}};
int out = pe_vert2_to_vert1(vert_transform,2,pnt,z);


I have also attempted to upgrade my version from 9.3.0 to 9.3.1.  I've installed the ArcSDE 9.3.1 Service Pack 1 and verified through PatchFinder931.exe:

-ArcGIS ArcSDE for Microsoft SQL Server 9.3
-ArcGIS ArcSDE C SDK 9.3.1
-ArcGIS ArcSDE C SDK 9.3.1 Service Pack 1

However, pe_version() still returns "Projection Engine Version 9.3.0 Build 508 (Apr 17 2008)".

Is this the problem?  Do I need 9.3.1 to use pe_vert2_to_vert1()?.  If so, how can I upgrade my Projection Engine to 9.3.1?

Outcomes