I need C++ piece of code to get the Geometry type(for e.g. esriGeometryPoint) from the filed(for e.g. 'Shape' having 'esriFieldTypeGeometry' as type).
FieldInfo fInfo;
FieldType fType;
GeometryDef geomDef;
GeometryType geomType;
int fieldCount;
wstring fName;
tableNameOrg.GetFieldInformation(fInfo);
fInfo.GetFieldCount(fieldCount);
for(int i=0; i<fieldCount; i++)
{
fInfo.GetFieldName(i,fName);
fInfo.GetFieldType(i,fType);
}
I get 'Shape' field with type "FiledTypeGeometry", I want to know inner details of this "FieldTypeGeometry".
Can you please help.
Regards,
Santhosh