is there any example of how to list the fielddefs
Assuming you mean the FieldDef C++ object defined in the FGDBAPI include/Util.h, you would use the EnumRows::GetFields, Table::GetFields, or Row::GetFields request, and from there, iterate the array, accessing each FieldDef with it's getter methods:
fgdbError GetName(std::wstring& name) const; fgdbError GetAlias(std::wstring& alias) const; fgdbError GetType(FieldType& type) const; fgdbError GetLength(int& length) const; fgdbError GetIsNullable(bool& isNullable) const; fgdbError GetGeometryDef(GeometryDef& geometryDef) const;
- V
Not sure what your asking, but maybe this ArcGIS Help 10.1 will help.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.